mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 18:28:38 +00:00
- 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>