Skip to content

Commit e0c4000

Browse files
committed
Merge branch 'issue_9' (Issue #9)
2 parents 199b2c5 + 19baea4 commit e0c4000

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

hldr64/hldr64.asm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,13 @@ reloc_abs:
229229
inc edx
230230
inc edx
231231
cmp dword [rdi + IMAGE_BASE_RELOCATION.reSizeOfBlock], edx
232-
jne reloc_addr
232+
jg reloc_addr
233233
add ecx, edx
234234
add rdi, rdx
235235
cmp dword [rbp + IMAGE_DIRECTORY_ENTRY_RELOCS + 4], ecx
236-
jne reloc_block
236+
jg reloc_block
237237

238+
reloc_finished:
238239
;-----------------------------------------------------------------------------
239240
;call entrypoint
240241
;-----------------------------------------------------------------------------
@@ -259,5 +260,5 @@ hldr_exit:
259260
pop rdi
260261
pop rsi
261262
pop rbx
262-
ret 4
263-
hldr64_end:
263+
ret 8
264+

pe2shc/stub64.bin

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)