
Originally Posted by
wysota
What about readelf -h ./Paint and readelf -d ./Paint?
when execute 'readelf -h ./Paint', it shows:
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0xa9a0
Start of program headers: 52 (bytes into file)
Start of section headers: 17112 (bytes into file)
Flags: 0x5000002, has entry point, Version5 EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 10
Size of section headers: 40 (bytes)
Number of section headers: 31
Section header string table index: 28
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0xa9a0
Start of program headers: 52 (bytes into file)
Start of section headers: 17112 (bytes into file)
Flags: 0x5000002, has entry point, Version5 EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 10
Size of section headers: 40 (bytes)
Number of section headers: 31
Section header string table index: 28
To copy to clipboard, switch view to plain text mode
when execute 'readelf -d ./Paint', it shows:
Dynamic section at offset 0x3eb8 contains 36 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libQtGui.so.4]
0x00000001 (NEEDED) Shared library: [libQtNetwork.so.4]
0x00000001 (NEEDED) Shared library: [libQtCore.so.4]
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000f (RPATH) Library rpath: [/Qt4_5_3forARM/lib]
0x0000001d (RUNPATH) Library runpath: [/Qt4_5_3forARM/lib]
0x0000000c (INIT) 0xa538
0x0000000d (FINI) 0xb130
0x00000019 (INIT_ARRAY) 0x13eac
0x0000001b (INIT_ARRAYSZ) 4 (bytes)
0x0000001a (FINI_ARRAY) 0x13eb0
0x0000001c (FINI_ARRAYSZ) 4 (bytes)
0x00000004 (HASH) 0x81a8
0x6ffffef5 (GNU_HASH) 0x86a0
0x00000005 (STRTAB) 0x92e0
0x00000006 (SYMTAB) 0x8c10
0x0000000a (STRSZ) 3598 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x14000
0x00000002 (PLTRELSZ) 728 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0xa260
0x00000011 (REL) 0xa238
0x00000012 (RELSZ) 40 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0xa1c8
0x6fffffff (VERNEEDNUM) 3
0x6ffffff0 (VERSYM) 0xa0ee
0x00000000 (NULL) 0x0
Dynamic section at offset 0x3eb8 contains 36 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libQtGui.so.4]
0x00000001 (NEEDED) Shared library: [libQtNetwork.so.4]
0x00000001 (NEEDED) Shared library: [libQtCore.so.4]
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000f (RPATH) Library rpath: [/Qt4_5_3forARM/lib]
0x0000001d (RUNPATH) Library runpath: [/Qt4_5_3forARM/lib]
0x0000000c (INIT) 0xa538
0x0000000d (FINI) 0xb130
0x00000019 (INIT_ARRAY) 0x13eac
0x0000001b (INIT_ARRAYSZ) 4 (bytes)
0x0000001a (FINI_ARRAY) 0x13eb0
0x0000001c (FINI_ARRAYSZ) 4 (bytes)
0x00000004 (HASH) 0x81a8
0x6ffffef5 (GNU_HASH) 0x86a0
0x00000005 (STRTAB) 0x92e0
0x00000006 (SYMTAB) 0x8c10
0x0000000a (STRSZ) 3598 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x14000
0x00000002 (PLTRELSZ) 728 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0xa260
0x00000011 (REL) 0xa238
0x00000012 (RELSZ) 40 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0xa1c8
0x6fffffff (VERNEEDNUM) 3
0x6ffffff0 (VERSYM) 0xa0ee
0x00000000 (NULL) 0x0
To copy to clipboard, switch view to plain text mode
Bookmarks