21.1 KB
/home/dev/aosp/build/android-12.0.0_r4/raven-user/Google/system.img.apexes/com.google.android.os.statsd.apex-apex_payload.img.mount vs.
/home/dev/aosp/build/android-12.0.0_r4/aosp_raven-user/Ubuntu18.04/system.img.apexes/com.android.os.statsd.apex-apex_payload.img.mount
1000 B
/home/dev/aosp/build/android-12.0.0_r4/raven-user/Google/system.img.apexes/com.google.android.os.statsd.apex-apex_payload.img.mount/apex_manifest.pb vs.
/home/dev/aosp/build/android-12.0.0_r4/aosp_raven-user/Ubuntu18.04/system.img.apexes/com.android.os.statsd.apex-apex_payload.img.mount/apex_manifest.pb
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
00000000:·0a15·636f·6d2e·616e·6472·6f69·642e·6f73··..com.android.os00000000:·0a15·636f·6d2e·616e·6472·6f69·642e·6f73··..com.android.os
00000010:·2e73·7461·7473·6410·d8a2·9594·013a·0f6c··.statsd......:.l00000010:·2e73·7461·7473·6410·9c9f·cb98·013a·0f6c··.statsd......:.l
00000020:·6962·7374·6174·7370·756c·6c2e·736f·3a11··ibstatspull.so:.00000020:·6962·7374·6174·7370·756c·6c2e·736f·3a11··ibstatspull.so:.
00000030:·6c69·6273·7461·7473·736f·636b·6574·2e73··libstatssocket.s00000030:·6c69·6273·7461·7473·736f·636b·6574·2e73··libstatssocket.s
00000040:·6f42·106c·6962·6269·6e64·6572·5f6e·646b··oB.libbinder_ndk00000040:·6f42·106c·6962·6269·6e64·6572·5f6e·646b··oB.libbinder_ndk
00000050:·2e73·6f42·076c·6962·632e·736f·4208·6c69··.soB.libc.soB.li00000050:·2e73·6f42·076c·6962·632e·736f·4208·6c69··.soB.libc.soB.li
00000060:·6264·6c2e·736f·420e·6c69·6269·6e63·6964··bdl.soB.libincid00000060:·6264·6c2e·736f·420e·6c69·6269·6e63·6964··bdl.soB.libincid
00000070:·656e·742e·736f·4209·6c69·626c·6f67·2e73··ent.soB.liblog.s00000070:·656e·742e·736f·4209·6c69·626c·6f67·2e73··ent.soB.liblog.s
00000080:·6f42·076c·6962·6d2e·736f·4a0f·6c69·6273··oB.libm.soJ.libs00000080:·6f42·076c·6962·6d2e·736f·4a0f·6c69·6273··oB.libm.soJ.libs
7.76 KB
/home/dev/aosp/build/android-12.0.0_r4/raven-user/Google/system.img.apexes/com.google.android.os.statsd.apex-apex_payload.img.mount/bin vs.
/home/dev/aosp/build/android-12.0.0_r4/aosp_raven-user/Ubuntu18.04/system.img.apexes/com.android.os.statsd.apex-apex_payload.img.mount/bin
7.5 KB
/home/dev/aosp/build/android-12.0.0_r4/raven-user/Google/system.img.apexes/com.google.android.os.statsd.apex-apex_payload.img.mount/bin/statsd vs.
/home/dev/aosp/build/android-12.0.0_r4/aosp_raven-user/Ubuntu18.04/system.img.apexes/com.android.os.statsd.apex-apex_payload.img.mount/bin/statsd
870 B
readelf --wide --file-header {}
    
Offset 6, 15 lines modifiedOffset 6, 15 lines modified
6 ··OS/ABI:····························UNIX·-·System·V6 ··OS/ABI:····························UNIX·-·System·V
7 ··ABI·Version:·······················07 ··ABI·Version:·······················0
8 ··Type:······························DYN·(Shared·object·file)8 ··Type:······························DYN·(Shared·object·file)
9 ··Machine:···························AArch649 ··Machine:···························AArch64
10 ··Version:···························0x110 ··Version:···························0x1
11 ··Entry·point·address:···············0x3200011 ··Entry·point·address:···············0x32000
12 ··Start·of·program·headers:··········64·(bytes·into·file)12 ··Start·of·program·headers:··········64·(bytes·into·file)
13 ··Start·of·section·headers:··········1060464·(bytes·into·file)13 ··Start·of·section·headers:··········1060472·(bytes·into·file)
14 ··Flags:·····························0x014 ··Flags:·····························0x0
15 ··Size·of·this·header:···············64·(bytes)15 ··Size·of·this·header:···············64·(bytes)
16 ··Size·of·program·headers:···········56·(bytes)16 ··Size·of·program·headers:···········56·(bytes)
17 ··Number·of·program·headers:·········1217 ··Number·of·program·headers:·········12
18 ··Size·of·section·headers:···········64·(bytes)18 ··Size·of·section·headers:···········64·(bytes)
19 ··Number·of·section·headers:·········3119 ··Number·of·section·headers:·········31
20 ··Section·header·string·table·index:·2920 ··Section·header·string·table·index:·29
1.74 KB
readelf --wide --program-header {}
    
Offset 4, 22 lines modifiedOffset 4, 22 lines modified
4 There·are·12·program·headers,·starting·at·offset·644 There·are·12·program·headers,·starting·at·offset·64
  
5 Program·Headers:5 Program·Headers:
6 ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align6 ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align
7 ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x0002a0·0x0002a0·R···0x87 ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x0002a0·0x0002a0·R···0x8
8 ··INTERP·········0x0002e0·0x00000000000002e0·0x00000000000002e0·0x000015·0x000015·R···0x18 ··INTERP·········0x0002e0·0x00000000000002e0·0x00000000000002e0·0x000015·0x000015·R···0x1
9 ······[Requesting·program·interpreter:·/system/bin/linker64]9 ······[Requesting·program·interpreter:·/system/bin/linker64]
10 ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x031ebc·0x031ebc·R···0x100010 ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x031efc·0x031efc·R···0x1000
11 ··LOAD···········0x032000·0x0000000000032000·0x0000000000032000·0x0b6a00·0x0b6a00·R·E·0x100011 ··LOAD···········0x032000·0x0000000000032000·0x0000000000032000·0x0b6300·0x0b6300·R·E·0x1000
12 ··LOAD···········0x0e9000·0x00000000000e9000·0x00000000000e9000·0x0089e8·0x0089e8·RW··0x100012 ··LOAD···········0x0e9000·0x00000000000e9000·0x00000000000e9000·0x0089e8·0x0089e8·RW··0x1000
13 ··LOAD···········0x0f19e8·0x00000000000f29e8·0x00000000000f29e8·0x0005f8·0x003650·RW··0x100013 ··LOAD···········0x0f19e8·0x00000000000f29e8·0x00000000000f29e8·0x0005f8·0x003650·RW··0x1000
14 ··TLS············0x0e9000·0x00000000000e9000·0x00000000000e9000·0x000000·0x000000·R···0x4014 ··TLS············0x0e9000·0x00000000000e9000·0x00000000000e9000·0x000000·0x000000·R···0x40
15 ··DYNAMIC········0x0f0a90·0x00000000000f0a90·0x00000000000f0a90·0x000230·0x000230·RW··0x815 ··DYNAMIC········0x0f0a90·0x00000000000f0a90·0x00000000000f0a90·0x000230·0x000230·RW··0x8
16 ··GNU_RELRO······0x0e9000·0x00000000000e9000·0x00000000000e9000·0x0089e8·0x009000·R···0x116 ··GNU_RELRO······0x0e9000·0x00000000000e9000·0x00000000000e9000·0x0089e8·0x009000·R···0x1
17 ··GNU_EH_FRAME···0x00fd74·0x000000000000fd74·0x000000000000fd74·0x00676c·0x00676c·R···0x417 ··GNU_EH_FRAME···0x00fdbc·0x000000000000fdbc·0x000000000000fdbc·0x00676c·0x00676c·R···0x4
18 ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··018 ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··0
19 ··NOTE···········0x0002f8·0x00000000000002f8·0x00000000000002f8·0x000050·0x000050·R···0x419 ··NOTE···········0x0002f8·0x00000000000002f8·0x00000000000002f8·0x000050·0x000050·R···0x4
  
20 ·Section·to·Segment·mapping:20 ·Section·to·Segment·mapping:
21 ··Segment·Sections...21 ··Segment·Sections...
22 ···00·····22 ···00·····
23 ···01·····.interp·23 ···01·····.interp·
3.73 KB
readelf --wide --sections {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 There·are·31·section·headers,·starting·at·offset·0x102e70:1 There·are·31·section·headers,·starting·at·offset·0x102e78:
  
2 Section·Headers:2 Section·Headers:
3 ··[Nr]·Name··············Type············Address··········Off····Size···ES·Flg·Lk·Inf·Al3 ··[Nr]·Name··············Type············Address··········Off····Size···ES·Flg·Lk·Inf·Al
4 ··[·0]···················NULL············0000000000000000·000000·000000·00······0···0··04 ··[·0]···················NULL············0000000000000000·000000·000000·00······0···0··0
5 ··[·1]·.interp···········PROGBITS········00000000000002e0·0002e0·000015·00···A··0···0··15 ··[·1]·.interp···········PROGBITS········00000000000002e0·0002e0·000015·00···A··0···0··1
6 ··[·2]·.note.android.ident·NOTE············00000000000002f8·0002f8·000018·00···A··0···0··46 ··[·2]·.note.android.ident·NOTE············00000000000002f8·0002f8·000018·00···A··0···0··4
7 ··[·3]·.note.android.memtag·NOTE············0000000000000310·000310·000018·00···A··0···0··47 ··[·3]·.note.android.memtag·NOTE············0000000000000310·000310·000018·00···A··0···0··4
Offset 11, 30 lines modifiedOffset 11, 30 lines modified
11 ··[·6]·.gnu.version······VERSYM··········0000000000001998·001998·0001dc·02···A··5···0··211 ··[·6]·.gnu.version······VERSYM··········0000000000001998·001998·0001dc·02···A··5···0··2
12 ··[·7]·.gnu.version_r····VERNEED·········0000000000001b74·001b74·0000e0·00···A··9···4··412 ··[·7]·.gnu.version_r····VERNEED·········0000000000001b74·001b74·0000e0·00···A··9···4··4
13 ··[·8]·.gnu.hash·········GNU_HASH········0000000000001c58·001c58·00001c·00···A··5···0··813 ··[·8]·.gnu.hash·········GNU_HASH········0000000000001c58·001c58·00001c·00···A··5···0··8
14 ··[·9]·.dynstr···········STRTAB··········0000000000001c74·001c74·000f27·00···A··0···0··114 ··[·9]·.dynstr···········STRTAB··········0000000000001c74·001c74·000f27·00···A··0···0··1
15 ··[10]·.rela.dyn·········LOOS+0x2········0000000000002ba0·002ba0·00004d·01···A··5···0··815 ··[10]·.rela.dyn·········LOOS+0x2········0000000000002ba0·002ba0·00004d·01···A··5···0··8
16 ··[11]·.relr.dyn·········00000013:·<unknown>·0000000000002bf0·002bf0·000240·08···A··0···0··816 ··[11]·.relr.dyn·········00000013:·<unknown>·0000000000002bf0·002bf0·000240·08···A··0···0··8
17 ··[12]·.rela.plt·········RELA············0000000000002e30·002e30·001608·18··AI··5··26··817 ··[12]·.rela.plt·········RELA············0000000000002e30·002e30·001608·18··AI··5··26··8
18 ··[13]·.rodata···········PROGBITS········0000000000004440·004440·009688·00·AMS··0···0·1618 ··[13]·.rodata···········PROGBITS········0000000000004440·004440·0096b8·00·AMS··0···0·16
19 ··[14]·.gcc_except_table·PROGBITS········000000000000dac8·00dac8·0022ac·00···A··0···0··419 ··[14]·.gcc_except_table·PROGBITS········000000000000daf8·00daf8·0022c4·00···A··0···0··4
20 ··[15]·.eh_frame_hdr·····PROGBITS········000000000000fd74·00fd74·00676c·00···A··0···0··420 ··[15]·.eh_frame_hdr·····PROGBITS········000000000000fdbc·00fdbc·00676c·00···A··0···0··4
21 ··[16]·.eh_frame·········PROGBITS········00000000000164e0·0164e0·01b9dc·00···A··0···0··821 ··[16]·.eh_frame·········PROGBITS········0000000000016528·016528·01b9d4·00···A··0···0··8
22 ··[17]·.text·············PROGBITS········0000000000032000·032000·0b5b24·00··AX··0···0·3222 ··[17]·.text·············PROGBITS········0000000000032000·032000·0b542c·00··AX··0···0·32
23 ··[18]·.plt··············PROGBITS········00000000000e7b30·0e7b30·000ed0·00··AX··0···0·1623 ··[18]·.plt··············PROGBITS········00000000000e7430·0e7430·000ed0·00··AX··0···0·16
24 ··[19]·.tdata············PROGBITS········00000000000e9000·0e9000·000000·00·WAT··0···0·6424 ··[19]·.tdata············PROGBITS········00000000000e9000·0e9000·000000·00·WAT··0···0·64
25 ··[20]·.preinit_array····PREINIT_ARRAY···00000000000e9000·0e9000·000010·00··WA··0···0··825 ··[20]·.preinit_array····PREINIT_ARRAY···00000000000e9000·0e9000·000010·00··WA··0···0··8
26 ··[21]·.init_array·······INIT_ARRAY······00000000000e9010·0e9010·000198·00··WA··0···0··826 ··[21]·.init_array·······INIT_ARRAY······00000000000e9010·0e9010·000198·00··WA··0···0··8
27 ··[22]·.fini_array·······FINI_ARRAY······00000000000e91a8·0e91a8·000010·00··WA··0···0··827 ··[22]·.fini_array·······FINI_ARRAY······00000000000e91a8·0e91a8·000010·00··WA··0···0··8
28 ··[23]·.data.rel.ro······PROGBITS········00000000000e91b8·0e91b8·0078d8·00··WA··0···0··828 ··[23]·.data.rel.ro······PROGBITS········00000000000e91b8·0e91b8·0078d8·00··WA··0···0··8
29 ··[24]·.dynamic··········DYNAMIC·········00000000000f0a90·0f0a90·000230·10··WA··9···0··829 ··[24]·.dynamic··········DYNAMIC·········00000000000f0a90·0f0a90·000230·10··WA··9···0··8
30 ··[25]·.got··············PROGBITS········00000000000f0cc0·0f0cc0·0005b8·00··WA··0···0··830 ··[25]·.got··············PROGBITS········00000000000f0cc0·0f0cc0·0005b8·00··WA··0···0··8
31 ··[26]·.got.plt··········PROGBITS········00000000000f1278·0f1278·000770·00··WA··0···0··831 ··[26]·.got.plt··········PROGBITS········00000000000f1278·0f1278·000770·00··WA··0···0··8
32 ··[27]·.data·············PROGBITS········00000000000f29e8·0f19e8·0005f8·00··WA··0···0··832 ··[27]·.data·············PROGBITS········00000000000f29e8·0f19e8·0005f8·00··WA··0···0··8
33 ··[28]·.bss··············NOBITS··········00000000000f2fe0·0f1fe0·003058·00··WA··0···0·1633 ··[28]·.bss··············NOBITS··········00000000000f2fe0·0f1fe0·003058·00··WA··0···0·16
34 ··[29]·.shstrtab·········STRTAB··········0000000000000000·0f1fe0·000147·00······0···0··134 ··[29]·.shstrtab·········STRTAB··········0000000000000000·0f1fe0·000147·00······0···0··1
35 ··[30]·.gnu_debugdata····PROGBITS········0000000000000000·0f2127·010d44·00······0···0··135 ··[30]·.gnu_debugdata····PROGBITS········0000000000000000·0f2127·010d4c·00······0···0··1
36 Key·to·Flags:36 Key·to·Flags:
37 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),37 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),
38 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),38 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),
39 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),39 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),
40 ··p·(processor·specific)40 ··p·(processor·specific)
613 B
readelf --wide --notes {}
    
Offset 5, 8 lines modifiedOffset 5, 8 lines modified
  
5 Displaying·notes·found·in:·.note.android.memtag5 Displaying·notes·found·in:·.note.android.memtag
6 ··Owner················Data·size·»  Description6 ··Owner················Data·size·»  Description
7 ··Android··············0x00000004»      Unknown·note·type:·(0x00000004)»  ···description·data:·05·00·00·00·7 ··Android··············0x00000004»      Unknown·note·type:·(0x00000004)»  ···description·data:·05·00·00·00·
  
8 Displaying·notes·found·in:·.note.gnu.build-id8 Displaying·notes·found·in:·.note.gnu.build-id
9 ··Owner················Data·size·»  Description9 ··Owner················Data·size·»  Description
10 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·40a99606f3a977e5c8cf6e241a13368910 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·6d87904143e8da3e82302d8edf69fad9
305 B
stat {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
  
1 ··Size:·1062448···»   Blocks:·2080·······IO·Block:·4096···regular·file1 ··Size:·1062456···»   Blocks:·2080·······IO·Block:·4096···regular·file
2 Links:·12 Links:·1
3 Access:·(0755/-rwxr-xr-x)··Uid:·(·1001/·····dev)···Gid:·(·1001/·····dev)3 Access:·(0755/-rwxr-xr-x)··Uid:·(·1001/·····dev)···Gid:·(·1001/·····dev)
  
4 Modify:·1970-01-01·00:00:00.000000000·+00004 Modify:·1970-01-01·00:00:00.000000000·+0000
  
  
12.1 KB
/home/dev/aosp/build/android-12.0.0_r4/raven-user/Google/system.img.apexes/com.google.android.os.statsd.apex-apex_payload.img.mount/lib64 vs.
/home/dev/aosp/build/android-12.0.0_r4/aosp_raven-user/Ubuntu18.04/system.img.apexes/com.android.os.statsd.apex-apex_payload.img.mount/lib64
910 B
/home/dev/aosp/build/android-12.0.0_r4/raven-user/Google/system.img.apexes/com.google.android.os.statsd.apex-apex_payload.img.mount/lib64/libstats_jni.so vs.
/home/dev/aosp/build/android-12.0.0_r4/aosp_raven-user/Ubuntu18.04/system.img.apexes/com.android.os.statsd.apex-apex_payload.img.mount/lib64/libstats_jni.so
601 B
readelf --wide --notes {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
  
1 Displaying·notes·found·in:·.note.android.ident1 Displaying·notes·found·in:·.note.android.ident
2 ··Owner················Data·size·»  Description2 ··Owner················Data·size·»  Description
3 ··Android··············0x00000004»      NT_VERSION·(version)»   ···description·data:·1f·00·00·00·3 ··Android··············0x00000004»      NT_VERSION·(version)»   ···description·data:·1f·00·00·00·
  
4 Displaying·notes·found·in:·.note.gnu.build-id4 Displaying·notes·found·in:·.note.gnu.build-id
5 ··Owner················Data·size·»  Description5 ··Owner················Data·size·»  Description
6 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·0af8f6be176bc74df095c054a515a9026 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·ce08aa9032460a9c1bcf932c545d133e
7.13 KB
/home/dev/aosp/build/android-12.0.0_r4/raven-user/Google/system.img.apexes/com.google.android.os.statsd.apex-apex_payload.img.mount/lib64/libstatspull.so vs.
/home/dev/aosp/build/android-12.0.0_r4/aosp_raven-user/Ubuntu18.04/system.img.apexes/com.android.os.statsd.apex-apex_payload.img.mount/lib64/libstatspull.so
868 B
readelf --wide --file-header {}
    
Offset 6, 15 lines modifiedOffset 6, 15 lines modified
6 ··OS/ABI:····························UNIX·-·System·V6 ··OS/ABI:····························UNIX·-·System·V
7 ··ABI·Version:·······················07 ··ABI·Version:·······················0
8 ··Type:······························DYN·(Shared·object·file)8 ··Type:······························DYN·(Shared·object·file)
9 ··Machine:···························AArch649 ··Machine:···························AArch64
10 ··Version:···························0x110 ··Version:···························0x1
11 ··Entry·point·address:···············0x1f00011 ··Entry·point·address:···············0x1f000
12 ··Start·of·program·headers:··········64·(bytes·into·file)12 ··Start·of·program·headers:··········64·(bytes·into·file)
13 ··Start·of·section·headers:··········256928·(bytes·into·file)13 ··Start·of·section·headers:··········256904·(bytes·into·file)
14 ··Flags:·····························0x014 ··Flags:·····························0x0
15 ··Size·of·this·header:···············64·(bytes)15 ··Size·of·this·header:···············64·(bytes)
16 ··Size·of·program·headers:···········56·(bytes)16 ··Size·of·program·headers:···········56·(bytes)
17 ··Number·of·program·headers:·········1017 ··Number·of·program·headers:·········10
18 ··Size·of·section·headers:···········64·(bytes)18 ··Size·of·section·headers:···········64·(bytes)
19 ··Number·of·section·headers:·········2719 ··Number·of·section·headers:·········27
20 ··Section·header·string·table·index:·2520 ··Section·header·string·table·index:·25
1.73 KB
readelf --wide --program-header {}
    
Offset 2, 21 lines modifiedOffset 2, 21 lines modified
2 Elf·file·type·is·DYN·(Shared·object·file)2 Elf·file·type·is·DYN·(Shared·object·file)
3 Entry·point·0x1f0003 Entry·point·0x1f000
4 There·are·10·program·headers,·starting·at·offset·644 There·are·10·program·headers,·starting·at·offset·64
  
5 Program·Headers:5 Program·Headers:
6 ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align6 ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align
7 ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x000230·0x000230·R···0x87 ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x000230·0x000230·R···0x8
8 ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x01ee2c·0x01ee2c·R···0x10008 ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x01ee3c·0x01ee3c·R···0x1000
9 ··LOAD···········0x01f000·0x000000000001f000·0x000000000001f000·0x01bc00·0x01bc00·R·E·0x10009 ··LOAD···········0x01f000·0x000000000001f000·0x000000000001f000·0x01b8b0·0x01b8b0·R·E·0x1000
10 ··LOAD···········0x03b000·0x000000000003b000·0x000000000003b000·0x002d38·0x002d38·RW··0x100010 ··LOAD···········0x03b000·0x000000000003b000·0x000000000003b000·0x002d38·0x002d38·RW··0x1000
11 ··LOAD···········0x03dd38·0x000000000003ed38·0x000000000003ed38·0x000050·0x000748·RW··0x100011 ··LOAD···········0x03dd38·0x000000000003ed38·0x000000000003ed38·0x000050·0x000748·RW··0x1000
12 ··DYNAMIC········0x03cfc8·0x000000000003cfc8·0x000000000003cfc8·0x000200·0x000200·RW··0x812 ··DYNAMIC········0x03cfc8·0x000000000003cfc8·0x000000000003cfc8·0x000200·0x000200·RW··0x8
13 ··GNU_RELRO······0x03b000·0x000000000003b000·0x000000000003b000·0x002d38·0x003000·R···0x113 ··GNU_RELRO······0x03b000·0x000000000003b000·0x000000000003b000·0x002d38·0x003000·R···0x1
14 ··GNU_EH_FRAME···0x017ec0·0x0000000000017ec0·0x0000000000017ec0·0x0014d4·0x0014d4·R···0x414 ··GNU_EH_FRAME···0x017ec4·0x0000000000017ec4·0x0000000000017ec4·0x0014d4·0x0014d4·R···0x4
15 ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··015 ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··0
16 ··NOTE···········0x000270·0x0000000000000270·0x0000000000000270·0x000038·0x000038·R···0x416 ··NOTE···········0x000270·0x0000000000000270·0x0000000000000270·0x000038·0x000038·R···0x4
  
17 ·Section·to·Segment·mapping:17 ·Section·to·Segment·mapping:
18 ··Segment·Sections...18 ··Segment·Sections...
19 ···00·····19 ···00·····
20 ···01·····.note.android.ident·.note.gnu.build-id·.dynsym·.gnu.version·.gnu.version_r·.gnu.hash·.dynstr·.rela.dyn·.relr.dyn·.rela.plt·.rodata·.gcc_except_table·.eh_frame_hdr·.eh_frame·20 ···01·····.note.android.ident·.note.gnu.build-id·.dynsym·.gnu.version·.gnu.version_r·.gnu.hash·.dynstr·.rela.dyn·.relr.dyn·.rela.plt·.rodata·.gcc_except_table·.eh_frame_hdr·.eh_frame·
3.37 KB
readelf --wide --sections {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 There·are·27·section·headers,·starting·at·offset·0x3eba0:1 There·are·27·section·headers,·starting·at·offset·0x3eb88:
  
2 Section·Headers:2 Section·Headers:
3 ··[Nr]·Name··············Type············Address··········Off····Size···ES·Flg·Lk·Inf·Al3 ··[Nr]·Name··············Type············Address··········Off····Size···ES·Flg·Lk·Inf·Al
4 ··[·0]···················NULL············0000000000000000·000000·000000·00······0···0··04 ··[·0]···················NULL············0000000000000000·000000·000000·00······0···0··0
5 ··[·1]·.note.android.ident·NOTE············0000000000000270·000270·000018·00···A··0···0··45 ··[·1]·.note.android.ident·NOTE············0000000000000270·000270·000018·00···A··0···0··4
6 ··[·2]·.note.gnu.build-id·NOTE············0000000000000288·000288·000020·00···A··0···0··46 ··[·2]·.note.gnu.build-id·NOTE············0000000000000288·000288·000020·00···A··0···0··4
7 ··[·3]·.dynsym···········DYNSYM··········00000000000002a8·0002a8·006438·18···A··7···1··87 ··[·3]·.dynsym···········DYNSYM··········00000000000002a8·0002a8·006438·18···A··7···1··8
Offset 10, 27 lines modifiedOffset 10, 27 lines modified
10 ··[·5]·.gnu.version_r····VERNEED·········0000000000006f3c·006f3c·000060·00···A··7···2··410 ··[·5]·.gnu.version_r····VERNEED·········0000000000006f3c·006f3c·000060·00···A··7···2··4
11 ··[·6]·.gnu.hash·········GNU_HASH········0000000000006fa0·006fa0·001a28·00···A··3···0··811 ··[·6]·.gnu.hash·········GNU_HASH········0000000000006fa0·006fa0·001a28·00···A··3···0··8
12 ··[·7]·.dynstr···········STRTAB··········00000000000089c8·0089c8·00a839·00···A··0···0··112 ··[·7]·.dynstr···········STRTAB··········00000000000089c8·0089c8·00a839·00···A··0···0··1
13 ··[·8]·.rela.dyn·········LOOS+0x2········0000000000013208·013208·0014cc·01···A··3···0··813 ··[·8]·.rela.dyn·········LOOS+0x2········0000000000013208·013208·0014cc·01···A··3···0··8
14 ··[·9]·.relr.dyn·········00000013:·<unknown>·00000000000146d8·0146d8·000088·08···A··0···0··814 ··[·9]·.relr.dyn·········00000013:·<unknown>·00000000000146d8·0146d8·000088·08···A··0···0··8
15 ··[10]·.rela.plt·········RELA············0000000000014760·014760·0019c8·18··AI··3··22··815 ··[10]·.rela.plt·········RELA············0000000000014760·014760·0019c8·18··AI··3··22··8
16 ··[11]·.rodata···········PROGBITS········0000000000016130·016130·001128·00·AMS··0···0·1616 ··[11]·.rodata···········PROGBITS········0000000000016130·016130·001128·00·AMS··0···0·16
17 ··[12]·.gcc_except_table·PROGBITS········0000000000017258·017258·000c68·00···A··0···0··417 ··[12]·.gcc_except_table·PROGBITS········0000000000017258·017258·000c6c·00···A··0···0··4
18 ··[13]·.eh_frame_hdr·····PROGBITS········0000000000017ec0·017ec0·0014d4·00···A··0···0··418 ··[13]·.eh_frame_hdr·····PROGBITS········0000000000017ec4·017ec4·0014d4·00···A··0···0··4
19 ··[14]·.eh_frame·········PROGBITS········0000000000019398·019398·005a94·00···A··0···0··819 ··[14]·.eh_frame·········PROGBITS········0000000000019398·019398·005aa4·00···A··0···0··8
20 ··[15]·.text·············PROGBITS········000000000001f000·01f000·01aab0·00··AX··0···0··420 ··[15]·.text·············PROGBITS········000000000001f000·01f000·01a754·00··AX··0···0··4
21 ··[16]·.plt··············PROGBITS········0000000000039ab0·039ab0·001150·00··AX··0···0·1621 ··[16]·.plt··············PROGBITS········0000000000039760·039760·001150·00··AX··0···0·16
22 ··[17]·.data.rel.ro······PROGBITS········000000000003b000·03b000·001f90·00··WA··0···0··822 ··[17]·.data.rel.ro······PROGBITS········000000000003b000·03b000·001f90·00··WA··0···0··8
23 ··[18]·.fini_array·······FINI_ARRAY······000000000003cf90·03cf90·000010·00··WA··0···0··823 ··[18]·.fini_array·······FINI_ARRAY······000000000003cf90·03cf90·000010·00··WA··0···0··8
24 ··[19]·.init_array·······INIT_ARRAY······000000000003cfa0·03cfa0·000028·00··WA··0···0··824 ··[19]·.init_array·······INIT_ARRAY······000000000003cfa0·03cfa0·000028·00··WA··0···0··8
25 ··[20]·.dynamic··········DYNAMIC·········000000000003cfc8·03cfc8·000200·10··WA··7···0··825 ··[20]·.dynamic··········DYNAMIC·········000000000003cfc8·03cfc8·000200·10··WA··7···0··8
26 ··[21]·.got··············PROGBITS········000000000003d1c8·03d1c8·0002c0·00··WA··0···0··826 ··[21]·.got··············PROGBITS········000000000003d1c8·03d1c8·0002c0·00··WA··0···0··8
27 ··[22]·.got.plt··········PROGBITS········000000000003d488·03d488·0008b0·00··WA··0···0··827 ··[22]·.got.plt··········PROGBITS········000000000003d488·03d488·0008b0·00··WA··0···0··8
28 ··[23]·.data·············PROGBITS········000000000003ed38·03dd38·000050·00··WA··0···0··828 ··[23]·.data·············PROGBITS········000000000003ed38·03dd38·000050·00··WA··0···0··8
29 ··[24]·.bss··············NOBITS··········000000000003ed90·03dd88·0006f0·00··WA··0···0·1629 ··[24]·.bss··············NOBITS··········000000000003ed90·03dd88·0006f0·00··WA··0···0·16
30 ··[25]·.shstrtab·········STRTAB··········0000000000000000·03dd88·000114·00······0···0··130 ··[25]·.shstrtab·········STRTAB··········0000000000000000·03dd88·000114·00······0···0··1
31 ··[26]·.gnu_debugdata····PROGBITS········0000000000000000·03de9c·000d00·00······0···0··131 ··[26]·.gnu_debugdata····PROGBITS········0000000000000000·03de9c·000ce8·00······0···0··1
32 Key·to·Flags:32 Key·to·Flags:
33 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),33 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),
34 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),34 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),
35 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),35 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),
36 ··p·(processor·specific)36 ··p·(processor·specific)
601 B
readelf --wide --notes {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
  
1 Displaying·notes·found·in:·.note.android.ident1 Displaying·notes·found·in:·.note.android.ident
2 ··Owner················Data·size·»  Description2 ··Owner················Data·size·»  Description
3 ··Android··············0x00000004»      NT_VERSION·(version)»   ···description·data:·1f·00·00·00·3 ··Android··············0x00000004»      NT_VERSION·(version)»   ···description·data:·1f·00·00·00·
  
4 Displaying·notes·found·in:·.note.gnu.build-id4 Displaying·notes·found·in:·.note.gnu.build-id
5 ··Owner················Data·size·»  Description5 ··Owner················Data·size·»  Description
6 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·065d1e53870ae2a1acdd3b8815fd2cbe6 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·1190958f1b8b19fa06b0b53c90389e7b
305 B
stat {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
  
1 ··Size:·258656····»    Blocks:·512········IO·Block:·4096···regular·file1 ··Size:·258632····»    Blocks:·512········IO·Block:·4096···regular·file
2 Links:·12 Links:·1
3 Access:·(0644/-rw-r--r--)··Uid:·(·1001/·····dev)···Gid:·(·1001/·····dev)3 Access:·(0644/-rw-r--r--)··Uid:·(·1001/·····dev)···Gid:·(·1001/·····dev)
  
4 Modify:·1970-01-01·00:00:00.000000000·+00004 Modify:·1970-01-01·00:00:00.000000000·+0000
  
  
3.81 KB
/home/dev/aosp/build/android-12.0.0_r4/raven-user/Google/system.img.apexes/com.google.android.os.statsd.apex-apex_payload.img.mount/lib64/libstatssocket.so vs.
/home/dev/aosp/build/android-12.0.0_r4/aosp_raven-user/Ubuntu18.04/system.img.apexes/com.android.os.statsd.apex-apex_payload.img.mount/lib64/libstatssocket.so
1.26 KB
readelf --wide --program-header {}
    
Offset 3, 15 lines modifiedOffset 3, 15 lines modified
3 Entry·point·0x20003 Entry·point·0x2000
4 There·are·10·program·headers,·starting·at·offset·644 There·are·10·program·headers,·starting·at·offset·64
  
5 Program·Headers:5 Program·Headers:
6 ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align6 ··Type···········Offset···VirtAddr···········PhysAddr···········FileSiz··MemSiz···Flg·Align
7 ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x000230·0x000230·R···0x87 ··PHDR···········0x000040·0x0000000000000040·0x0000000000000040·0x000230·0x000230·R···0x8
8 ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x001534·0x001534·R···0x10008 ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x001534·0x001534·R···0x1000
9 ··LOAD···········0x002000·0x0000000000002000·0x0000000000002000·0x001d30·0x001d30·R·E·0x10009 ··LOAD···········0x002000·0x0000000000002000·0x0000000000002000·0x001cf0·0x001cf0·R·E·0x1000
10 ··LOAD···········0x004000·0x0000000000004000·0x0000000000004000·0x0002c0·0x0002c0·RW··0x100010 ··LOAD···········0x004000·0x0000000000004000·0x0000000000004000·0x0002c0·0x0002c0·RW··0x1000
11 ··LOAD···········0x0042c0·0x00000000000052c0·0x00000000000052c0·0x000048·0x00007c·RW··0x100011 ··LOAD···········0x0042c0·0x00000000000052c0·0x00000000000052c0·0x000048·0x00007c·RW··0x1000
12 ··DYNAMIC········0x004018·0x0000000000004018·0x0000000000004018·0x0001b0·0x0001b0·RW··0x812 ··DYNAMIC········0x004018·0x0000000000004018·0x0000000000004018·0x0001b0·0x0001b0·RW··0x8
13 ··GNU_RELRO······0x004000·0x0000000000004000·0x0000000000004000·0x0002c0·0x001000·R···0x113 ··GNU_RELRO······0x004000·0x0000000000004000·0x0000000000004000·0x0002c0·0x001000·R···0x1
14 ··GNU_EH_FRAME···0x000f0c·0x0000000000000f0c·0x0000000000000f0c·0x00014c·0x00014c·R···0x414 ··GNU_EH_FRAME···0x000f0c·0x0000000000000f0c·0x0000000000000f0c·0x00014c·0x00014c·R···0x4
15 ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··015 ··GNU_STACK······0x000000·0x0000000000000000·0x0000000000000000·0x000000·0x000000·RW··0
16 ··NOTE···········0x000270·0x0000000000000270·0x0000000000000270·0x000038·0x000038·R···0x416 ··NOTE···········0x000270·0x0000000000000270·0x0000000000000270·0x000038·0x000038·R···0x4
1.66 KB
readelf --wide --sections {}
    
Offset 12, 16 lines modifiedOffset 12, 16 lines modified
12 ··[·7]·.dynstr···········STRTAB··········000000000000089c·00089c·00036f·00···A··0···0··112 ··[·7]·.dynstr···········STRTAB··········000000000000089c·00089c·00036f·00···A··0···0··1
13 ··[·8]·.rela.dyn·········LOOS+0x2········0000000000000c10·000c10·000012·01···A··3···0··813 ··[·8]·.rela.dyn·········LOOS+0x2········0000000000000c10·000c10·000012·01···A··3···0··8
14 ··[·9]·.relr.dyn·········00000013:·<unknown>·0000000000000c28·000c28·000020·08···A··0···0··814 ··[·9]·.relr.dyn·········00000013:·<unknown>·0000000000000c28·000c28·000020·08···A··0···0··8
15 ··[10]·.rela.plt·········RELA············0000000000000c48·000c48·000288·18··AI··3··20··815 ··[10]·.rela.plt·········RELA············0000000000000c48·000c48·000288·18··AI··3··20··8
16 ··[11]·.rodata···········PROGBITS········0000000000000ed0·000ed0·00003c·00·AMS··0···0·1616 ··[11]·.rodata···········PROGBITS········0000000000000ed0·000ed0·00003c·00·AMS··0···0·16
17 ··[12]·.eh_frame_hdr·····PROGBITS········0000000000000f0c·000f0c·00014c·00···A··0···0··417 ··[12]·.eh_frame_hdr·····PROGBITS········0000000000000f0c·000f0c·00014c·00···A··0···0··4
18 ··[13]·.eh_frame·········PROGBITS········0000000000001058·001058·0004dc·00···A··0···0··818 ··[13]·.eh_frame·········PROGBITS········0000000000001058·001058·0004dc·00···A··0···0··8
19 ··[14]·.text·············PROGBITS········0000000000002000·002000·001b58·00··AX··0···0··419 ··[14]·.text·············PROGBITS········0000000000002000·002000·001b1c·00··AX··0···0··4
20 ··[15]·.plt··············PROGBITS········0000000000003b60·003b60·0001d0·00··AX··0···0·1620 ··[15]·.plt··············PROGBITS········0000000000003b20·003b20·0001d0·00··AX··0···0·16
21 ··[16]·.data.rel.ro······PROGBITS········0000000000004000·004000·000008·00··WA··0···0··821 ··[16]·.data.rel.ro······PROGBITS········0000000000004000·004000·000008·00··WA··0···0··8
22 ··[17]·.fini_array·······FINI_ARRAY······0000000000004008·004008·000010·00··WA··0···0··822 ··[17]·.fini_array·······FINI_ARRAY······0000000000004008·004008·000010·00··WA··0···0··8
23 ··[18]·.dynamic··········DYNAMIC·········0000000000004018·004018·0001b0·10··WA··7···0··823 ··[18]·.dynamic··········DYNAMIC·········0000000000004018·004018·0001b0·10··WA··7···0··8
24 ··[19]·.got··············PROGBITS········00000000000041c8·0041c8·000008·00··WA··0···0··824 ··[19]·.got··············PROGBITS········00000000000041c8·0041c8·000008·00··WA··0···0··8
25 ··[20]·.got.plt··········PROGBITS········00000000000041d0·0041d0·0000f0·00··WA··0···0··825 ··[20]·.got.plt··········PROGBITS········00000000000041d0·0041d0·0000f0·00··WA··0···0··8
26 ··[21]·.data·············PROGBITS········00000000000052c0·0042c0·000048·00··WA··0···0··826 ··[21]·.data·············PROGBITS········00000000000052c0·0042c0·000048·00··WA··0···0··8
27 ··[22]·.bss··············NOBITS··········0000000000005308·004308·000034·00··WA··0···0··427 ··[22]·.bss··············NOBITS··········0000000000005308·004308·000034·00··WA··0···0··4
601 B
readelf --wide --notes {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
  
1 Displaying·notes·found·in:·.note.android.ident1 Displaying·notes·found·in:·.note.android.ident
2 ··Owner················Data·size·»  Description2 ··Owner················Data·size·»  Description
3 ··Android··············0x00000004»      NT_VERSION·(version)»   ···description·data:·1f·00·00·00·3 ··Android··············0x00000004»      NT_VERSION·(version)»   ···description·data:·1f·00·00·00·
  
4 Displaying·notes·found·in:·.note.gnu.build-id4 Displaying·notes·found·in:·.note.gnu.build-id
5 ··Owner················Data·size·»  Description5 ··Owner················Data·size·»  Description
6 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·f0bb503c8af447e8f5bac24976888ce96 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·1a6fac3280605be63805e94b271f09e3