mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
stub: minor cosmetic cleanups.
This commit is contained in:
parent
f70ef86dfa
commit
bf6ecaeeb9
|
@ -241,7 +241,7 @@ unfold:
|
||||||
*/
|
*/
|
||||||
.byte 0x68; .int JMPU // push $ JMPU (R_X86_64_32)
|
.byte 0x68; .int JMPU // push $ JMPU (R_X86_64_32)
|
||||||
push %rax // for unmap in fold
|
push %rax // for unmap in fold
|
||||||
.byte 0x68; .int LENU // push $ JMPU (R_X86_64_32)
|
.byte 0x68; .int LENU // push $ LENU (R_X86_64_32)
|
||||||
#else
|
#else
|
||||||
push $ JMPU // for unmap in fold
|
push $ JMPU // for unmap in fold
|
||||||
push %rax // for unmap in fold
|
push %rax // for unmap in fold
|
||||||
|
|
|
@ -265,7 +265,7 @@ section PEK32ORD
|
||||||
jmp SHORT(next_imp)
|
jmp SHORT(next_imp)
|
||||||
not_kernel32:
|
not_kernel32:
|
||||||
section PEIMORD1
|
section PEIMORD1
|
||||||
movzxw rdx, word ptr [rdi]
|
movzx rdx, word ptr [rdi]
|
||||||
add rdi, 2
|
add rdi, 2
|
||||||
jmp SHORT(first_imp)
|
jmp SHORT(first_imp)
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ section PEK32ORD
|
||||||
jmps next_imp
|
jmps next_imp
|
||||||
not_kernel32:
|
not_kernel32:
|
||||||
section PEIMORD1
|
section PEIMORD1
|
||||||
movzxw eax, word ptr [edi]
|
movzx eax, word ptr [edi]
|
||||||
inc edi
|
inc edi
|
||||||
push eax
|
push eax
|
||||||
inc edi
|
inc edi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user