Skip to content

Commit 888c1d6

Browse files
committed
[BUGFIX][hld32] Fixed processing import table
1 parent e0c4000 commit 888c1d6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hldr32/hldr32.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,12 @@ reloc_abs:
216216
inc edx
217217
inc edx
218218
cmp ecx, edx
219-
jne reloc_addr
219+
jg reloc_addr
220220
popad
221221
add ecx, dword [edi + IMAGE_BASE_RELOCATION.reSizeOfBlock]
222222
add edi, dword [edi + IMAGE_BASE_RELOCATION.reSizeOfBlock]
223223
cmp dword [edx + 4], ecx
224-
jne reloc_block
224+
jg reloc_block
225225

226226
;-----------------------------------------------------------------------------
227227
;call entrypoint

pe2shc/stub32.bin

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)