diff options
| author | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 01:58:29 +0100 |
|---|---|---|
| committer | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 01:58:29 +0100 |
| commit | 7cfa4354fe8dc505afa95c575eb9224c37c90978 (patch) | |
| tree | 81eb4d4528cc5d32f6c709c04beb81e962c47f02 /runtime/src/pe_loader.cpp | |
| parent | bcb9f6d5f24363a2ea9fc1e18c7538d39ea4d622 (diff) | |
runtime: unimplemented-import stub review fixes and ABI tests
- make_common_stub checks RtlAddFunctionTable and reports a failure once;
the stub keeps working, only stack walks through it stop.
- rt_unimplemented keys per-import state by the thunk's `what` pointer, so a
repeat call does one map lookup and builds no strings.
- A test hook (set_unimplemented_test_hook) lets unimplemented_policy_test
check, from inside the call, that rsp is aligned and that
RtlLookupFunctionEntry/RtlVirtualUnwind walk through rt_unimplemented and
the stub back to the caller.
- abi_probe.asm (MASM) calls a thunk with rbx/rbp/rdi/rsi/r12-r15 and
xmm6-xmm15 set to patterns and compares them afterwards, with a control
callee that clobbers rbx and xmm6.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions