ELF2: fix lzma on amd64-linux.elf-*
New -DWINDOWS_BACK so that amd64-win64.pe.h does not change.
This hides a real bug (unchecked), but would change anti-virus status.
modified: src/stub/src/amd64-expand.S
modified: src/stub/src/amd64-linux.elf-entry.S
modified: src/stub/src/amd64-linux.elf-fold.S
modified: src/stub/src/arch/amd64/lzma_d.S
modified: src/stub/Makefile
modified: misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
plus generated *.h, *.map, *.dump
This commit is contained in:
+1
-1
@@ -506,7 +506,7 @@ amd64-win64.pe.h : tc_list = amd64-win64.pe default
|
||||
amd64-win64.pe.h : tc_bfdname = elf64-x86-64
|
||||
amd64-win64.pe.h : tc_objdump_disasm_options = -M intel-mnemonic
|
||||
|
||||
tc.amd64-win64.pe.gcc = amd64-linux-gcc-4.1.1 -m64 -nostdinc -MMD -MT $@
|
||||
tc.amd64-win64.pe.gcc = amd64-linux-gcc-4.1.1 -m64 -nostdinc -DWINDOWS_BACK=1 -MMD -MT $@
|
||||
tc.amd64-win64.pe.gcc += -fno-exceptions -fno-asynchronous-unwind-tables
|
||||
tc.amd64-win64.pe.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes -Wwrite-strings -Werror
|
||||
tc.amd64-win64.pe.objdump = multiarch-objdump-2.23.90
|
||||
|
||||
Generated
+509
-499
File diff suppressed because it is too large
Load Diff
Generated
+519
-510
File diff suppressed because it is too large
Load Diff
Generated
+3
-3
@@ -33,8 +33,8 @@
|
||||
/* clang-format off */
|
||||
|
||||
#define STUB_AMD64_LINUX_ELF_ENTRY_SIZE 1101
|
||||
#define STUB_AMD64_LINUX_ELF_ENTRY_ADLER32 0x64b93a03
|
||||
#define STUB_AMD64_LINUX_ELF_ENTRY_CRC32 0x33613c50
|
||||
#define STUB_AMD64_LINUX_ELF_ENTRY_ADLER32 0x6aa33a05
|
||||
#define STUB_AMD64_LINUX_ELF_ENTRY_CRC32 0x424cb481
|
||||
|
||||
unsigned char stub_amd64_linux_elf_entry[1101] = {
|
||||
/* 0x0000 */ 127, 69, 76, 70, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
@@ -58,7 +58,7 @@ unsigned char stub_amd64_linux_elf_entry[1101] = {
|
||||
/* 0x0120 */ 141, 52, 47,243,164, 94,235,180, 93, 89, 72, 57,206,116, 1,244,
|
||||
/* 0x0130 */ 72,139, 69, 48, 72,137, 4, 36, 72,139, 85, 32, 84, 94, 76,137,
|
||||
/* 0x0140 */ 231,106, 1, 88,232, 60, 0, 0, 0, 85, 92, 69, 41,201, 77,137,
|
||||
/* 0x0150 */ 224,106, 1, 65, 90, 82, 94,106, 5, 90, 41,255,106, 9, 88,232,
|
||||
/* 0x0150 */ 224,106, 1, 65, 90, 82, 94,106, 7, 90, 41,255,106, 9, 88,232,
|
||||
/* 0x0160 */ 33, 0, 0, 0, 80, 72,137, 69, 24, 65, 80, 95,106, 3, 88, 15,
|
||||
/* 0x0170 */ 5, 88, 72,131,192, 8,255,224, 72,139, 7, 72,131,199, 8, 72,
|
||||
/* 0x0180 */ 133,192,117,244,195, 80, 15, 5, 89, 72, 61, 0,240,255,255,114,
|
||||
|
||||
Generated
+966
-950
File diff suppressed because it is too large
Load Diff
Generated
+957
-941
File diff suppressed because it is too large
Load Diff
Generated
+514
-504
File diff suppressed because it is too large
Load Diff
@@ -81,9 +81,12 @@ f_expand: .globl f_expand // start of code for actual de-compressor
|
||||
push %rbp; mov %rsp,%rbp; push %rbx // MATCH_50 C saved registers
|
||||
|
||||
// Calling sequence registers
|
||||
#define fx_src %rdi
|
||||
#define fx_src %rdi /* includes b_info for .b_method, .b_ftid, .b_cto8 */
|
||||
#define fx_dst %rsi
|
||||
#define fx_dstlen %rdx
|
||||
#define meth %r8d
|
||||
#define methb %r8b
|
||||
|
||||
|
||||
sz_unc= 0
|
||||
sz_cpr= 4
|
||||
@@ -119,7 +122,6 @@ unfilter:
|
||||
#define len %ecx /* XXX: 2GB */
|
||||
#define lenq %rcx
|
||||
#define bits %ebx
|
||||
#define methb %dl /* input only */
|
||||
#define src %rsi
|
||||
#define dst %rdi
|
||||
#define displ %ebp
|
||||
@@ -127,7 +129,7 @@ unfilter:
|
||||
|
||||
decompress: // (fx_src= &b_info, fx_dst= dst, fx_dstlen= &dstlen)
|
||||
push fx_dstlen // MATCH_51
|
||||
movzbl b_method(fx_src),%edx // methb; for choosing decompression method
|
||||
movzbl b_method(fx_src),meth // daisy chain by decompression method
|
||||
push fx_src; push fx_dst
|
||||
pop dst; pop src
|
||||
mov sz_cpr(src),%eax; add $sz_binfo,src // done with b_info; ready for movsb, lodsb
|
||||
@@ -137,7 +139,7 @@ decompress: // (fx_src= &b_info, fx_dst= dst, fx_dstlen= &dstlen)
|
||||
xor bits,bits // empty; force refill
|
||||
xor len,len // create loop invariant
|
||||
orq $(~0),dispq // -1: initial displacement
|
||||
jmp setup
|
||||
jmp go_meth
|
||||
|
||||
refill:
|
||||
movl (%rsi),bits; sub $-4,%rsi // next 32 bits; set Carry
|
||||
@@ -164,7 +166,7 @@ copy1:
|
||||
copy0:
|
||||
rep; ret
|
||||
|
||||
setup:
|
||||
go_meth:
|
||||
cld
|
||||
|
||||
#define M_NRV2B_LE32 2
|
||||
@@ -173,6 +175,8 @@ setup:
|
||||
#define M_CL1B_LE32 11
|
||||
#define M_LZMA 14
|
||||
|
||||
// Daisy chain of decoding methods that were used
|
||||
|
||||
section NRV2E
|
||||
#include "arch/amd64/nrv2e_d.S"
|
||||
|
||||
@@ -189,13 +193,22 @@ setup:
|
||||
#undef displ
|
||||
#undef dispq
|
||||
|
||||
section LZMA_ELF00 // prefix for parameter juggling
|
||||
push dst; push src // MATCH_60
|
||||
#define arg2d esi
|
||||
mov sz_cpr - sz_binfo(src),%arg2d
|
||||
#undef src
|
||||
#undef dst
|
||||
#undef methb
|
||||
mov fx_dstlen,%arg4
|
||||
pop %arg1; pop %arg3 // MATCH_60
|
||||
|
||||
/* lzma has its own 'section's */
|
||||
#include "arch/amd64/lzma_d.S"
|
||||
|
||||
// Fall through: daisy chain had no matching method
|
||||
mov meth,%ecx // b_method as __NR__
|
||||
or $~0,%eax // "errno"
|
||||
int3; hlt // no method
|
||||
|
||||
section EXP_TAIL
|
||||
eof:
|
||||
pop %rax // MATCH_53 dst_orig
|
||||
|
||||
@@ -246,7 +246,7 @@ eof_n2b:
|
||||
mov %r12,%arg5 // mfd
|
||||
push $MAP_SHARED; pop %sys4
|
||||
push %arg3; pop %arg2 // LENU
|
||||
push $PROT_READ|PROT_EXEC; pop %arg3 // FIXME: add PROT_WRITE for DEBUG only
|
||||
push $PROT_WRITE|PROT_READ|PROT_EXEC; pop %arg3 // FIXME: add PROT_WRITE for DEBUG only
|
||||
subl %edi,%edi // (%arg1)dst = 0; // kernel chooses addr
|
||||
push $__NR_mmap; pop %rax; call sys_check
|
||||
push %rax // MATCH_12
|
||||
|
||||
@@ -133,7 +133,6 @@ env_pse:
|
||||
mov %r15,%rcx
|
||||
sub %rsp,%rcx # byte count
|
||||
|
||||
mov %rdi,%r14 # end of new auxv
|
||||
sub $NBPW,%rdi # &last qword of new auxv
|
||||
lea -NBPW(%r15),%rsi # &last qword of old auxv
|
||||
|
||||
@@ -142,12 +141,13 @@ env_pse:
|
||||
xor %esi,%eax
|
||||
and $NBPW,%eax
|
||||
sub %rax,%rdi
|
||||
mov %rdi,%r14 # &last qword of new auxv
|
||||
|
||||
shr $3,%rcx; rep movsq
|
||||
lea NBPW(%rdi),%rsp
|
||||
cld
|
||||
|
||||
lea (%r14,%r12),%arg4 # &new Elf64_auxv %r12 dead
|
||||
lea NBPW(%r14,%r12),%arg4 # &new Elf64_auxv %r12 dead
|
||||
no_env_pse:
|
||||
pop %arg1 # ADRX with lo bits
|
||||
pop %arg2 # LENX
|
||||
@@ -202,7 +202,7 @@ no_pse_map:
|
||||
pop %arg1 # ADRU: unfolded upx_main etc.
|
||||
pop %arg2 # LENU
|
||||
push $__NR_munmap; pop %rax
|
||||
jmp *-NBPW(%r14) # goto: syscall; pop %rdx; ret
|
||||
jmp *(%r14) # goto: syscall; pop %rdx; ret
|
||||
|
||||
get_page_mask: .globl get_page_mask
|
||||
mov PAGE_MASK(%rip),%rax
|
||||
|
||||
@@ -36,14 +36,16 @@ section LZMA_ELF00
|
||||
#define lsrc %arg2 /* %rsi */
|
||||
#define dst %arg3 /* %rdx */
|
||||
#define ldst %arg4 /* %rcx */ /* Out: actually a reference: &len_dst */
|
||||
#ifndef meth //{
|
||||
#define meth %arg5l /* %r8 */
|
||||
#define methb %arg5b
|
||||
#endif //}
|
||||
|
||||
// ELFMAINX has already done this for us:
|
||||
// ELFMAINX (or amd64-expand.S/decompress:) has already done this for us:
|
||||
// pushq %rbp; push %rbx // C callable
|
||||
// pushq ldst
|
||||
// pushq dst
|
||||
// addq src,lsrc; push lsrc // &input_eof
|
||||
// pushq ldst // MATCH_51
|
||||
// addq src,lsrc; push lsrc // MATCH_52 &input_eof
|
||||
// pushq dst // MATCH_53
|
||||
// subq src,lsrc //restore the value of lsrc
|
||||
|
||||
#define M_LZMA 14
|
||||
@@ -60,7 +62,7 @@ section LZMA_ELF00
|
||||
movl (ldst),%arg6l // &outSize XXX: 4GB
|
||||
movq dst,%arg5 // outp
|
||||
movq lsrc,%arg3 // inSize
|
||||
leaq 2(src),%arg2; pushq %arg2 // in; save @-8(%rbp) for size calc at eof
|
||||
leaq 2(src),%arg2; pushq %arg2 // MATCH_70 in; save @-8(%rbp) for size calc at eof
|
||||
|
||||
movb (src),%al; decl %arg3l // first byte, replaces LzmaDecodeProperties()
|
||||
movb %al,%cl // cl= ((lit_context_bits + lit_pos_bits)<<3) | pos_bits
|
||||
@@ -91,7 +93,11 @@ section LZMA_ELF00
|
||||
andb $0xf,%al; movb %al, (%arg1) // store lit_context_bits
|
||||
leaq -szSizeT(%arg1),%arg4 // &inSizeProcessed
|
||||
|
||||
pushq %rax // return address slot (dummy CALL)
|
||||
#ifdef WINDOWS_BACK
|
||||
push %rax // return address slot (dummy CALL) [value ignored]
|
||||
#else
|
||||
push $0x5A // return address slot (dummy CALL) [value easy to debug]
|
||||
#endif // WINDOWS_BACK
|
||||
|
||||
#ifndef NO_RED_ZONE
|
||||
|
||||
@@ -109,18 +115,27 @@ section LZMA_DEC20
|
||||
#endif
|
||||
|
||||
section LZMA_DEC30
|
||||
movq -1*8(%rbp),%rsi // src [after header]
|
||||
movq 2*8(%rbp),%rdi // dst
|
||||
movq -1*8(%rbp),%rsi // MATCH_70 src [after header]
|
||||
#ifdef WINDOWS_BACK
|
||||
movq 2*8(%rbp),%rdi // dst (actually an un-checked bug)
|
||||
#else
|
||||
movq 1*8(%rbp),%rdi // dst
|
||||
#endif
|
||||
movl szSizeT(%rbx),%ecx; addq %rcx,%rsi // inSizeProcessed
|
||||
movl (%rbx),%edx; addq %rdx,%rdi // outSizeProcessed
|
||||
leave // movl %ebp,%rsp; popq %rbp
|
||||
#ifndef NO_METHOD_CHECK
|
||||
#ifdef WINDOWS_BACK
|
||||
jmp eof_lzma
|
||||
#else
|
||||
jmp eof
|
||||
#endif // WINDOWS_BACK
|
||||
|
||||
not_lzma:
|
||||
push %rdi; pop %rsi # src = arg1
|
||||
# fall into 'eof'
|
||||
# fall into next daisy-chain method
|
||||
eof_lzma:
|
||||
#endif
|
||||
#endif // NO_METHOD_CHECK
|
||||
|
||||
// vi:ts=8:et
|
||||
|
||||
|
||||
+12
-8
@@ -7,13 +7,13 @@ Idx Name Size VMA LMA File off Algn
|
||||
2 NRV2E 0ba 0 0 0c6 2**0 CONTENTS
|
||||
3 NRV2D 0a1 0 0 0180 2**0 CONTENTS
|
||||
4 NRV2B 093 0 0 0221 2**0 CONTENTS
|
||||
5 LZMA_ELF00 064 0 0 02b4 2**0 CONTENTS
|
||||
6 LZMA_DEC10 09f7 0 0 0318 2**0 CONTENTS
|
||||
7 LZMA_DEC20 09f7 0 0 0d0f 2**0 CONTENTS
|
||||
8 LZMA_DEC30 018 0 0 01706 2**0 CONTENTS
|
||||
9 NRV_TAIL 0 0 0 0171e 2**0 CONTENTS
|
||||
10 MACHMAINY 011 0 0 0171e 2**0 CONTENTS
|
||||
11 MACHMAINZ 0148 0 0 0172f 2**0 CONTENTS
|
||||
5 LZMA_ELF00 065 0 0 02b4 2**0 CONTENTS
|
||||
6 LZMA_DEC10 09f7 0 0 0319 2**0 CONTENTS
|
||||
7 LZMA_DEC20 09f7 0 0 0d10 2**0 CONTENTS
|
||||
8 LZMA_DEC30 01b 0 0 01707 2**0 CONTENTS
|
||||
9 NRV_TAIL 0 0 0 01722 2**0 CONTENTS
|
||||
10 MACHMAINY 011 0 0 01722 2**0 CONTENTS
|
||||
11 MACHMAINZ 0148 0 0 01733 2**0 CONTENTS
|
||||
SYMBOL TABLE:
|
||||
0000000000000000 l d NRV_HEAD 0 NRV_HEAD
|
||||
0000000000000000 l d LZMA_DEC30 0 LZMA_DEC30
|
||||
@@ -51,7 +51,11 @@ OFFSET TYPE VALUE
|
||||
|
||||
RELOCATION RECORDS FOR [LZMA_ELF00]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000006 R_X86_64_PC32 LZMA_DEC30+0x0000000000000012
|
||||
0000000000000006 R_X86_64_PC32 LZMA_DEC30+0x0000000000000015
|
||||
|
||||
RELOCATION RECORDS FOR [LZMA_DEC30]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000015 R_X86_64_PC32 MACHMAINY+0xfffffffffffffffc
|
||||
|
||||
RELOCATION RECORDS FOR [MACHMAINZ]:
|
||||
OFFSET TYPE VALUE
|
||||
|
||||
+12
-8
@@ -9,13 +9,13 @@ Idx Name Size VMA LMA File off Algn
|
||||
4 NRV2E 0ba 0 0 0103 2**0 CONTENTS
|
||||
5 NRV2D 0a1 0 0 01bd 2**0 CONTENTS
|
||||
6 NRV2B 093 0 0 025e 2**0 CONTENTS
|
||||
7 LZMA_ELF00 064 0 0 02f1 2**0 CONTENTS
|
||||
8 LZMA_DEC10 09f7 0 0 0355 2**0 CONTENTS
|
||||
9 LZMA_DEC20 09f7 0 0 0d4c 2**0 CONTENTS
|
||||
10 LZMA_DEC30 018 0 0 01743 2**0 CONTENTS
|
||||
11 NRV_TAIL 0 0 0 0175b 2**0 CONTENTS
|
||||
12 MACHMAINY 011 0 0 0175b 2**0 CONTENTS
|
||||
13 MACHMAINZ 0135 0 0 0176c 2**0 CONTENTS
|
||||
7 LZMA_ELF00 065 0 0 02f1 2**0 CONTENTS
|
||||
8 LZMA_DEC10 09f7 0 0 0356 2**0 CONTENTS
|
||||
9 LZMA_DEC20 09f7 0 0 0d4d 2**0 CONTENTS
|
||||
10 LZMA_DEC30 01b 0 0 01744 2**0 CONTENTS
|
||||
11 NRV_TAIL 0 0 0 0175f 2**0 CONTENTS
|
||||
12 MACHMAINY 011 0 0 0175f 2**0 CONTENTS
|
||||
13 MACHMAINZ 0135 0 0 01770 2**0 CONTENTS
|
||||
SYMBOL TABLE:
|
||||
0000000000000000 l d NRV_HEAD 0 NRV_HEAD
|
||||
0000000000000000 l d LZMA_DEC30 0 LZMA_DEC30
|
||||
@@ -55,7 +55,11 @@ OFFSET TYPE VALUE
|
||||
|
||||
RELOCATION RECORDS FOR [LZMA_ELF00]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000006 R_X86_64_PC32 LZMA_DEC30+0x0000000000000012
|
||||
0000000000000006 R_X86_64_PC32 LZMA_DEC30+0x0000000000000015
|
||||
|
||||
RELOCATION RECORDS FOR [LZMA_DEC30]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000015 R_X86_64_PC32 MACHMAINY+0xfffffffffffffffc
|
||||
|
||||
RELOCATION RECORDS FOR [MACHMAINZ]:
|
||||
OFFSET TYPE VALUE
|
||||
|
||||
+13
-13
@@ -16,18 +16,21 @@ Linker script and memory map
|
||||
0x00000000000002b5 underlay
|
||||
0x00000000000007d4 upx_main
|
||||
|
||||
EXP_HEAD 0x0000000000000000 0xe0
|
||||
EXP_HEAD 0x0000000000000000 0xe0 tmp/amd64-expand.o
|
||||
EXP_HEAD 0x0000000000000000 0xe1
|
||||
EXP_HEAD 0x0000000000000000 0xe1 tmp/amd64-expand.o
|
||||
0x0000000000000000 f_expand
|
||||
|
||||
NRV2E 0x0000000000000000 0xe5
|
||||
NRV2E 0x0000000000000000 0xe5 tmp/amd64-expand.o
|
||||
NRV2E 0x0000000000000000 0xe6
|
||||
NRV2E 0x0000000000000000 0xe6 tmp/amd64-expand.o
|
||||
|
||||
NRV2D 0x0000000000000000 0xd7
|
||||
NRV2D 0x0000000000000000 0xd7 tmp/amd64-expand.o
|
||||
NRV2D 0x0000000000000000 0xd8
|
||||
NRV2D 0x0000000000000000 0xd8 tmp/amd64-expand.o
|
||||
|
||||
NRV2B 0x0000000000000000 0xc1
|
||||
NRV2B 0x0000000000000000 0xc1 tmp/amd64-expand.o
|
||||
NRV2B 0x0000000000000000 0xc2
|
||||
NRV2B 0x0000000000000000 0xc2 tmp/amd64-expand.o
|
||||
|
||||
LZMA_ELF00 0x0000000000000000 0x6f
|
||||
LZMA_ELF00 0x0000000000000000 0x6f tmp/amd64-expand.o
|
||||
|
||||
.data 0x0000000000000000 0x0
|
||||
.data 0x0000000000000000 0x0 tmp/amd64-linux.elf-fold.o
|
||||
@@ -62,17 +65,14 @@ SYSCALLS 0x0000000000000000 0x8e
|
||||
0x0000000000000082 mprotect
|
||||
0x0000000000000076 close
|
||||
|
||||
LZMA_ELF00 0x0000000000000000 0x64
|
||||
LZMA_ELF00 0x0000000000000000 0x64 tmp/amd64-expand.o
|
||||
|
||||
LZMA_DEC10 0x0000000000000000 0x9f7
|
||||
LZMA_DEC10 0x0000000000000000 0x9f7 tmp/amd64-expand.o
|
||||
|
||||
LZMA_DEC20 0x0000000000000000 0x9f7
|
||||
LZMA_DEC20 0x0000000000000000 0x9f7 tmp/amd64-expand.o
|
||||
|
||||
LZMA_DEC30 0x0000000000000000 0x18
|
||||
LZMA_DEC30 0x0000000000000000 0x18 tmp/amd64-expand.o
|
||||
LZMA_DEC30 0x0000000000000000 0x23
|
||||
LZMA_DEC30 0x0000000000000000 0x23 tmp/amd64-expand.o
|
||||
|
||||
EXP_TAIL 0x0000000000000000 0xc
|
||||
EXP_TAIL 0x0000000000000000 0xc tmp/amd64-expand.o
|
||||
|
||||
+25
-21
@@ -3,18 +3,18 @@ file format elf64-x86-64
|
||||
Sections:
|
||||
Idx Name Size VMA LMA File off Algn Flags
|
||||
0 SO_MAIN 0787 0 0 040 2**4 CONTENTS
|
||||
1 EXP_HEAD 0e0 0 0 07c7 2**0 CONTENTS
|
||||
2 NRV2E 0e5 0 0 08a7 2**0 CONTENTS
|
||||
3 NRV2D 0d7 0 0 098c 2**0 CONTENTS
|
||||
4 NRV2B 0c1 0 0 0a63 2**0 CONTENTS
|
||||
5 SO_HEAD 02c 0 0 0b24 2**0 CONTENTS
|
||||
6 ptr_NEXT 0 0 0 0b50 2**0 CONTENTS
|
||||
7 SO_TAIL 098 0 0 0b50 2**0 CONTENTS
|
||||
8 LZMA_ELF00 064 0 0 0be8 2**0 CONTENTS
|
||||
9 LZMA_DEC10 09f7 0 0 0c4c 2**0 CONTENTS
|
||||
10 LZMA_DEC20 09f7 0 0 01643 2**0 CONTENTS
|
||||
11 LZMA_DEC30 018 0 0 0203a 2**0 CONTENTS
|
||||
12 EXP_TAIL 0c 0 0 02052 2**0 CONTENTS
|
||||
1 EXP_HEAD 0e1 0 0 07c7 2**0 CONTENTS
|
||||
2 NRV2E 0e6 0 0 08a8 2**0 CONTENTS
|
||||
3 NRV2D 0d8 0 0 098e 2**0 CONTENTS
|
||||
4 NRV2B 0c2 0 0 0a66 2**0 CONTENTS
|
||||
5 LZMA_ELF00 06f 0 0 0b28 2**0 CONTENTS
|
||||
6 SO_HEAD 02c 0 0 0b97 2**0 CONTENTS
|
||||
7 ptr_NEXT 0 0 0 0bc3 2**0 CONTENTS
|
||||
8 SO_TAIL 098 0 0 0bc3 2**0 CONTENTS
|
||||
9 LZMA_DEC10 09f7 0 0 0c5b 2**0 CONTENTS
|
||||
10 LZMA_DEC20 09f7 0 0 01652 2**0 CONTENTS
|
||||
11 LZMA_DEC30 023 0 0 02049 2**0 CONTENTS
|
||||
12 EXP_TAIL 0c 0 0 0206c 2**0 CONTENTS
|
||||
SYMBOL TABLE:
|
||||
0000000000000000 l d EXP_HEAD 0 EXP_HEAD
|
||||
0000000000000000 l d LZMA_DEC30 0 LZMA_DEC30
|
||||
@@ -23,10 +23,10 @@ SYMBOL TABLE:
|
||||
0000000000000000 l d NRV2E 0 NRV2E
|
||||
0000000000000000 l d NRV2D 0 NRV2D
|
||||
0000000000000000 l d NRV2B 0 NRV2B
|
||||
0000000000000000 l d LZMA_ELF00 0 LZMA_ELF00
|
||||
0000000000000000 l d SO_HEAD 0 SO_HEAD
|
||||
0000000000000000 l d ptr_NEXT 0 ptr_NEXT
|
||||
0000000000000000 l d SO_TAIL 0 SO_TAIL
|
||||
0000000000000000 l d LZMA_ELF00 0 LZMA_ELF00
|
||||
0000000000000000 l d LZMA_DEC10 0 LZMA_DEC10
|
||||
0000000000000000 l d LZMA_DEC20 0 LZMA_DEC20
|
||||
0000000000000031 g SO_TAIL 0 Pmap
|
||||
@@ -92,23 +92,27 @@ OFFSET TYPE VALUE
|
||||
|
||||
RELOCATION RECORDS FOR [NRV2E]:
|
||||
OFFSET TYPE VALUE
|
||||
00000000000000da R_X86_64_PC32 EXP_HEAD+0x000000000000009f
|
||||
0000000000000071 R_X86_64_PC32 EXP_TAIL+0xfffffffffffffffc
|
||||
00000000000000db R_X86_64_PC32 EXP_HEAD+0x00000000000000a0
|
||||
0000000000000072 R_X86_64_PC32 EXP_TAIL+0xfffffffffffffffc
|
||||
|
||||
RELOCATION RECORDS FOR [NRV2D]:
|
||||
OFFSET TYPE VALUE
|
||||
00000000000000cc R_X86_64_PC32 EXP_HEAD+0x000000000000009f
|
||||
0000000000000071 R_X86_64_PC32 EXP_TAIL+0xfffffffffffffffc
|
||||
00000000000000cd R_X86_64_PC32 EXP_HEAD+0x00000000000000a0
|
||||
0000000000000072 R_X86_64_PC32 EXP_TAIL+0xfffffffffffffffc
|
||||
|
||||
RELOCATION RECORDS FOR [NRV2B]:
|
||||
OFFSET TYPE VALUE
|
||||
00000000000000b6 R_X86_64_PC32 EXP_HEAD+0x000000000000009f
|
||||
000000000000005d R_X86_64_PC32 EXP_TAIL+0xfffffffffffffffc
|
||||
00000000000000b7 R_X86_64_PC32 EXP_HEAD+0x00000000000000a0
|
||||
000000000000005e R_X86_64_PC32 EXP_TAIL+0xfffffffffffffffc
|
||||
|
||||
RELOCATION RECORDS FOR [LZMA_ELF00]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000010 R_X86_64_PC32 LZMA_DEC30+0x0000000000000015
|
||||
|
||||
RELOCATION RECORDS FOR [SO_HEAD]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000013 R_X86_64_PC32 upx_so_main+0xfffffffffffffffc
|
||||
|
||||
RELOCATION RECORDS FOR [LZMA_ELF00]:
|
||||
RELOCATION RECORDS FOR [LZMA_DEC30]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000006 R_X86_64_PC32 LZMA_DEC30+0x0000000000000012
|
||||
0000000000000015 R_X86_64_PC32 EXP_TAIL+0xfffffffffffffffc
|
||||
|
||||
+12
-8
@@ -7,13 +7,13 @@ Idx Name Size VMA LMA File off Algn
|
||||
2 NRV2E 0ba 0 0 0c2 2**0 CONTENTS
|
||||
3 NRV2D 0a1 0 0 017c 2**0 CONTENTS
|
||||
4 NRV2B 093 0 0 021d 2**0 CONTENTS
|
||||
5 LZMA_ELF00 064 0 0 02b0 2**0 CONTENTS
|
||||
6 LZMA_DEC10 09f7 0 0 0314 2**0 CONTENTS
|
||||
7 LZMA_DEC20 09f7 0 0 0d0b 2**0 CONTENTS
|
||||
8 LZMA_DEC30 018 0 0 01702 2**0 CONTENTS
|
||||
9 NRV_TAIL 0 0 0 0171a 2**0 CONTENTS
|
||||
10 ELFMAINY 03a 0 0 0171a 2**0 CONTENTS
|
||||
11 ELFMAINZ 01b5 0 0 01754 2**0 CONTENTS
|
||||
5 LZMA_ELF00 065 0 0 02b0 2**0 CONTENTS
|
||||
6 LZMA_DEC10 09f7 0 0 0315 2**0 CONTENTS
|
||||
7 LZMA_DEC20 09f7 0 0 0d0c 2**0 CONTENTS
|
||||
8 LZMA_DEC30 01b 0 0 01703 2**0 CONTENTS
|
||||
9 NRV_TAIL 0 0 0 0171e 2**0 CONTENTS
|
||||
10 ELFMAINY 03a 0 0 0171e 2**0 CONTENTS
|
||||
11 ELFMAINZ 01b5 0 0 01758 2**0 CONTENTS
|
||||
SYMBOL TABLE:
|
||||
0000000000000000 l d NRV_HEAD 0 NRV_HEAD
|
||||
0000000000000000 l d LZMA_DEC30 0 LZMA_DEC30
|
||||
@@ -50,7 +50,11 @@ OFFSET TYPE VALUE
|
||||
|
||||
RELOCATION RECORDS FOR [LZMA_ELF00]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000006 R_X86_64_PC32 LZMA_DEC30+0x0000000000000012
|
||||
0000000000000006 R_X86_64_PC32 LZMA_DEC30+0x0000000000000015
|
||||
|
||||
RELOCATION RECORDS FOR [LZMA_DEC30]:
|
||||
OFFSET TYPE VALUE
|
||||
0000000000000015 R_X86_64_PC32 ELFMAINY+0xfffffffffffffffc
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINY]:
|
||||
OFFSET TYPE VALUE
|
||||
|
||||
Reference in New Issue
Block a user