Open Bug 1520267 Opened 5 years ago Updated 2 years ago

TestDllInterceptorCrossProcess.exe fails on arm64 windows

Categories

(Core :: mozglue, enhancement, P5)

ARM64
Windows
enhancement

Tracking

()

People

(Reporter: away, Unassigned)

References

(Blocks 1 open bug)

Details

TestDllInterceptor.exe fails because we don't have a real interceptor (bug 1513293). Filing this separately in case we want to disable the test in the meantime.

Priority: -- → P5

To follow up, this seems to be working now on windows10-aarch64, with no intervention necessary from my end (to disable the test):

19:08:24     INFO -  TEST-START | TestDllInterceptor.exe
19:08:24     INFO -  PID 9200 |
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Hook added
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Hook called
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Hook works properly
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Hook was called after unregistration
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Original function worked properly
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook GetWindowInfo from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function GetWindowInfo from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook TrackPopupMenu from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function TrackPopupMenu from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook QueryDosDeviceW from kernelbase.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function QueryDosDeviceW from kernelbase.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could detour CreateWindowExW from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function CreateWindowExW from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook InSendMessageEx from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function InSendMessageEx from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook ImmGetCompositionStringW from imm32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function ImmGetCompositionStringW from imm32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook ImmSetCandidateWindow from imm32.dll
19:08:24     INFO -  TEST-SKIPPED | WindowsDllInterceptor | Will not attempt to execute patched ImmSetCandidateWindow.
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook ImmNotifyIME from imm32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function ImmNotifyIME from imm32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook GetKeyState from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function GetKeyState from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook LdrUnloadDll from ntdll.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function LdrUnloadDll from ntdll.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook LdrResolveDelayLoadedAPI from ntdll.dll
19:08:24     INFO -  TEST-SKIPPED | WindowsDllInterceptor | Will not attempt to execute patched LdrResolveDelayLoadedAPI.
19:08:24     INFO -  TEST-SKIPPED | WindowsDllInterceptor | Skipped hook test for RtlInstallFunctionTableCallback from kernel32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook ProcessCaretEvents from tiptsf.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function ProcessCaretEvents from tiptsf.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook SetCursorPos from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function SetCursorPos from user32.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook InternetOpenA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function InternetOpenA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook InternetCloseHandle from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function InternetCloseHandle from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook InternetConnectA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function InternetConnectA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook InternetQueryDataAvailable from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function InternetQueryDataAvailable from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook InternetReadFile from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function InternetReadFile from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook InternetWriteFile from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function InternetWriteFile from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook InternetSetOptionA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function InternetSetOptionA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook HttpAddRequestHeadersA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function HttpAddRequestHeadersA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook HttpOpenRequestA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function HttpOpenRequestA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook HttpQueryInfoA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function HttpQueryInfoA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook HttpSendRequestA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function HttpSendRequestA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook HttpSendRequestExA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function HttpSendRequestExA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook HttpEndRequestA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function HttpEndRequestA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook InternetQueryOptionA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function InternetQueryOptionA from wininet.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook AcquireCredentialsHandleA from sspicli.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function AcquireCredentialsHandleA from sspicli.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook QueryCredentialsAttributesA from sspicli.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function QueryCredentialsAttributesA from sspicli.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could detour BaseThreadInitThunk from kernel32.dll
19:08:24     INFO -  TEST-SKIPPED | WindowsDllInterceptor | Will not attempt to execute patched BaseThreadInitThunk.
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could detour LdrLoadDll from ntdll.dll
19:08:24     INFO -  TEST-SKIPPED | WindowsDllInterceptor | Will not attempt to execute patched LdrLoadDll.
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Could hook ApiSetQueryApiSetPresence from Api-ms-win-core-apiquery-l1-1-0.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | Executed hooked function ApiSetQueryApiSetPresence from Api-ms-win-core-apiquery-l1-1-0.dll
19:08:24     INFO -  TEST-PASS | WindowsDllInterceptor | all checks passed
19:08:24     INFO -  Elapsed time: 24994 microseconds
19:08:24     INFO -  TEST-PASS | TestDllInterceptor.exe | took 88ms
19:08:24     INFO -  TEST-START | TestEndian.exe

:dmajor - could you confirm if this bug is still necessary:

Flags: needinfo?(dmajor)

Aaron, do you want to repurpose this bug for TestDllInterceptorCrossProcess? Otherwise I guess we could just dupe this against bug 1526016.

Flags: needinfo?(dmajor) → needinfo?(aklotz)

sgtm.

Depends on: 1532470
No longer depends on: 1513293
Flags: needinfo?(aklotz)
OS: Unspecified → Windows
Hardware: Unspecified → ARM64
Summary: TestDllInterceptor.exe fails on arm64 windows → TestDllInterceptorCrossProcess.exe fails on arm64 windows
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.