Skip to content

Instantly share code, notes, and snippets.

/cross Secret

Created April 25, 2017 19:54
Show Gist options
  • Save anonymous/656be4ad5eaad17f7f5b2a08112f092c to your computer and use it in GitHub Desktop.
Save anonymous/656be4ad5eaad17f7f5b2a08112f092c to your computer and use it in GitHub Desktop.
result/bin/opt: file format elf64-littleaarch64
result/bin/opt
architecture: aarch64, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x000000000041ce50
Program Header:
PHDR off 0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3
filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-x
INTERP off 0x0000000000000238 vaddr 0x0000000000400238 paddr 0x0000000000400238 align 2**0
filesz 0x0000000000000063 memsz 0x0000000000000063 flags r--
LOAD off 0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**16
filesz 0x0000000000034c74 memsz 0x0000000000034c74 flags r-x
LOAD off 0x00000000000359e0 vaddr 0x00000000004459e0 paddr 0x00000000004459e0 align 2**16
filesz 0x0000000000003328 memsz 0x00000000000081f0 flags rw-
DYNAMIC off 0x00000000000379f8 vaddr 0x00000000004479f8 paddr 0x00000000004479f8 align 2**3
filesz 0x0000000000000230 memsz 0x0000000000000230 flags rw-
NOTE off 0x000000000000029c vaddr 0x000000000040029c paddr 0x000000000040029c align 2**2
filesz 0x0000000000000020 memsz 0x0000000000000020 flags r--
STACK off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**4
filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
RELRO off 0x00000000000359e0 vaddr 0x00000000004459e0 paddr 0x00000000004459e0 align 2**0
filesz 0x0000000000002620 memsz 0x0000000000002620 flags r--
PAX_FLAGS off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3
filesz 0x0000000000000000 memsz 0x0000000000000000 flags --- 2800
Dynamic Section:
NEEDED libLLVM-3.9.so
NEEDED libpthread.so.0
NEEDED libstdc++.so.6
NEEDED libm.so.6
NEEDED libgcc_s.so.1
NEEDED libc.so.6
RUNPATH $ORIGIN/../lib:/nix/store/sz4m75gzdpxb90kppl3m5wki6iylnv1l-glibc-2.25-aarch64-linux-gnu/lib:/nix/store/p6af8rfcdv8sfl8nqwgcz9c4lxr2n5n1-gcc-5.4.0-aarch64-linux-gnu-stage-final/aarch64-linux-gnu/lib64
INIT 0x00000000004150a0
FINI 0x00000000004310dc
INIT_ARRAY 0x00000000004459e0
INIT_ARRAYSZ 0x0000000000000030
FINI_ARRAY 0x0000000000445a10
FINI_ARRAYSZ 0x0000000000000008
HASH 0x00000000004002c0
STRTAB 0x0000000000406cf8
SYMTAB 0x0000000000401fa0
STRSZ 0x000000000000a98f
SYMENT 0x0000000000000018
DEBUG 0x0000000000000000
PLTGOT 0x0000000000447fe8
PLTRELSZ 0x00000000000026e8
PLTREL 0x0000000000000007
JMPREL 0x00000000004129b8
RELA 0x0000000000411d70
RELASZ 0x0000000000000c48
RELAENT 0x0000000000000018
VERNEED 0x0000000000411d00
VERNEEDNUM 0x0000000000000002
VERSYM 0x0000000000411688
Version References:
required from libc.so.6:
0x06969197 0x00 03 GLIBC_2.17
required from libstdc++.so.6:
0x0297f871 0x00 06 GLIBCXX_3.4.21
0x056bafd3 0x00 05 CXXABI_1.3
0x0297f865 0x00 04 GLIBCXX_3.4.15
0x08922974 0x00 02 GLIBCXX_3.4
private flags = 0:
Sections:
Idx Name Size VMA LMA File off Algn
0 .interp 00000063 0000000000400238 0000000000400238 00000238 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
1 .note.ABI-tag 00000020 000000000040029c 000000000040029c 0000029c 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .hash 00001ce0 00000000004002c0 00000000004002c0 000002c0 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .dynsym 00004d58 0000000000401fa0 0000000000401fa0 00001fa0 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .dynstr 0000a98f 0000000000406cf8 0000000000406cf8 00006cf8 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
5 .gnu.version 00000672 0000000000411688 0000000000411688 00011688 2**1
CONTENTS, ALLOC, LOAD, READONLY, DATA
6 .gnu.version_r 00000070 0000000000411d00 0000000000411d00 00011d00 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
7 .rela.dyn 00000c48 0000000000411d70 0000000000411d70 00011d70 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
8 .rela.plt 000026e8 00000000004129b8 00000000004129b8 000129b8 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
9 .init 00000014 00000000004150a0 00000000004150a0 000150a0 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
10 .plt 00001a10 00000000004150c0 00000000004150c0 000150c0 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
11 .text 0001a60c 0000000000416ad0 0000000000416ad0 00016ad0 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
12 .fini 00000010 00000000004310dc 00000000004310dc 000310dc 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
13 .rodata 00003b7e 00000000004310f0 00000000004310f0 000310f0 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
14 .eh_frame 00000004 0000000000434c70 0000000000434c70 00034c70 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
result/bin/opt: file format elf64-littleaarch64
result/bin/opt
architecture: aarch64, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x000000000041d370
Program Header:
PHDR off 0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3
filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-x
INTERP off 0x0000000000000238 vaddr 0x0000000000400238 paddr 0x0000000000400238 align 2**0
filesz 0x0000000000000051 memsz 0x0000000000000051 flags r--
LOAD off 0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**16
filesz 0x00000000000350f4 memsz 0x00000000000350f4 flags r-x
LOAD off 0x0000000000035ce0 vaddr 0x0000000000445ce0 paddr 0x0000000000445ce0 align 2**16
filesz 0x0000000000003330 memsz 0x00000000000081f8 flags rw-
DYNAMIC off 0x0000000000037cc0 vaddr 0x0000000000447cc0 paddr 0x0000000000447cc0 align 2**3
filesz 0x0000000000000260 memsz 0x0000000000000260 flags rw-
NOTE off 0x000000000000028c vaddr 0x000000000040028c paddr 0x000000000040028c align 2**2
filesz 0x0000000000000020 memsz 0x0000000000000020 flags r--
STACK off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**4
filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
RELRO off 0x0000000000035ce0 vaddr 0x0000000000445ce0 paddr 0x0000000000445ce0 align 2**0
filesz 0x0000000000003320 memsz 0x0000000000003320 flags r--
PAX_FLAGS off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3
filesz 0x0000000000000000 memsz 0x0000000000000000 flags --- 2800
Dynamic Section:
NEEDED libLLVM-3.9.so
NEEDED libpthread.so.0
NEEDED libstdc++.so.6
NEEDED libm.so.6
NEEDED libgcc_s.so.1
NEEDED libc.so.6
NEEDED ld-linux-aarch64.so.1
RUNPATH $ORIGIN/../lib:/nix/store/znjn49ggc3xggb13clf1pmdakmplxw01-llvm-3.9.1-lib/lib:/nix/store/vj2kn9m3fdm8n9a1ia3x6kzxb5l8ybq5-glibc-2.25/lib:/nix/store/xv1abqrfqpzz0bpkdn16hww5vhaw9xis-gcc-5.4.0-lib/lib
INIT 0x0000000000415540
FINI 0x000000000043158c
INIT_ARRAY 0x0000000000445ce0
INIT_ARRAYSZ 0x0000000000000030
FINI_ARRAY 0x0000000000445d10
FINI_ARRAYSZ 0x0000000000000008
HASH 0x00000000004002b0
STRTAB 0x0000000000406de8
SYMTAB 0x0000000000401fb8
STRSZ 0x000000000000ace1
SYMENT 0x0000000000000018
DEBUG 0x0000000000000000
PLTGOT 0x0000000000447f20
PLTRELSZ 0x0000000000002700
PLTREL 0x0000000000000007
JMPREL 0x0000000000412e40
RELA 0x00000000004121e0
RELASZ 0x0000000000000c60
RELAENT 0x0000000000000018
FLAGS 0x0000000000000008
FLAGS_1 0x0000000000000001
VERNEED 0x0000000000412150
VERNEEDNUM 0x0000000000000003
VERSYM 0x0000000000411aca
Version References:
required from ld-linux-aarch64.so.1:
0x06969197 0x00 07 GLIBC_2.17
required from libc.so.6:
0x06969197 0x00 03 GLIBC_2.17
required from libstdc++.so.6:
0x0297f871 0x00 06 GLIBCXX_3.4.21
0x056bafd3 0x00 05 CXXABI_1.3
0x0297f865 0x00 04 GLIBCXX_3.4.15
0x08922974 0x00 02 GLIBCXX_3.4
private flags = 0:
Sections:
Idx Name Size VMA LMA File off Algn
0 .interp 00000051 0000000000400238 0000000000400238 00000238 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
1 .note.ABI-tag 00000020 000000000040028c 000000000040028c 0000028c 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .hash 00001d04 00000000004002b0 00000000004002b0 000002b0 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .dynsym 00004e30 0000000000401fb8 0000000000401fb8 00001fb8 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .dynstr 0000ace1 0000000000406de8 0000000000406de8 00006de8 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
5 .gnu.version 00000684 0000000000411aca 0000000000411aca 00011aca 2**1
CONTENTS, ALLOC, LOAD, READONLY, DATA
6 .gnu.version_r 00000090 0000000000412150 0000000000412150 00012150 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
7 .rela.dyn 00000c60 00000000004121e0 00000000004121e0 000121e0 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
8 .rela.plt 00002700 0000000000412e40 0000000000412e40 00012e40 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
9 .init 00000014 0000000000415540 0000000000415540 00015540 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
10 .plt 00001a20 0000000000415560 0000000000415560 00015560 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
11 .text 0001a60c 0000000000416f80 0000000000416f80 00016f80 2**3
CONTENTS, ALLOC, LOAD, READONLY, CODE
12 .fini 00000010 000000000043158c 000000000043158c 0003158c 2**2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment