MahdiSafsafi/DDetours

GetJmpType

SuvAlexander opened this issue · 0 comments

Please test on Win32:
GetJmpType($7466B350, $FFE49D6A, $FFE49D38)

See attach
GetJmpTypeDebug

Is "OffsetSize=8" correct for x86?

FYI:

  1. Bug result is AV on WinServer2012r2 on line
    @gWaitMessage := InterceptCreate(user32, 'WaitMessage', @My_WaitMessage);
  2. Project compiled with {$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE} option.
  3. My fix: "Offset := Src - Dst;"