Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ __declspec(naked) void codecave() {

// Restore the registers and then recreate the original instructions that we overwrote
// After those, jump back to the instruction after the one we overwrote
_asm {
__asm {
popad
mov eax, dword ptr ds:[ecx]
lea esi,dword ptr ds:[esi]
lea esi, dword ptr ds:[esi]
jmp ret_address
}
}
Expand Down