Skip to content

Commit

Permalink
fix code size to disam
Browse files Browse the repository at this point in the history
  • Loading branch information
raigorx committed Dec 15, 2022
1 parent 4b3c033 commit 48620a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ VOID *CreateBridge(ULONG_PTR Function, const UINT JumpSize)

res = distorm_decode(offset, // offset for buffer
(const BYTE *) Function, // buffer to disassemble
50, // function size (code size to disasm)
13, // function size (code size to disasm)
// 50 instr should be _quite_ enough
dt, // x86 or x64?
decodedInstructions, // decoded instr
Expand Down

0 comments on commit 48620a9

Please sign in to comment.