3 #ld
: -melf_x86_64
-shared -z relro
-z now
--hash
-style
=sysv
-z max
-page
-size
=0x200000 -z noseparate
-code
$NO_DT_RELR_LDFLAGS
5 #target
: x86_64
-*-linux
*
7 Elf file type
is DYN \
(Shared object file\
)
8 Entry point
0x
[0-9a
-f
]+
9 There are
4 program headers
, starting at offset
64
12 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
13 LOAD
0x000000 0x0000000000000000 0x0000000000000000 0x000150 0x000150 R
0x200000
14 LOAD
0x1ffb.8 0x00000000003ffb.8 0x00000000003ffb.8 0x0004.0 0x000c.8 RW
0x200000
15 DYNAMIC
0x1ffb.0 0x00000000003ffb.0 0x00000000003ffb.0 0x0001.0 0x0001.0 RW
0x8
16 GNU_RELRO
0x1ffb.8 0x00000000003ffb.8 0x00000000003ffb.8 0x0004.0 0x0004.8 R
0x1
18 Section to Segment mapping
:
20 00 \
.hash \
.dynsym \
.dynstr
21 01 \
.(init_array|ctors
) \
.(fini_array|dtors
) \
.jcr \
.data\
.rel\
.ro \
.dynamic \
.got
.bss
23 03 \
.(init_array|ctors
) \
.(fini_array|dtors
) \
.jcr \
.data\
.rel\
.ro \
.dynamic \
.got