Skip to content

Instantly share code, notes, and snippets.

@jvns jvns/gist:0f82a7655d32bb6b331e Secret
Created Aug 20, 2014

Embed
What would you like to do?
readelf --symbols hello
Symbol table '.dynsym' contains 4 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000000 0 FUNC GLOBAL DEFAULT UND puts@GLIBC_2.2.5 (2)
2: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.2.5 (2)
3: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
Symbol table '.symtab' contains 64 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000400238 0 SECTION LOCAL DEFAULT 1
2: 0000000000400254 0 SECTION LOCAL DEFAULT 2
3: 0000000000400274 0 SECTION LOCAL DEFAULT 3
4: 0000000000400298 0 SECTION LOCAL DEFAULT 4
5: 00000000004002b8 0 SECTION LOCAL DEFAULT 5
6: 0000000000400318 0 SECTION LOCAL DEFAULT 6
7: 0000000000400356 0 SECTION LOCAL DEFAULT 7
8: 0000000000400360 0 SECTION LOCAL DEFAULT 8
9: 0000000000400380 0 SECTION LOCAL DEFAULT 9
10: 0000000000400398 0 SECTION LOCAL DEFAULT 10
11: 00000000004003c8 0 SECTION LOCAL DEFAULT 11
12: 00000000004003e0 0 SECTION LOCAL DEFAULT 12
13: 0000000000400410 0 SECTION LOCAL DEFAULT 13
14: 00000000004005e8 0 SECTION LOCAL DEFAULT 14
15: 00000000004005f8 0 SECTION LOCAL DEFAULT 15
16: 0000000000400604 0 SECTION LOCAL DEFAULT 16
17: 0000000000400630 0 SECTION LOCAL DEFAULT 17
18: 0000000000600e28 0 SECTION LOCAL DEFAULT 18
19: 0000000000600e38 0 SECTION LOCAL DEFAULT 19
20: 0000000000600e48 0 SECTION LOCAL DEFAULT 20
21: 0000000000600e50 0 SECTION LOCAL DEFAULT 21
22: 0000000000600fe0 0 SECTION LOCAL DEFAULT 22
23: 0000000000600fe8 0 SECTION LOCAL DEFAULT 23
24: 0000000000601010 0 SECTION LOCAL DEFAULT 24
25: 0000000000601020 0 SECTION LOCAL DEFAULT 25
26: 0000000000000000 0 SECTION LOCAL DEFAULT 26
27: 000000000040043c 0 FUNC LOCAL DEFAULT 13 call_gmon_start
28: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
29: 0000000000600e28 0 OBJECT LOCAL DEFAULT 18 __CTOR_LIST__
30: 0000000000600e38 0 OBJECT LOCAL DEFAULT 19 __DTOR_LIST__
31: 0000000000600e48 0 OBJECT LOCAL DEFAULT 20 __JCR_LIST__
32: 0000000000400460 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux
33: 0000000000601020 1 OBJECT LOCAL DEFAULT 25 completed.6531
34: 0000000000601028 8 OBJECT LOCAL DEFAULT 25 dtor_idx.6533
35: 00000000004004d0 0 FUNC LOCAL DEFAULT 13 frame_dummy
36: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
37: 0000000000600e30 0 OBJECT LOCAL DEFAULT 18 __CTOR_END__
38: 00000000004006d0 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__
39: 0000000000600e48 0 OBJECT LOCAL DEFAULT 20 __JCR_END__
40: 00000000004005b0 0 FUNC LOCAL DEFAULT 13 __do_global_ctors_aux
41: 0000000000000000 0 FILE LOCAL DEFAULT ABS hello.c
42: 0000000000600e24 0 NOTYPE LOCAL DEFAULT 18 __init_array_end
43: 0000000000600e50 0 OBJECT LOCAL DEFAULT 21 _DYNAMIC
44: 0000000000600e24 0 NOTYPE LOCAL DEFAULT 18 __init_array_start
45: 0000000000600fe8 0 OBJECT LOCAL DEFAULT 23 _GLOBAL_OFFSET_TABLE_
46: 00000000004005a0 2 FUNC GLOBAL DEFAULT 13 __libc_csu_fini
47: 0000000000601010 0 NOTYPE WEAK DEFAULT 24 data_start
48: 0000000000000000 0 FUNC GLOBAL DEFAULT UND puts@@GLIBC_2.2.5
49: 0000000000601020 0 NOTYPE GLOBAL DEFAULT ABS _edata
50: 00000000004005e8 0 FUNC GLOBAL DEFAULT 14 _fini
51: 0000000000600e40 0 OBJECT GLOBAL HIDDEN 19 __DTOR_END__
52: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_
53: 0000000000601010 0 NOTYPE GLOBAL DEFAULT 24 __data_start
54: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
55: 0000000000601018 0 OBJECT GLOBAL HIDDEN 24 __dso_handle
56: 00000000004005f8 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used
57: 0000000000400510 137 FUNC GLOBAL DEFAULT 13 __libc_csu_init
58: 0000000000601030 0 NOTYPE GLOBAL DEFAULT ABS _end
59: 0000000000400410 0 FUNC GLOBAL DEFAULT 13 _start
60: 0000000000601020 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
61: 00000000004004f4 16 FUNC GLOBAL DEFAULT 13 main
62: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
63: 00000000004003c8 0 FUNC GLOBAL DEFAULT 11 _init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.