12.4 KB
/home/dev/aosp/build/android-11.0.0_r31/crosshatch-user/Google/system.img.apexes/com.google.android.resolv.apex-apex_payload.img.mount vs.
/home/dev/aosp/build/android-11.0.0_r31/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.resolv.apex-apex_payload.img.mount
413 B
/home/dev/aosp/build/android-11.0.0_r31/crosshatch-user/Google/system.img.apexes/com.google.android.resolv.apex-apex_payload.img.mount/apex_manifest.json vs.
/home/dev/aosp/build/android-11.0.0_r31/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.resolv.apex-apex_payload.img.mount/apex_manifest.json
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
1 {1 {
2 ··"name":·"com.android.resolv",·2 ··"name":·"com.android.resolv",·
3 ··"version":·3009016003 ··"version":·300000000
4 }4 }
935 B
/home/dev/aosp/build/android-11.0.0_r31/crosshatch-user/Google/system.img.apexes/com.google.android.resolv.apex-apex_payload.img.mount/apex_manifest.pb vs.
/home/dev/aosp/build/android-11.0.0_r31/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.resolv.apex-apex_payload.img.mount/apex_manifest.pb
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
00000000:·0a12·636f·6d2e·616e·6472·6f69·642e·7265··..com.android.re00000000:·0a12·636f·6d2e·616e·6472·6f69·642e·7265··..com.android.re
00000010:·736f·6c76·10e0·c9bd·8f01·3a11·6c69·626e··solv......:.libn00000010:·736f·6c76·1080·c686·8f01·3a11·6c69·626e··solv......:.libn
00000020:·6574·645f·7265·736f·6c76·2e73·6f42·106c··etd_resolv.soB.l00000020:·6574·645f·7265·736f·6c76·2e73·6f42·106c··etd_resolv.soB.l
00000030:·6962·6269·6e64·6572·5f6e·646b·2e73·6f42··ibbinder_ndk.soB00000030:·6962·6269·6e64·6572·5f6e·646b·2e73·6f42··ibbinder_ndk.soB
00000040:·076c·6962·632e·736f·4208·6c69·6264·6c2e··.libc.soB.libdl.00000040:·076c·6962·632e·736f·4208·6c69·6264·6c2e··.libc.soB.libdl.
00000050:·736f·4209·6c69·626c·6f67·2e73·6f42·076c··soB.liblog.soB.l00000050:·736f·4209·6c69·626c·6f67·2e73·6f42·076c··soB.liblog.soB.l
00000060:·6962·6d2e·736f·4211·6c69·6273·7461·7473··ibm.soB.libstats00000060:·6962·6d2e·736f·4211·6c69·6273·7461·7473··ibm.soB.libstats
00000070:·736f·636b·6574·2e73·6f···················socket.so00000070:·736f·636b·6574·2e73·6f···················socket.so
10.9 KB
/home/dev/aosp/build/android-11.0.0_r31/crosshatch-user/Google/system.img.apexes/com.google.android.resolv.apex-apex_payload.img.mount/lib64 vs.
/home/dev/aosp/build/android-11.0.0_r31/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.resolv.apex-apex_payload.img.mount/lib64
10.6 KB
/home/dev/aosp/build/android-11.0.0_r31/crosshatch-user/Google/system.img.apexes/com.google.android.resolv.apex-apex_payload.img.mount/lib64/libnetd_resolv.so vs.
/home/dev/aosp/build/android-11.0.0_r31/aosp_crosshatch-user/Ubuntu18.04/system.img.apexes/com.android.resolv.apex-apex_payload.img.mount/lib64/libnetd_resolv.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:···············0x2300011 ··Entry·point·address:···············0x23000
12 ··Start·of·program·headers:··········64·(bytes·into·file)12 ··Start·of·program·headers:··········64·(bytes·into·file)
13 ··Start·of·section·headers:··········880944·(bytes·into·file)13 ··Start·of·section·headers:··········885232·(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:·········2819 ··Number·of·section·headers:·········28
20 ··Section·header·string·table·index:·2620 ··Section·header·string·table·index:·26
2.1 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·0x230003 Entry·point·0x23000
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·0x02202c·0x02202c·R···0x10008 ··LOAD···········0x000000·0x0000000000000000·0x0000000000000000·0x02203c·0x02203c·R···0x1000
9 ··LOAD···········0x023000·0x0000000000023000·0x0000000000023000·0x0a6f80·0x0a6f80·R·E·0x10009 ··LOAD···········0x023000·0x0000000000023000·0x0000000000023000·0x0a7020·0x0a7020·R·E·0x1000
10 ··LOAD···········0x0ca000·0x00000000000ca000·0x00000000000ca000·0x004730·0x004730·RW··0x100010 ··LOAD···········0x0cb000·0x00000000000cb000·0x00000000000cb000·0x004730·0x004730·RW··0x1000
11 ··LOAD···········0x0ce730·0x00000000000cf730·0x00000000000cf730·0x0000f0·0x002894·RW··0x100011 ··LOAD···········0x0cf730·0x00000000000d0730·0x00000000000d0730·0x0000f0·0x002894·RW··0x1000
12 ··DYNAMIC········0x0cda78·0x00000000000cda78·0x00000000000cda78·0x000230·0x000230·RW··0x812 ··DYNAMIC········0x0cea78·0x00000000000cea78·0x00000000000cea78·0x000230·0x000230·RW··0x8
13 ··GNU_RELRO······0x0ca000·0x00000000000ca000·0x00000000000ca000·0x004730·0x005000·R···0x113 ··GNU_RELRO······0x0cb000·0x00000000000cb000·0x00000000000cb000·0x004730·0x005000·R···0x1
14 ··GNU_EH_FRAME···0x00fee0·0x000000000000fee0·0x000000000000fee0·0x00335c·0x00335c·R···0x414 ··GNU_EH_FRAME···0x00fef0·0x000000000000fef0·0x000000000000fef0·0x00335c·0x00335c·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_d·.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_d·.gnu.version_r·.gnu.hash·.dynstr·.rela.dyn·.relr.dyn·.rela.plt·.rodata·.gcc_except_table·.eh_frame_hdr·.eh_frame·
4.34 KB
readelf --wide --sections {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 There·are·28·section·headers,·starting·at·offset·0xd7130:1 There·are·28·section·headers,·starting·at·offset·0xd81f0:
  
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·001b90·18···A··8···1··87 ··[·3]·.dynsym···········DYNSYM··········00000000000002a8·0002a8·001b90·18···A··8···1··8
Offset 10, 28 lines modifiedOffset 10, 28 lines modified
10 ··[·5]·.gnu.version_d····VERDEF··········0000000000002084·002084·000038·00···A··8···2··410 ··[·5]·.gnu.version_d····VERDEF··········0000000000002084·002084·000038·00···A··8···2··4
11 ··[·6]·.gnu.version_r····VERNEED·········00000000000020bc·0020bc·0000d0·00···A··8···4··411 ··[·6]·.gnu.version_r····VERNEED·········00000000000020bc·0020bc·0000d0·00···A··8···4··4
12 ··[·7]·.gnu.hash·········GNU_HASH········0000000000002190·002190·000094·00···A··3···0··812 ··[·7]·.gnu.hash·········GNU_HASH········0000000000002190·002190·000094·00···A··3···0··8
13 ··[·8]·.dynstr···········STRTAB··········0000000000002224·002224·001198·00···A··0···0··113 ··[·8]·.dynstr···········STRTAB··········0000000000002224·002224·001198·00···A··0···0··1
14 ··[·9]·.rela.dyn·········LOOS+0x2········00000000000033c0·0033c0·0000bb·01···A··3···0··814 ··[·9]·.rela.dyn·········LOOS+0x2········00000000000033c0·0033c0·0000bb·01···A··3···0··8
15 ··[10]·.relr.dyn·········LOOS+0xfffff00··0000000000003480·003480·000118·08···A··0···0··815 ··[10]·.relr.dyn·········LOOS+0xfffff00··0000000000003480·003480·000118·08···A··0···0··8
16 ··[11]·.rela.plt·········RELA············0000000000003598·003598·001aa0·18···A··3··23··816 ··[11]·.rela.plt·········RELA············0000000000003598·003598·001aa0·18···A··3··23··8
17 ··[12]·.rodata···········PROGBITS········0000000000005040·005040·0091d8·00·AMS··0···0·1617 ··[12]·.rodata···········PROGBITS········0000000000005040·005040·0091e8·00·AMS··0···0·16
18 ··[13]·.gcc_except_table·PROGBITS········000000000000e218·00e218·001cc8·00···A··0···0··418 ··[13]·.gcc_except_table·PROGBITS········000000000000e228·00e228·001cc8·00···A··0···0··4
19 ··[14]·.eh_frame_hdr·····PROGBITS········000000000000fee0·00fee0·00335c·00···A··0···0··419 ··[14]·.eh_frame_hdr·····PROGBITS········000000000000fef0·00fef0·00335c·00···A··0···0··4
20 ··[15]·.eh_frame·········PROGBITS········0000000000013240·013240·00edec·00···A··0···0··820 ··[15]·.eh_frame·········PROGBITS········0000000000013250·013250·00edec·00···A··0···0··8
21 ··[16]·.text·············PROGBITS········0000000000023000·023000·0a5da0·00··AX··0···0·409621 ··[16]·.text·············PROGBITS········0000000000023000·023000·0a5e40·00··AX··0···0·4096
22 ··[17]·.plt··············PROGBITS········00000000000c8da0·0c8da0·0011e0·00··AX··0···0·1622 ··[17]·.plt··············PROGBITS········00000000000c8e40·0c8e40·0011e0·00··AX··0···0·16
23 ··[18]·.data.rel.ro······PROGBITS········00000000000ca000·0ca000·003970·00··WA··0···0··823 ··[18]·.data.rel.ro······PROGBITS········00000000000cb000·0cb000·003970·00··WA··0···0··8
24 ··[19]·.fini_array·······FINI_ARRAY······00000000000cd970·0cd970·000010·00··WA··0···0··824 ··[19]·.fini_array·······FINI_ARRAY······00000000000ce970·0ce970·000010·00··WA··0···0··8
25 ··[20]·.init_array·······INIT_ARRAY······00000000000cd980·0cd980·0000f8·00··WA··0···0··825 ··[20]·.init_array·······INIT_ARRAY······00000000000ce980·0ce980·0000f8·00··WA··0···0··8
26 ··[21]·.dynamic··········DYNAMIC·········00000000000cda78·0cda78·000230·10··WA··8···0··826 ··[21]·.dynamic··········DYNAMIC·········00000000000cea78·0cea78·000230·10··WA··8···0··8
27 ··[22]·.got··············PROGBITS········00000000000cdca8·0cdca8·000190·00··WA··0···0··827 ··[22]·.got··············PROGBITS········00000000000ceca8·0ceca8·000190·00··WA··0···0··8
28 ··[23]·.got.plt··········PROGBITS········00000000000cde38·0cde38·0008f8·00··WA··0···0··828 ··[23]·.got.plt··········PROGBITS········00000000000cee38·0cee38·0008f8·00··WA··0···0··8
29 ··[24]·.data·············PROGBITS········00000000000cf730·0ce730·0000f0·00··WA··0···0··829 ··[24]·.data·············PROGBITS········00000000000d0730·0cf730·0000f0·00··WA··0···0··8
30 ··[25]·.bss··············NOBITS··········00000000000cf820·0ce820·0027a4·00··WA··0···0·1630 ··[25]·.bss··············NOBITS··········00000000000d0820·0cf820·0027a4·00··WA··0···0·16
31 ··[26]·.shstrtab·········STRTAB··········0000000000000000·0ce820·000123·00······0···0··131 ··[26]·.shstrtab·········STRTAB··········0000000000000000·0cf820·000123·00······0···0··1
32 ··[27]·.gnu_debugdata····PROGBITS········0000000000000000·0ce943·0087ec·00······0···0··132 ··[27]·.gnu_debugdata····PROGBITS········0000000000000000·0cf943·0088a8·00······0···0··1
33 Key·to·Flags:33 Key·to·Flags:
34 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),34 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),
35 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),35 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),
36 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),36 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),
37 ··p·(processor·specific)37 ··p·(processor·specific)
2.1 KB
readelf --wide --dynamic {}
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
  
1 Dynamic·section·at·offset·0xcda78·contains·35·entries:1 Dynamic·section·at·offset·0xcea78·contains·35·entries:
2 ··Tag········Type·························Name/Value2 ··Tag········Type·························Name/Value
3 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libbinder_ndk.so]3 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libbinder_ndk.so]
4 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libcrypto.so]4 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libcrypto.so]
5 ·0x0000000000000001·(NEEDED)·············Shared·library:·[liblog.so]5 ·0x0000000000000001·(NEEDED)·············Shared·library:·[liblog.so]
6 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libssl.so]6 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libssl.so]
7 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libc.so]7 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libc.so]
8 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libm.so]8 ·0x0000000000000001·(NEEDED)·············Shared·library:·[libm.so]
Offset 15, 24 lines modifiedOffset 15, 24 lines modified
15 ·0x0000000060000012·(Operating·System·specific:·60000012)················0xbb15 ·0x0000000060000012·(Operating·System·specific:·60000012)················0xbb
16 ·0x0000000000000009·(RELAENT)············24·(bytes)16 ·0x0000000000000009·(RELAENT)············24·(bytes)
17 ·0x000000006fffe000·(Operating·System·specific:·6fffe000)················0x348017 ·0x000000006fffe000·(Operating·System·specific:·6fffe000)················0x3480
18 ·0x000000006fffe001·(Operating·System·specific:·6fffe001)················0x11818 ·0x000000006fffe001·(Operating·System·specific:·6fffe001)················0x118
19 ·0x000000006fffe003·(Operating·System·specific:·6fffe003)················0x819 ·0x000000006fffe003·(Operating·System·specific:·6fffe003)················0x8
20 ·0x0000000000000017·(JMPREL)·············0x359820 ·0x0000000000000017·(JMPREL)·············0x3598
21 ·0x0000000000000002·(PLTRELSZ)···········6816·(bytes)21 ·0x0000000000000002·(PLTRELSZ)···········6816·(bytes)
22 ·0x0000000000000003·(PLTGOT)·············0xcde3822 ·0x0000000000000003·(PLTGOT)·············0xcee38
23 ·0x0000000000000014·(PLTREL)·············RELA23 ·0x0000000000000014·(PLTREL)·············RELA
24 ·0x0000000000000006·(SYMTAB)·············0x2a824 ·0x0000000000000006·(SYMTAB)·············0x2a8
25 ·0x000000000000000b·(SYMENT)·············24·(bytes)25 ·0x000000000000000b·(SYMENT)·············24·(bytes)
26 ·0x0000000000000005·(STRTAB)·············0x222426 ·0x0000000000000005·(STRTAB)·············0x2224
27 ·0x000000000000000a·(STRSZ)··············4504·(bytes)27 ·0x000000000000000a·(STRSZ)··············4504·(bytes)
28 ·0x000000006ffffef5·(GNU_HASH)···········0x219028 ·0x000000006ffffef5·(GNU_HASH)···········0x2190
29 ·0x0000000000000019·(INIT_ARRAY)·········0xcd98029 ·0x0000000000000019·(INIT_ARRAY)·········0xce980
30 ·0x000000000000001b·(INIT_ARRAYSZ)·······248·(bytes)30 ·0x000000000000001b·(INIT_ARRAYSZ)·······248·(bytes)
31 ·0x000000000000001a·(FINI_ARRAY)·········0xcd97031 ·0x000000000000001a·(FINI_ARRAY)·········0xce970
32 ·0x000000000000001c·(FINI_ARRAYSZ)·······16·(bytes)32 ·0x000000000000001c·(FINI_ARRAYSZ)·······16·(bytes)
33 ·0x000000006ffffff0·(VERSYM)·············0x1e3833 ·0x000000006ffffff0·(VERSYM)·············0x1e38
34 ·0x000000006ffffffc·(VERDEF)·············0x208434 ·0x000000006ffffffc·(VERDEF)·············0x2084
35 ·0x000000006ffffffd·(VERDEFNUM)··········235 ·0x000000006ffffffd·(VERDEFNUM)··········2
36 ·0x000000006ffffffe·(VERNEED)············0x20bc36 ·0x000000006ffffffe·(VERNEED)············0x20bc
37 ·0x000000006fffffff·(VERNEEDNUM)·········437 ·0x000000006fffffff·(VERNEEDNUM)·········4
38 ·0x0000000000000000·(NULL)···············0x038 ·0x0000000000000000·(NULL)···············0x0
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:·1e·00·00·00·3 ··Android··············0x00000004»      NT_VERSION·(version)»   ···description·data:·1e·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:·4de5203be8750929d0edf267e867d2b56 ··GNU··················0x00000010»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·084d026175b0b3b065df9806cafd7c96
305 B
stat {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
  
1 ··Size:·882736····»    Blocks:·1728·······IO·Block:·4096···regular·file1 ··Size:·887024····»    Blocks:·1736·······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