REDIVIVUS

Proposals / #1537

Mac IsDebuggerPresent: BOOL __cdecl (void) Win32 shim

checked · by KierTaylor · submitted 2026-11-08

This is the Mac Win32-shim IsDebuggerPresent. It reads no args: MOV EAX,1 / RET (it always reports a debugger). The caller SErrDisplayError 0x00010423 does TEST EAX,EAX / JZ right after, so the return is used. This matches Win32 BOOL IsDebuggerPresent(void).

Changes 1, applied together

  1. Set prototype mac 0x0002d16d

    signatureundefined IsDebuggerPresent(void)→BOOL IsDebuggerPresent(void)
    conventionunknown→__cdecl