Skip to content

Commit

Permalink
Merge branch 'issue_9' (Issue #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Apr 17, 2020
2 parents 199b2c5 + 19baea4 commit e0c4000
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions hldr64/hldr64.asm
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,13 @@ reloc_abs:
inc edx
inc edx
cmp dword [rdi + IMAGE_BASE_RELOCATION.reSizeOfBlock], edx
jne reloc_addr
jg reloc_addr
add ecx, edx
add rdi, rdx
cmp dword [rbp + IMAGE_DIRECTORY_ENTRY_RELOCS + 4], ecx
jne reloc_block
jg reloc_block

reloc_finished:
;-----------------------------------------------------------------------------
;call entrypoint
;-----------------------------------------------------------------------------
Expand All @@ -259,5 +260,5 @@ hldr_exit:
pop rdi
pop rsi
pop rbx
ret 4
hldr64_end:
ret 8

Binary file modified pe2shc/stub64.bin
Binary file not shown.

0 comments on commit e0c4000

Please sign in to comment.