1
1
mirror of https://github.com/wader/fq.git synced 2024-10-26 20:06:29 +03:00

elf: Fix broken static and segfault tests

This commit is contained in:
Mattias Wadman 2023-08-02 22:01:20 +02:00
parent 9c3d09b994
commit 56fec2aa7e
36 changed files with 25228 additions and 20198 deletions

View File

@ -31,7 +31,7 @@ a_stripped: a_dynamic
strip -o $@ $<
a_static: a.o libbbb.a
$(CC) -o $@ $+ libbbb.a
$(CC) -static -o $@ $+ libbbb.a
segfault: segfault.o
$(CC) -o $@ $<

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -23,12 +23,12 @@ $ fq -d elf dv coredump
0x00030|00 00 |.. | shnum: 0 0x30-0x31.7 (2)
0x00030| 00 00 | .. | shstrndx: 0 0x32-0x33.7 (2)
| | | program_headers[0:17]: 0x34-0x2efff.7 (192460)
| | | [0]{}: program_header 0x34-0xcff.7 (3276)
| | | [0]{}: program_header 0x34-0xd07.7 (3284)
0x00030| 04 00 00 00 | .... | type: "note" (4) (Auxiliary information) 0x34-0x37.7 (4)
0x00030| 54 02 00 00 | T... | offset: 0x254 0x38-0x3b.7 (4)
0x00030| 00 00 00 00| ....| vaddr: 0x0 0x3c-0x3f.7 (4)
0x00040|00 00 00 00 |.... | paddr: 0x0 0x40-0x43.7 (4)
0x00040| ac 0a 00 00 | .... | filesz: 2732 0x44-0x47.7 (4)
0x00040| b4 0a 00 00 | .... | filesz: 2740 0x44-0x47.7 (4)
0x00040| 00 00 00 00 | .... | memsz: 0 0x48-0x4b.7 (4)
| | | flags{}: 0x4c-0x4f.7 (4)
0x00040| 00 | . | unused0: 0 0x4c-0x4c.4 (0.5)
@ -37,7 +37,7 @@ $ fq -d elf dv coredump
0x00040| 00 | . | x: false 0x4c.7-0x4c.7 (0.1)
0x00040| 00 00 00| ...| unused1: 0 0x4d-0x4f.7 (3)
0x00050|00 00 00 00 |.... | align: 0 0x50-0x53.7 (4)
| | | notes[0:9]: 0x254-0xcff.7 (2732)
| | | notes[0:9]: 0x254-0xd07.7 (2740)
| | | [0]{}: note 0x254-0x2f7.7 (164)
0x00250| 05 00 00 00 | .... | n_namesz: 5 0x254-0x257.7 (4)
0x00250| 90 00 00 00 | .... | n_descsz: 144 0x258-0x25b.7 (4)
@ -54,7 +54,7 @@ $ fq -d elf dv coredump
0x00300| 43 4f 52 45 00 | CORE. | name: "CORE" 0x304-0x308.7 (5)
0x00300| 00 00 00 | ... | name_align: raw bits 0x309-0x30b.7 (3)
0x00300| 00 52 00 00| .R..| desc: raw bits 0x30c-0x387.7 (124)
0x00310|00 06 40 00 00 00 00 00 24 00 00 00 23 00 00 00|..@.....$...#...|
0x00310|00 06 40 00 00 00 00 00 23 00 00 00 22 00 00 00|..@.....#..."...|
* |until 0x387.7 (124) | |
| | | [2]{}: note 0x388-0x41b.7 (148)
0x00380| 05 00 00 00 | .... | n_namesz: 5 0x388-0x38b.7 (4)
@ -63,64 +63,65 @@ $ fq -d elf dv coredump
0x00390| 43 4f 52 45 00 | CORE. | name: "CORE" 0x394-0x398.7 (5)
0x00390| 00 00 00 | ... | name_align: raw bits 0x399-0x39b.7 (3)
0x00390| 0b 00 00 00| ....| desc: raw bits 0x39c-0x41b.7 (128)
0x003a0|00 00 00 00 01 00 00 00 44 33 22 11 00 00 00 00|........D3".....|
0x003a0|00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x41b.7 (128) | |
| | | [3]{}: note 0x41c-0x4d7.7 (188)
| | | [3]{}: note 0x41c-0x4df.7 (196)
0x00410| 05 00 00 00| ....| n_namesz: 5 0x41c-0x41f.7 (4)
0x00420|a8 00 00 00 |.... | n_descsz: 168 0x420-0x423.7 (4)
0x00420|b0 00 00 00 |.... | n_descsz: 176 0x420-0x423.7 (4)
0x00420| 06 00 00 00 | .... | n_type: "auxv" (0x6) 0x424-0x427.7 (4)
0x00420| 43 4f 52 45 00 | CORE. | name: "CORE" 0x428-0x42c.7 (5)
0x00420| 00 00 00| ...| name_align: raw bits 0x42d-0x42f.7 (3)
0x00430|20 00 00 00 40 e5 f5 f7 21 00 00 00 00 e0 f5 f7| ...@...!.......| desc: raw bits 0x430-0x4d7.7 (168)
* |until 0x4d7.7 (168) | |
| | | [4]{}: note 0x4d8-0x6d3.7 (508)
0x004d0| 05 00 00 00 | .... | n_namesz: 5 0x4d8-0x4db.7 (4)
0x004d0| e8 01 00 00| ....| n_descsz: 488 0x4dc-0x4df.7 (4)
0x004e0|45 4c 49 46 |ELIF | n_type: "file" (0x46494c45) (File info) 0x4e0-0x4e3.7 (4)
0x004e0| 43 4f 52 45 00 | CORE. | name: "CORE" 0x4e4-0x4e8.7 (5)
0x004e0| 00 00 00 | ... | name_align: raw bits 0x4e9-0x4eb.7 (3)
0x004e0| 0a 00 00 00| ....| desc: raw bits 0x4ec-0x6d3.7 (488)
0x004f0|00 10 00 00 00 80 59 56 00 90 59 56 00 00 00 00|......YV..YV....|
* |until 0x6d3.7 (488) | |
| | | [5]{}: note 0x6d4-0x753.7 (128)
0x006d0| 05 00 00 00 | .... | n_namesz: 5 0x6d4-0x6d7.7 (4)
0x006d0| 6c 00 00 00 | l... | n_descsz: 108 0x6d8-0x6db.7 (4)
0x006d0| 02 00 00 00| ....| n_type: "prfpreg" (0x2) 0x6dc-0x6df.7 (4)
0x006e0|43 4f 52 45 00 |CORE. | name: "CORE" 0x6e0-0x6e4.7 (5)
0x006e0| 00 00 00 | ... | name_align: raw bits 0x6e5-0x6e7.7 (3)
0x006e0| 7f 03 ff ff 00 00 ff ff| ........| desc: raw bits 0x6e8-0x753.7 (108)
0x006f0|ff ff ff ff 00 00 00 00 23 00 00 00 00 00 00 00|........#.......|
* |until 0x753.7 (108) | |
| | | [6]{}: note 0x754-0x967.7 (532)
0x00750| 06 00 00 00 | .... | n_namesz: 6 0x754-0x757.7 (4)
0x00750| 00 02 00 00 | .... | n_descsz: 512 0x758-0x75b.7 (4)
0x00750| 7f 2b e6 46| .+.F| n_type: "prxfpreg" (0x46e62b7f) 0x75c-0x75f.7 (4)
0x00760|4c 49 4e 55 58 00 |LINUX. | name: "LINUX" 0x760-0x765.7 (6)
0x00760| 00 00 | .. | name_align: raw bits 0x766-0x767.7 (2)
0x00760| 7f 03 00 00 00 00 00 00| ........| desc: raw bits 0x768-0x967.7 (512)
0x00770|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x967.7 (512) | |
| | | [7]{}: note 0x968-0xcbb.7 (852)
0x00960| 06 00 00 00 | .... | n_namesz: 6 0x968-0x96b.7 (4)
0x00960| 40 03 00 00| @...| n_descsz: 832 0x96c-0x96f.7 (4)
0x00970|02 02 00 00 |.... | n_type: "x86_xstate" (0x202) (x86 extended state using xsave) 0x970-0x973.7 (4)
0x00970| 4c 49 4e 55 58 00 | LINUX. | name: "LINUX" 0x974-0x979.7 (6)
0x00970| 00 00 | .. | name_align: raw bits 0x97a-0x97b.7 (2)
0x00970| 7f 03 00 00| ....| desc: raw bits 0x97c-0xcbb.7 (832)
0x00980|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0xcbb.7 (832) | |
| | | [8]{}: note 0xcbc-0xcff.7 (68)
0x00cb0| 06 00 00 00| ....| n_namesz: 6 0xcbc-0xcbf.7 (4)
0x00cc0|30 00 00 00 |0... | n_descsz: 48 0xcc0-0xcc3.7 (4)
0x00cc0| 00 02 00 00 | .... | n_type: "386_tls" (0x200) (i386 TLS slots (struct user_desc)) 0xcc4-0xcc7.7 (4)
0x00cc0| 4c 49 4e 55 58 00 | LINUX. | name: "LINUX" 0xcc8-0xccd.7 (6)
0x00cc0| 00 00| ..| name_align: raw bits 0xcce-0xccf.7 (2)
0x00cd0|0c 00 00 00 84 7c ff f7 ff ff 0f 00 51 00 00 00|.....|......Q...| desc: raw bits 0xcd0-0xcff.7 (48)
* |until 0xcff.7 (48) | |
0x00430|20 00 00 00 40 05 f0 f7 21 00 00 00 00 00 f0 f7| ...@...!.......| desc: raw bits 0x430-0x4df.7 (176)
* |until 0x4df.7 (176) | |
| | | [4]{}: note 0x4e0-0x6db.7 (508)
0x004e0|05 00 00 00 |.... | n_namesz: 5 0x4e0-0x4e3.7 (4)
0x004e0| e8 01 00 00 | .... | n_descsz: 488 0x4e4-0x4e7.7 (4)
0x004e0| 45 4c 49 46 | ELIF | n_type: "file" (0x46494c45) (File info) 0x4e8-0x4eb.7 (4)
0x004e0| 43 4f 52 45| CORE| name: "CORE" 0x4ec-0x4f0.7 (5)
0x004f0|00 |. |
0x004f0| 00 00 00 | ... | name_align: raw bits 0x4f1-0x4f3.7 (3)
0x004f0| 0a 00 00 00 00 10 00 00 00 b0 5b 56| ..........[V| desc: raw bits 0x4f4-0x6db.7 (488)
0x00500|00 c0 5b 56 00 00 00 00 00 c0 5b 56 00 d0 5b 56|..[V......[V..[V|
* |until 0x6db.7 (488) | |
| | | [5]{}: note 0x6dc-0x75b.7 (128)
0x006d0| 05 00 00 00| ....| n_namesz: 5 0x6dc-0x6df.7 (4)
0x006e0|6c 00 00 00 |l... | n_descsz: 108 0x6e0-0x6e3.7 (4)
0x006e0| 02 00 00 00 | .... | n_type: "prfpreg" (0x2) 0x6e4-0x6e7.7 (4)
0x006e0| 43 4f 52 45 00 | CORE. | name: "CORE" 0x6e8-0x6ec.7 (5)
0x006e0| 00 00 00| ...| name_align: raw bits 0x6ed-0x6ef.7 (3)
0x006f0|7f 03 ff ff 00 00 ff ff ff ff ff ff 00 00 00 00|................| desc: raw bits 0x6f0-0x75b.7 (108)
* |until 0x75b.7 (108) | |
| | | [6]{}: note 0x75c-0x96f.7 (532)
0x00750| 06 00 00 00| ....| n_namesz: 6 0x75c-0x75f.7 (4)
0x00760|00 02 00 00 |.... | n_descsz: 512 0x760-0x763.7 (4)
0x00760| 7f 2b e6 46 | .+.F | n_type: "prxfpreg" (0x46e62b7f) 0x764-0x767.7 (4)
0x00760| 4c 49 4e 55 58 00 | LINUX. | name: "LINUX" 0x768-0x76d.7 (6)
0x00760| 00 00| ..| name_align: raw bits 0x76e-0x76f.7 (2)
0x00770|7f 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| desc: raw bits 0x770-0x96f.7 (512)
* |until 0x96f.7 (512) | |
| | | [7]{}: note 0x970-0xcc3.7 (852)
0x00970|06 00 00 00 |.... | n_namesz: 6 0x970-0x973.7 (4)
0x00970| 40 03 00 00 | @... | n_descsz: 832 0x974-0x977.7 (4)
0x00970| 02 02 00 00 | .... | n_type: "x86_xstate" (0x202) (x86 extended state using xsave) 0x978-0x97b.7 (4)
0x00970| 4c 49 4e 55| LINU| name: "LINUX" 0x97c-0x981.7 (6)
0x00980|58 00 |X. |
0x00980| 00 00 | .. | name_align: raw bits 0x982-0x983.7 (2)
0x00980| 7f 03 00 00 00 00 00 00 00 00 00 00| ............| desc: raw bits 0x984-0xcc3.7 (832)
0x00990|00 00 00 00 00 00 00 00 00 00 00 00 80 1f 00 00|................|
* |until 0xcc3.7 (832) | |
| | | [8]{}: note 0xcc4-0xd07.7 (68)
0x00cc0| 06 00 00 00 | .... | n_namesz: 6 0xcc4-0xcc7.7 (4)
0x00cc0| 30 00 00 00 | 0... | n_descsz: 48 0xcc8-0xccb.7 (4)
0x00cc0| 00 02 00 00| ....| n_type: "386_tls" (0x200) (i386 TLS slots (struct user_desc)) 0xccc-0xccf.7 (4)
0x00cd0|4c 49 4e 55 58 00 |LINUX. | name: "LINUX" 0xcd0-0xcd5.7 (6)
0x00cd0| 00 00 | .. | name_align: raw bits 0xcd6-0xcd7.7 (2)
0x00cd0| 0c 00 00 00 84 9c f9 f7| ........| desc: raw bits 0xcd8-0xd07.7 (48)
0x00ce0|ff ff 0f 00 51 00 00 00 0d 00 00 00 00 00 00 00|....Q...........|
* |until 0xd07.7 (48) | |
| | | [1]{}: program_header 0x54-0xfff.7 (4012)
0x00050| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x54-0x57.7 (4)
0x00050| 00 10 00 00 | .... | offset: 0x1000 0x58-0x5b.7 (4)
0x00050| 00 80 59 56| ..YV| vaddr: 0x56598000 0x5c-0x5f.7 (4)
0x00050| 00 b0 5b 56| ..[V| vaddr: 0x565bb000 0x5c-0x5f.7 (4)
0x00060|00 00 00 00 |.... | paddr: 0x0 0x60-0x63.7 (4)
0x00060| 00 00 00 00 | .... | filesz: 0 0x64-0x67.7 (4)
0x00060| 00 10 00 00 | .... | memsz: 4096 0x68-0x6b.7 (4)
@ -135,7 +136,7 @@ $ fq -d elf dv coredump
| | | [2]{}: program_header 0x74-0xfff.7 (3980)
0x00070| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x74-0x77.7 (4)
0x00070| 00 10 00 00 | .... | offset: 0x1000 0x78-0x7b.7 (4)
0x00070| 00 90 59 56| ..YV| vaddr: 0x56599000 0x7c-0x7f.7 (4)
0x00070| 00 c0 5b 56| ..[V| vaddr: 0x565bc000 0x7c-0x7f.7 (4)
0x00080|00 00 00 00 |.... | paddr: 0x0 0x80-0x83.7 (4)
0x00080| 00 00 00 00 | .... | filesz: 0 0x84-0x87.7 (4)
0x00080| 00 10 00 00 | .... | memsz: 4096 0x88-0x8b.7 (4)
@ -150,7 +151,7 @@ $ fq -d elf dv coredump
| | | [3]{}: program_header 0x94-0xfff.7 (3948)
0x00090| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x94-0x97.7 (4)
0x00090| 00 10 00 00 | .... | offset: 0x1000 0x98-0x9b.7 (4)
0x00090| 00 a0 59 56| ..YV| vaddr: 0x5659a000 0x9c-0x9f.7 (4)
0x00090| 00 d0 5b 56| ..[V| vaddr: 0x565bd000 0x9c-0x9f.7 (4)
0x000a0|00 00 00 00 |.... | paddr: 0x0 0xa0-0xa3.7 (4)
0x000a0| 00 00 00 00 | .... | filesz: 0 0xa4-0xa7.7 (4)
0x000a0| 00 10 00 00 | .... | memsz: 4096 0xa8-0xab.7 (4)
@ -165,7 +166,7 @@ $ fq -d elf dv coredump
| | | [4]{}: program_header 0xb4-0x1fff.7 (8012)
0x000b0| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0xb4-0xb7.7 (4)
0x000b0| 00 10 00 00 | .... | offset: 0x1000 0xb8-0xbb.7 (4)
0x000b0| 00 b0 59 56| ..YV| vaddr: 0x5659b000 0xbc-0xbf.7 (4)
0x000b0| 00 e0 5b 56| ..[V| vaddr: 0x565be000 0xbc-0xbf.7 (4)
0x000c0|00 00 00 00 |.... | paddr: 0x0 0xc0-0xc3.7 (4)
0x000c0| 00 10 00 00 | .... | filesz: 4096 0xc4-0xc7.7 (4)
0x000c0| 00 10 00 00 | .... | memsz: 4096 0xc8-0xcb.7 (4)
@ -181,7 +182,7 @@ $ fq -d elf dv coredump
| | | [5]{}: program_header 0xd4-0x2fff.7 (12076)
0x000d0| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0xd4-0xd7.7 (4)
0x000d0| 00 20 00 00 | . .. | offset: 0x2000 0xd8-0xdb.7 (4)
0x000d0| 00 c0 59 56| ..YV| vaddr: 0x5659c000 0xdc-0xdf.7 (4)
0x000d0| 00 f0 5b 56| ..[V| vaddr: 0x565bf000 0xdc-0xdf.7 (4)
0x000e0|00 00 00 00 |.... | paddr: 0x0 0xe0-0xe3.7 (4)
0x000e0| 00 10 00 00 | .... | filesz: 4096 0xe4-0xe7.7 (4)
0x000e0| 00 10 00 00 | .... | memsz: 4096 0xe8-0xeb.7 (4)
@ -192,12 +193,12 @@ $ fq -d elf dv coredump
0x000e0| 06 | . | x: false 0xec.7-0xec.7 (0.1)
0x000e0| 00 00 00| ...| unused1: 0 0xed-0xef.7 (3)
0x000f0|00 10 00 00 |.... | align: 4096 0xf0-0xf3.7 (4)
0x02000|00 c0 59 56 00 00 00 00 00 00 00 00 00 00 00 00|..YV............| data: raw bits 0x2000-0x2fff.7 (4096)
0x02000|00 f0 5b 56 00 00 00 00 00 00 00 00 00 00 00 00|..[V............| data: raw bits 0x2000-0x2fff.7 (4096)
* |until 0x2fff.7 (4096) | |
| | | [6]{}: program_header 0xf4-0x2fff.7 (12044)
0x000f0| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0xf4-0xf7.7 (4)
0x000f0| 00 30 00 00 | .0.. | offset: 0x3000 0xf8-0xfb.7 (4)
0x000f0| 00 90 95 56| ...V| vaddr: 0x56959000 0xfc-0xff.7 (4)
0x000f0| 00 f0 de 56| ...V| vaddr: 0x56def000 0xfc-0xff.7 (4)
0x00100|00 00 00 00 |.... | paddr: 0x0 0x100-0x103.7 (4)
0x00100| 00 00 00 00 | .... | filesz: 0 0x104-0x107.7 (4)
0x00100| 00 10 00 00 | .... | memsz: 4096 0x108-0x10b.7 (4)
@ -212,7 +213,7 @@ $ fq -d elf dv coredump
| | | [7]{}: program_header 0x114-0x3fff.7 (16108)
0x00110| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x114-0x117.7 (4)
0x00110| 00 30 00 00 | .0.. | offset: 0x3000 0x118-0x11b.7 (4)
0x00110| 00 a0 95 56| ...V| vaddr: 0x5695a000 0x11c-0x11f.7 (4)
0x00110| 00 00 df 56| ...V| vaddr: 0x56df0000 0x11c-0x11f.7 (4)
0x00120|00 00 00 00 |.... | paddr: 0x0 0x120-0x123.7 (4)
0x00120| 00 10 00 00 | .... | filesz: 4096 0x124-0x127.7 (4)
0x00120| 00 10 00 00 | .... | memsz: 4096 0x128-0x12b.7 (4)
@ -223,12 +224,12 @@ $ fq -d elf dv coredump
0x00120| 06 | . | x: false 0x12c.7-0x12c.7 (0.1)
0x00120| 00 00 00| ...| unused1: 0 0x12d-0x12f.7 (3)
0x00130|00 10 00 00 |.... | align: 4096 0x130-0x133.7 (4)
0x03000|e9 ed 4d 0e fe 91 f9 68 00 00 00 00 aa 00 00 00|..M....h........| data: raw bits 0x3000-0x3fff.7 (4096)
0x03000|5e 1e d2 01 b9 17 c2 21 00 00 00 00 aa 00 00 00|^......!........| data: raw bits 0x3000-0x3fff.7 (4096)
* |until 0x3fff.7 (4096) | |
| | | [8]{}: program_header 0x134-0x7fff.7 (32460)
0x00130| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x134-0x137.7 (4)
0x00130| 00 40 00 00 | .@.. | offset: 0x4000 0x138-0x13b.7 (4)
0x00130| 00 a0 f5 f7| ....| vaddr: 0xf7f5a000 0x13c-0x13f.7 (4)
0x00130| 00 c0 ef f7| ....| vaddr: 0xf7efc000 0x13c-0x13f.7 (4)
0x00140|00 00 00 00 |.... | paddr: 0x0 0x140-0x143.7 (4)
0x00140| 00 40 00 00 | .@.. | filesz: 16384 0x144-0x147.7 (4)
0x00140| 00 40 00 00 | .@.. | memsz: 16384 0x148-0x14b.7 (4)
@ -244,7 +245,7 @@ $ fq -d elf dv coredump
| | | [9]{}: program_header 0x154-0x9fff.7 (40620)
0x00150| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x154-0x157.7 (4)
0x00150| 00 80 00 00 | .... | offset: 0x8000 0x158-0x15b.7 (4)
0x00150| 00 e0 f5 f7| ....| vaddr: 0xf7f5e000 0x15c-0x15f.7 (4)
0x00150| 00 00 f0 f7| ....| vaddr: 0xf7f00000 0x15c-0x15f.7 (4)
0x00160|00 00 00 00 |.... | paddr: 0x0 0x160-0x163.7 (4)
0x00160| 00 20 00 00 | . .. | filesz: 8192 0x164-0x167.7 (4)
0x00160| 00 20 00 00 | . .. | memsz: 8192 0x168-0x16b.7 (4)
@ -260,7 +261,7 @@ $ fq -d elf dv coredump
| | | [10]{}: program_header 0x174-0x9fff.7 (40588)
0x00170| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x174-0x177.7 (4)
0x00170| 00 a0 00 00 | .... | offset: 0xa000 0x178-0x17b.7 (4)
0x00170| 00 00 f6 f7| ....| vaddr: 0xf7f60000 0x17c-0x17f.7 (4)
0x00170| 00 20 f0 f7| . ..| vaddr: 0xf7f02000 0x17c-0x17f.7 (4)
0x00180|00 00 00 00 |.... | paddr: 0x0 0x180-0x183.7 (4)
0x00180| 00 00 00 00 | .... | filesz: 0 0x184-0x187.7 (4)
0x00180| 00 20 01 00 | . .. | memsz: 73728 0x188-0x18b.7 (4)
@ -275,7 +276,7 @@ $ fq -d elf dv coredump
| | | [11]{}: program_header 0x194-0x9fff.7 (40556)
0x00190| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x194-0x197.7 (4)
0x00190| 00 a0 00 00 | .... | offset: 0xa000 0x198-0x19b.7 (4)
0x00190| 00 20 f7 f7| . ..| vaddr: 0xf7f72000 0x19c-0x19f.7 (4)
0x00190| 00 40 f1 f7| .@..| vaddr: 0xf7f14000 0x19c-0x19f.7 (4)
0x001a0|00 00 00 00 |.... | paddr: 0x0 0x1a0-0x1a3.7 (4)
0x001a0| 00 00 00 00 | .... | filesz: 0 0x1a4-0x1a7.7 (4)
0x001a0| 00 f0 04 00 | .... | memsz: 323584 0x1a8-0x1ab.7 (4)
@ -290,7 +291,7 @@ $ fq -d elf dv coredump
| | | [12]{}: program_header 0x1b4-0x9fff.7 (40524)
0x001b0| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x1b4-0x1b7.7 (4)
0x001b0| 00 a0 00 00 | .... | offset: 0xa000 0x1b8-0x1bb.7 (4)
0x001b0| 00 10 fc f7| ....| vaddr: 0xf7fc1000 0x1bc-0x1bf.7 (4)
0x001b0| 00 30 f6 f7| .0..| vaddr: 0xf7f63000 0x1bc-0x1bf.7 (4)
0x001c0|00 00 00 00 |.... | paddr: 0x0 0x1c0-0x1c3.7 (4)
0x001c0| 00 00 00 00 | .... | filesz: 0 0x1c4-0x1c7.7 (4)
0x001c0| 00 40 03 00 | .@.. | memsz: 212992 0x1c8-0x1cb.7 (4)
@ -305,7 +306,7 @@ $ fq -d elf dv coredump
| | | [13]{}: program_header 0x1d4-0xafff.7 (44588)
0x001d0| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x1d4-0x1d7.7 (4)
0x001d0| 00 a0 00 00 | .... | offset: 0xa000 0x1d8-0x1db.7 (4)
0x001d0| 00 50 ff f7| .P..| vaddr: 0xf7ff5000 0x1dc-0x1df.7 (4)
0x001d0| 00 70 f9 f7| .p..| vaddr: 0xf7f97000 0x1dc-0x1df.7 (4)
0x001e0|00 00 00 00 |.... | paddr: 0x0 0x1e0-0x1e3.7 (4)
0x001e0| 00 10 00 00 | .... | filesz: 4096 0x1e4-0x1e7.7 (4)
0x001e0| 00 10 00 00 | .... | memsz: 4096 0x1e8-0x1eb.7 (4)
@ -316,12 +317,12 @@ $ fq -d elf dv coredump
0x001e0| 04 | . | x: false 0x1ec.7-0x1ec.7 (0.1)
0x001e0| 00 00 00| ...| unused1: 0 0x1ed-0x1ef.7 (3)
0x001f0|00 10 00 00 |.... | align: 4096 0x1f0-0x1f3.7 (4)
0x0a000|87 02 41 0e 0c 86 03 41 0e 10 83 04 4e 0e 4c 03|..A....A....N.L.| data: raw bits 0xa000-0xafff.7 (4096)
0x0a000|25 73 00 00 01 1b 03 3b 40 00 00 00 07 00 00 00|%s.....;@.......| data: raw bits 0xa000-0xafff.7 (4096)
* |until 0xafff.7 (4096) | |
| | | [14]{}: program_header 0x1f4-0xbfff.7 (48652)
0x001f0| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x1f4-0x1f7.7 (4)
0x001f0| 00 b0 00 00 | .... | offset: 0xb000 0x1f8-0x1fb.7 (4)
0x001f0| 00 60 ff f7| .`..| vaddr: 0xf7ff6000 0x1fc-0x1ff.7 (4)
0x001f0| 00 80 f9 f7| ....| vaddr: 0xf7f98000 0x1fc-0x1ff.7 (4)
0x00200|00 00 00 00 |.... | paddr: 0x0 0x200-0x203.7 (4)
0x00200| 00 10 00 00 | .... | filesz: 4096 0x204-0x207.7 (4)
0x00200| 00 10 00 00 | .... | memsz: 4096 0x208-0x20b.7 (4)
@ -337,7 +338,7 @@ $ fq -d elf dv coredump
| | | [15]{}: program_header 0x214-0xdfff.7 (56812)
0x00210| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x214-0x217.7 (4)
0x00210| 00 c0 00 00 | .... | offset: 0xc000 0x218-0x21b.7 (4)
0x00210| 00 70 ff f7| .p..| vaddr: 0xf7ff7000 0x21c-0x21f.7 (4)
0x00210| 00 90 f9 f7| ....| vaddr: 0xf7f99000 0x21c-0x21f.7 (4)
0x00220|00 00 00 00 |.... | paddr: 0x0 0x220-0x223.7 (4)
0x00220| 00 20 00 00 | . .. | filesz: 8192 0x224-0x227.7 (4)
0x00220| 00 20 00 00 | . .. | memsz: 8192 0x228-0x22b.7 (4)
@ -353,7 +354,7 @@ $ fq -d elf dv coredump
| | | [16]{}: program_header 0x234-0x2efff.7 (191948)
0x00230| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x234-0x237.7 (4)
0x00230| 00 e0 00 00 | .... | offset: 0xe000 0x238-0x23b.7 (4)
0x00230| 00 b0 d5 ff| ....| vaddr: 0xffd5b000 0x23c-0x23f.7 (4)
0x00230| 00 50 f3 ff| .P..| vaddr: 0xfff35000 0x23c-0x23f.7 (4)
0x00240|00 00 00 00 |.... | paddr: 0x0 0x240-0x243.7 (4)
0x00240| 00 10 02 00 | .... | filesz: 135168 0x244-0x247.7 (4)
0x00240| 00 10 02 00 | .... | memsz: 135168 0x248-0x24b.7 (4)
@ -367,5 +368,6 @@ $ fq -d elf dv coredump
0x0e000|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| data: raw bits 0xe000-0x2efff.7 (135168)
* |until 0x2efff.7 (end) (135168) | |
| | | section_headers[0:0]: 0x254-NA (0)
0x00d00|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| gap0: raw bits 0xd00-0xfff.7 (768)
* |until 0xfff.7 (768) | |
0x00d00| 00 00 00 00 00 00 00 00| ........| gap0: raw bits 0xd08-0xfff.7 (760)
0x00d10|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0xfff.7 (760) | |

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -23,7 +23,7 @@ $ fq -d elf dv coredump
0x00030| 00 00 | .. | shnum: 0 0x3c-0x3d.7 (2)
0x00030| 00 00| ..| shstrndx: 0 0x3e-0x3f.7 (2)
| | | program_headers[0:18]: 0x40-0x31fff.7 (204736)
| | | [0]{}: program_header 0x40-0x1007.7 (4040)
| | | [0]{}: program_header 0x40-0x1017.7 (4056)
0x00040|04 00 00 00 |.... | type: "note" (4) (Auxiliary information) 0x40-0x43.7 (4)
| | | flags{}: 0x44-0x47.7 (4)
0x00040| 00 | . | unused0: 0 0x44-0x44.4 (0.5)
@ -34,10 +34,10 @@ $ fq -d elf dv coredump
0x00040| 30 04 00 00 00 00 00 00| 0.......| offset: 0x430 0x48-0x4f.7 (8)
0x00050|00 00 00 00 00 00 00 00 |........ | vaddr: 0x0 0x50-0x57.7 (8)
0x00050| 00 00 00 00 00 00 00 00| ........| paddr: 0x0 0x58-0x5f.7 (8)
0x00060|d8 0b 00 00 00 00 00 00 |........ | filesz: 3032 0x60-0x67.7 (8)
0x00060|e8 0b 00 00 00 00 00 00 |........ | filesz: 3048 0x60-0x67.7 (8)
0x00060| 00 00 00 00 00 00 00 00| ........| memsz: 0 0x68-0x6f.7 (8)
0x00070|00 00 00 00 00 00 00 00 |........ | align: 0 0x70-0x77.7 (8)
| | | notes[0:7]: 0x430-0x1007.7 (3032)
| | | notes[0:7]: 0x430-0x1017.7 (3048)
| | | [0]{}: note 0x430-0x593.7 (356)
0x00430|05 00 00 00 |.... | n_namesz: 5 0x430-0x433.7 (4)
0x00430| 50 01 00 00 | P... | n_descsz: 336 0x434-0x437.7 (4)
@ -65,46 +65,46 @@ $ fq -d elf dv coredump
0x00640|00 |. |
0x00640| 00 00 00 | ... | name_align: raw bits 0x641-0x643.7 (3)
0x00640| 0b 00 00 00 00 00 00 00 01 00 00 00| ............| desc: raw bits 0x644-0x6c3.7 (128)
0x00650|00 00 00 00 44 33 22 11 00 00 00 00 00 00 00 00|....D3".........|
0x00650|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x6c3.7 (128) | |
| | | [3]{}: note 0x6c4-0x817.7 (340)
| | | [3]{}: note 0x6c4-0x827.7 (356)
0x006c0| 05 00 00 00 | .... | n_namesz: 5 0x6c4-0x6c7.7 (4)
0x006c0| 40 01 00 00 | @... | n_descsz: 320 0x6c8-0x6cb.7 (4)
0x006c0| 50 01 00 00 | P... | n_descsz: 336 0x6c8-0x6cb.7 (4)
0x006c0| 06 00 00 00| ....| n_type: "auxv" (0x6) 0x6cc-0x6cf.7 (4)
0x006d0|43 4f 52 45 00 |CORE. | name: "CORE" 0x6d0-0x6d4.7 (5)
0x006d0| 00 00 00 | ... | name_align: raw bits 0x6d5-0x6d7.7 (3)
0x006d0| 21 00 00 00 00 00 00 00| !.......| desc: raw bits 0x6d8-0x817.7 (320)
0x006e0|00 c0 87 9e fe 7f 00 00 10 00 00 00 00 00 00 00|................|
* |until 0x817.7 (320) | |
| | | [4]{}: note 0x818-0xa9f.7 (648)
0x00810| 05 00 00 00 | .... | n_namesz: 5 0x818-0x81b.7 (4)
0x00810| 72 02 00 00| r...| n_descsz: 626 0x81c-0x81f.7 (4)
0x00820|45 4c 49 46 |ELIF | n_type: "file" (0x46494c45) (File info) 0x820-0x823.7 (4)
0x00820| 43 4f 52 45 00 | CORE. | name: "CORE" 0x824-0x828.7 (5)
0x00820| 00 00 00 | ... | name_align: raw bits 0x829-0x82b.7 (3)
0x00820| 0a 00 00 00| ....| desc: raw bits 0x82c-0xa9d.7 (626)
0x00830|00 00 00 00 00 10 00 00 00 00 00 00 00 c0 63 e6|..............c.|
* |until 0xa9d.7 (626) | |
0x00a90| 00 00| ..| decs_align: raw bits 0xa9e-0xa9f.7 (2)
| | | [5]{}: note 0xaa0-0xcb3.7 (532)
0x00aa0|05 00 00 00 |.... | n_namesz: 5 0xaa0-0xaa3.7 (4)
0x00aa0| 00 02 00 00 | .... | n_descsz: 512 0xaa4-0xaa7.7 (4)
0x00aa0| 02 00 00 00 | .... | n_type: "prfpreg" (0x2) 0xaa8-0xaab.7 (4)
0x00aa0| 43 4f 52 45| CORE| name: "CORE" 0xaac-0xab0.7 (5)
0x00ab0|00 |. |
0x00ab0| 00 00 00 | ... | name_align: raw bits 0xab1-0xab3.7 (3)
0x00ab0| 7f 03 00 00 00 00 00 00 00 00 00 00| ............| desc: raw bits 0xab4-0xcb3.7 (512)
0x00ac0|00 00 00 00 00 00 00 00 00 00 00 00 80 1f 00 00|................|
* |until 0xcb3.7 (512) | |
| | | [6]{}: note 0xcb4-0x1007.7 (852)
0x00cb0| 06 00 00 00 | .... | n_namesz: 6 0xcb4-0xcb7.7 (4)
0x00cb0| 40 03 00 00 | @... | n_descsz: 832 0xcb8-0xcbb.7 (4)
0x00cb0| 02 02 00 00| ....| n_type: "x86_xstate" (0x202) (x86 extended state using xsave) 0xcbc-0xcbf.7 (4)
0x00cc0|4c 49 4e 55 58 00 |LINUX. | name: "LINUX" 0xcc0-0xcc5.7 (6)
0x00cc0| 00 00 | .. | name_align: raw bits 0xcc6-0xcc7.7 (2)
0x00cc0| 7f 03 00 00 00 00 00 00| ........| desc: raw bits 0xcc8-0x1007.7 (832)
0x00cd0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x1007.7 (832) | |
0x006d0| 21 00 00 00 00 00 00 00| !.......| desc: raw bits 0x6d8-0x827.7 (336)
0x006e0|00 70 9a f2 fe 7f 00 00 33 00 00 00 00 00 00 00|.p......3.......|
* |until 0x827.7 (336) | |
| | | [4]{}: note 0x828-0xaaf.7 (648)
0x00820| 05 00 00 00 | .... | n_namesz: 5 0x828-0x82b.7 (4)
0x00820| 72 02 00 00| r...| n_descsz: 626 0x82c-0x82f.7 (4)
0x00830|45 4c 49 46 |ELIF | n_type: "file" (0x46494c45) (File info) 0x830-0x833.7 (4)
0x00830| 43 4f 52 45 00 | CORE. | name: "CORE" 0x834-0x838.7 (5)
0x00830| 00 00 00 | ... | name_align: raw bits 0x839-0x83b.7 (3)
0x00830| 0a 00 00 00| ....| desc: raw bits 0x83c-0xaad.7 (626)
0x00840|00 00 00 00 00 10 00 00 00 00 00 00 00 e0 b2 29|...............)|
* |until 0xaad.7 (626) | |
0x00aa0| 00 00| ..| decs_align: raw bits 0xaae-0xaaf.7 (2)
| | | [5]{}: note 0xab0-0xcc3.7 (532)
0x00ab0|05 00 00 00 |.... | n_namesz: 5 0xab0-0xab3.7 (4)
0x00ab0| 00 02 00 00 | .... | n_descsz: 512 0xab4-0xab7.7 (4)
0x00ab0| 02 00 00 00 | .... | n_type: "prfpreg" (0x2) 0xab8-0xabb.7 (4)
0x00ab0| 43 4f 52 45| CORE| name: "CORE" 0xabc-0xac0.7 (5)
0x00ac0|00 |. |
0x00ac0| 00 00 00 | ... | name_align: raw bits 0xac1-0xac3.7 (3)
0x00ac0| 7f 03 00 00 00 00 00 00 00 00 00 00| ............| desc: raw bits 0xac4-0xcc3.7 (512)
0x00ad0|00 00 00 00 00 00 00 00 00 00 00 00 80 1f 00 00|................|
* |until 0xcc3.7 (512) | |
| | | [6]{}: note 0xcc4-0x1017.7 (852)
0x00cc0| 06 00 00 00 | .... | n_namesz: 6 0xcc4-0xcc7.7 (4)
0x00cc0| 40 03 00 00 | @... | n_descsz: 832 0xcc8-0xccb.7 (4)
0x00cc0| 02 02 00 00| ....| n_type: "x86_xstate" (0x202) (x86 extended state using xsave) 0xccc-0xccf.7 (4)
0x00cd0|4c 49 4e 55 58 00 |LINUX. | name: "LINUX" 0xcd0-0xcd5.7 (6)
0x00cd0| 00 00 | .. | name_align: raw bits 0xcd6-0xcd7.7 (2)
0x00cd0| 7f 03 00 00 00 00 00 00| ........| desc: raw bits 0xcd8-0x1017.7 (832)
0x00ce0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x1017.7 (832) | |
| | | [1]{}: program_header 0x78-0x1fff.7 (8072)
0x00070| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x78-0x7b.7 (4)
| | | flags{}: 0x7c-0x7f.7 (4)
@ -114,7 +114,7 @@ $ fq -d elf dv coredump
0x00070| 04 | . | x: false 0x7c.7-0x7c.7 (0.1)
0x00070| 00 00 00| ...| unused1: 0 0x7d-0x7f.7 (3)
0x00080|00 20 00 00 00 00 00 00 |. ...... | offset: 0x2000 0x80-0x87.7 (8)
0x00080| 00 c0 63 e6 e9 55 00 00| ..c..U..| vaddr: 0x55e9e663c000 0x88-0x8f.7 (8)
0x00080| 00 e0 b2 29 6f 55 00 00| ...)oU..| vaddr: 0x556f29b2e000 0x88-0x8f.7 (8)
0x00090|00 00 00 00 00 00 00 00 |........ | paddr: 0x0 0x90-0x97.7 (8)
0x00090| 00 00 00 00 00 00 00 00| ........| filesz: 0 0x98-0x9f.7 (8)
0x000a0|00 10 00 00 00 00 00 00 |........ | memsz: 4096 0xa0-0xa7.7 (8)
@ -129,7 +129,7 @@ $ fq -d elf dv coredump
0x000b0| 05 | . | x: true 0xb4.7-0xb4.7 (0.1)
0x000b0| 00 00 00 | ... | unused1: 0 0xb5-0xb7.7 (3)
0x000b0| 00 20 00 00 00 00 00 00| . ......| offset: 0x2000 0xb8-0xbf.7 (8)
0x000c0|00 d0 63 e6 e9 55 00 00 |..c..U.. | vaddr: 0x55e9e663d000 0xc0-0xc7.7 (8)
0x000c0|00 f0 b2 29 6f 55 00 00 |...)oU.. | vaddr: 0x556f29b2f000 0xc0-0xc7.7 (8)
0x000c0| 00 00 00 00 00 00 00 00| ........| paddr: 0x0 0xc8-0xcf.7 (8)
0x000d0|00 00 00 00 00 00 00 00 |........ | filesz: 0 0xd0-0xd7.7 (8)
0x000d0| 00 10 00 00 00 00 00 00| ........| memsz: 4096 0xd8-0xdf.7 (8)
@ -144,7 +144,7 @@ $ fq -d elf dv coredump
0x000e0| 04 | . | x: false 0xec.7-0xec.7 (0.1)
0x000e0| 00 00 00| ...| unused1: 0 0xed-0xef.7 (3)
0x000f0|00 20 00 00 00 00 00 00 |. ...... | offset: 0x2000 0xf0-0xf7.7 (8)
0x000f0| 00 e0 63 e6 e9 55 00 00| ..c..U..| vaddr: 0x55e9e663e000 0xf8-0xff.7 (8)
0x000f0| 00 00 b3 29 6f 55 00 00| ...)oU..| vaddr: 0x556f29b30000 0xf8-0xff.7 (8)
0x00100|00 00 00 00 00 00 00 00 |........ | paddr: 0x0 0x100-0x107.7 (8)
0x00100| 00 00 00 00 00 00 00 00| ........| filesz: 0 0x108-0x10f.7 (8)
0x00110|00 10 00 00 00 00 00 00 |........ | memsz: 4096 0x110-0x117.7 (8)
@ -159,7 +159,7 @@ $ fq -d elf dv coredump
0x00120| 04 | . | x: false 0x124.7-0x124.7 (0.1)
0x00120| 00 00 00 | ... | unused1: 0 0x125-0x127.7 (3)
0x00120| 00 20 00 00 00 00 00 00| . ......| offset: 0x2000 0x128-0x12f.7 (8)
0x00130|00 f0 63 e6 e9 55 00 00 |..c..U.. | vaddr: 0x55e9e663f000 0x130-0x137.7 (8)
0x00130|00 10 b3 29 6f 55 00 00 |...)oU.. | vaddr: 0x556f29b31000 0x130-0x137.7 (8)
0x00130| 00 00 00 00 00 00 00 00| ........| paddr: 0x0 0x138-0x13f.7 (8)
0x00140|00 10 00 00 00 00 00 00 |........ | filesz: 4096 0x140-0x147.7 (8)
0x00140| 00 10 00 00 00 00 00 00| ........| memsz: 4096 0x148-0x14f.7 (8)
@ -175,12 +175,12 @@ $ fq -d elf dv coredump
0x00150| 06 | . | x: false 0x15c.7-0x15c.7 (0.1)
0x00150| 00 00 00| ...| unused1: 0 0x15d-0x15f.7 (3)
0x00160|00 30 00 00 00 00 00 00 |.0...... | offset: 0x3000 0x160-0x167.7 (8)
0x00160| 00 00 64 e6 e9 55 00 00| ..d..U..| vaddr: 0x55e9e6640000 0x168-0x16f.7 (8)
0x00160| 00 20 b3 29 6f 55 00 00| . .)oU..| vaddr: 0x556f29b32000 0x168-0x16f.7 (8)
0x00170|00 00 00 00 00 00 00 00 |........ | paddr: 0x0 0x170-0x177.7 (8)
0x00170| 00 10 00 00 00 00 00 00| ........| filesz: 4096 0x178-0x17f.7 (8)
0x00180|00 10 00 00 00 00 00 00 |........ | memsz: 4096 0x180-0x187.7 (8)
0x00180| 00 10 00 00 00 00 00 00| ........| align: 4096 0x188-0x18f.7 (8)
0x03000|00 00 64 e6 e9 55 00 00 00 00 00 00 00 00 00 00|..d..U..........| data: raw bits 0x3000-0x3fff.7 (4096)
0x03000|00 20 b3 29 6f 55 00 00 00 00 00 00 00 00 00 00|. .)oU..........| data: raw bits 0x3000-0x3fff.7 (4096)
* |until 0x3fff.7 (4096) | |
| | | [6]{}: program_header 0x190-0x3fff.7 (15984)
0x00190|01 00 00 00 |.... | type: "load" (1) (Loadable segment) 0x190-0x193.7 (4)
@ -191,7 +191,7 @@ $ fq -d elf dv coredump
0x00190| 00 | . | x: false 0x194.7-0x194.7 (0.1)
0x00190| 00 00 00 | ... | unused1: 0 0x195-0x197.7 (3)
0x00190| 00 40 00 00 00 00 00 00| .@......| offset: 0x4000 0x198-0x19f.7 (8)
0x001a0|00 00 5f e7 e9 55 00 00 |.._..U.. | vaddr: 0x55e9e75f0000 0x1a0-0x1a7.7 (8)
0x001a0|00 20 02 2b 6f 55 00 00 |. .+oU.. | vaddr: 0x556f2b022000 0x1a0-0x1a7.7 (8)
0x001a0| 00 00 00 00 00 00 00 00| ........| paddr: 0x0 0x1a8-0x1af.7 (8)
0x001b0|00 00 00 00 00 00 00 00 |........ | filesz: 0 0x1b0-0x1b7.7 (8)
0x001b0| 00 10 00 00 00 00 00 00| ........| memsz: 4096 0x1b8-0x1bf.7 (8)
@ -206,12 +206,12 @@ $ fq -d elf dv coredump
0x001c0| 06 | . | x: false 0x1cc.7-0x1cc.7 (0.1)
0x001c0| 00 00 00| ...| unused1: 0 0x1cd-0x1cf.7 (3)
0x001d0|00 40 00 00 00 00 00 00 |.@...... | offset: 0x4000 0x1d0-0x1d7.7 (8)
0x001d0| 00 10 5f e7 e9 55 00 00| .._..U..| vaddr: 0x55e9e75f1000 0x1d8-0x1df.7 (8)
0x001d0| 00 30 02 2b 6f 55 00 00| .0.+oU..| vaddr: 0x556f2b023000 0x1d8-0x1df.7 (8)
0x001e0|00 00 00 00 00 00 00 00 |........ | paddr: 0x0 0x1e0-0x1e7.7 (8)
0x001e0| 00 10 00 00 00 00 00 00| ........| filesz: 4096 0x1e8-0x1ef.7 (8)
0x001f0|00 10 00 00 00 00 00 00 |........ | memsz: 4096 0x1f0-0x1f7.7 (8)
0x001f0| 00 10 00 00 00 00 00 00| ........| align: 4096 0x1f8-0x1ff.7 (8)
0x04000|e2 14 cb 78 67 54 a6 56 00 00 00 00 00 00 00 00|...xgT.V........| data: raw bits 0x4000-0x4fff.7 (4096)
0x04000|ad 9b f8 6b d9 87 e7 ac 00 00 00 00 00 00 00 00|...k............| data: raw bits 0x4000-0x4fff.7 (4096)
* |until 0x4fff.7 (4096) | |
| | | [8]{}: program_header 0x200-0x4fff.7 (19968)
0x00200|01 00 00 00 |.... | type: "load" (1) (Loadable segment) 0x200-0x203.7 (4)
@ -222,7 +222,7 @@ $ fq -d elf dv coredump
0x00200| 04 | . | x: false 0x204.7-0x204.7 (0.1)
0x00200| 00 00 00 | ... | unused1: 0 0x205-0x207.7 (3)
0x00200| 00 50 00 00 00 00 00 00| .P......| offset: 0x5000 0x208-0x20f.7 (8)
0x00210|00 10 25 0a 2e 7f 00 00 |..%..... | vaddr: 0x7f2e0a251000 0x210-0x217.7 (8)
0x00210|00 70 24 f4 bb 7f 00 00 |.p$..... | vaddr: 0x7fbbf4247000 0x210-0x217.7 (8)
0x00210| 00 00 00 00 00 00 00 00| ........| paddr: 0x0 0x218-0x21f.7 (8)
0x00220|00 00 00 00 00 00 00 00 |........ | filesz: 0 0x220-0x227.7 (8)
0x00220| 00 50 01 00 00 00 00 00| .P......| memsz: 86016 0x228-0x22f.7 (8)
@ -237,7 +237,7 @@ $ fq -d elf dv coredump
0x00230| 05 | . | x: true 0x23c.7-0x23c.7 (0.1)
0x00230| 00 00 00| ...| unused1: 0 0x23d-0x23f.7 (3)
0x00240|00 50 00 00 00 00 00 00 |.P...... | offset: 0x5000 0x240-0x247.7 (8)
0x00240| 00 60 26 0a 2e 7f 00 00| .`&.....| vaddr: 0x7f2e0a266000 0x248-0x24f.7 (8)
0x00240| 00 c0 25 f4 bb 7f 00 00| ..%.....| vaddr: 0x7fbbf425c000 0x248-0x24f.7 (8)
0x00250|00 00 00 00 00 00 00 00 |........ | paddr: 0x0 0x250-0x257.7 (8)
0x00250| 00 00 00 00 00 00 00 00| ........| filesz: 0 0x258-0x25f.7 (8)
0x00260|00 80 04 00 00 00 00 00 |........ | memsz: 294912 0x260-0x267.7 (8)
@ -252,7 +252,7 @@ $ fq -d elf dv coredump
0x00270| 04 | . | x: false 0x274.7-0x274.7 (0.1)
0x00270| 00 00 00 | ... | unused1: 0 0x275-0x277.7 (3)
0x00270| 00 50 00 00 00 00 00 00| .P......| offset: 0x5000 0x278-0x27f.7 (8)
0x00280|00 e0 2a 0a 2e 7f 00 00 |..*..... | vaddr: 0x7f2e0a2ae000 0x280-0x287.7 (8)
0x00280|00 40 2a f4 bb 7f 00 00 |.@*..... | vaddr: 0x7fbbf42a4000 0x280-0x287.7 (8)
0x00280| 00 00 00 00 00 00 00 00| ........| paddr: 0x0 0x288-0x28f.7 (8)
0x00290|00 00 00 00 00 00 00 00 |........ | filesz: 0 0x290-0x297.7 (8)
0x00290| 00 60 03 00 00 00 00 00| .`......| memsz: 221184 0x298-0x29f.7 (8)
@ -267,12 +267,12 @@ $ fq -d elf dv coredump
0x002a0| 04 | . | x: false 0x2ac.7-0x2ac.7 (0.1)
0x002a0| 00 00 00| ...| unused1: 0 0x2ad-0x2af.7 (3)
0x002b0|00 50 00 00 00 00 00 00 |.P...... | offset: 0x5000 0x2b0-0x2b7.7 (8)
0x002b0| 00 40 2e 0a 2e 7f 00 00| .@......| vaddr: 0x7f2e0a2e4000 0x2b8-0x2bf.7 (8)
0x002b0| 00 a0 2d f4 bb 7f 00 00| ..-.....| vaddr: 0x7fbbf42da000 0x2b8-0x2bf.7 (8)
0x002c0|00 00 00 00 00 00 00 00 |........ | paddr: 0x0 0x2c0-0x2c7.7 (8)
0x002c0| 00 10 00 00 00 00 00 00| ........| filesz: 4096 0x2c8-0x2cf.7 (8)
0x002d0|00 10 00 00 00 00 00 00 |........ | memsz: 4096 0x2d0-0x2d7.7 (8)
0x002d0| 00 10 00 00 00 00 00 00| ........| align: 4096 0x2d8-0x2df.7 (8)
0x05000|66 2f 65 78 65 00 25 2e 2a 73 2f 65 74 63 2f 6c|f/exe.%.*s/etc/l| data: raw bits 0x5000-0x5fff.7 (4096)
0x05000|53 74 61 74 65 20 6f 66 20 25 73 20 69 73 20 69|State of %s is i| data: raw bits 0x5000-0x5fff.7 (4096)
* |until 0x5fff.7 (4096) | |
| | | [12]{}: program_header 0x2e0-0x6fff.7 (27936)
0x002e0|01 00 00 00 |.... | type: "load" (1) (Loadable segment) 0x2e0-0x2e3.7 (4)
@ -283,12 +283,12 @@ $ fq -d elf dv coredump
0x002e0| 06 | . | x: false 0x2e4.7-0x2e4.7 (0.1)
0x002e0| 00 00 00 | ... | unused1: 0 0x2e5-0x2e7.7 (3)
0x002e0| 00 60 00 00 00 00 00 00| .`......| offset: 0x6000 0x2e8-0x2ef.7 (8)
0x002f0|00 50 2e 0a 2e 7f 00 00 |.P...... | vaddr: 0x7f2e0a2e5000 0x2f0-0x2f7.7 (8)
0x002f0|00 b0 2d f4 bb 7f 00 00 |..-..... | vaddr: 0x7fbbf42db000 0x2f0-0x2f7.7 (8)
0x002f0| 00 00 00 00 00 00 00 00| ........| paddr: 0x0 0x2f8-0x2ff.7 (8)
0x00300|00 10 00 00 00 00 00 00 |........ | filesz: 4096 0x300-0x307.7 (8)
0x00300| 00 10 00 00 00 00 00 00| ........| memsz: 4096 0x308-0x30f.7 (8)
0x00310|00 10 00 00 00 00 00 00 |........ | align: 4096 0x310-0x317.7 (8)
0x06000|ca 28 2e 0a 2e 7f 00 00 d0 28 2e 0a 2e 7f 00 00|.(.......(......| data: raw bits 0x6000-0x6fff.7 (4096)
0x06000|62 89 2d f4 bb 7f 00 00 68 89 2d f4 bb 7f 00 00|b.-.....h.-.....| data: raw bits 0x6000-0x6fff.7 (4096)
* |until 0x6fff.7 (4096) | |
| | | [13]{}: program_header 0x318-0x9fff.7 (40168)
0x00310| 01 00 00 00 | .... | type: "load" (1) (Loadable segment) 0x318-0x31b.7 (4)
@ -299,7 +299,7 @@ $ fq -d elf dv coredump
0x00310| 06 | . | x: false 0x31c.7-0x31c.7 (0.1)
0x00310| 00 00 00| ...| unused1: 0 0x31d-0x31f.7 (3)
0x00320|00 70 00 00 00 00 00 00 |.p...... | offset: 0x7000 0x320-0x327.7 (8)
0x00320| 00 60 2e 0a 2e 7f 00 00| .`......| vaddr: 0x7f2e0a2e6000 0x328-0x32f.7 (8)
0x00320| 00 c0 2d f4 bb 7f 00 00| ..-.....| vaddr: 0x7fbbf42dc000 0x328-0x32f.7 (8)
0x00330|00 00 00 00 00 00 00 00 |........ | paddr: 0x0 0x330-0x337.7 (8)
0x00330| 00 30 00 00 00 00 00 00| .0......| filesz: 12288 0x338-0x33f.7 (8)
0x00340|00 30 00 00 00 00 00 00 |.0...... | memsz: 12288 0x340-0x347.7 (8)
@ -315,7 +315,7 @@ $ fq -d elf dv coredump
0x00350| 06 | . | x: false 0x354.7-0x354.7 (0.1)
0x00350| 00 00 00 | ... | unused1: 0 0x355-0x357.7 (3)
0x00350| 00 a0 00 00 00 00 00 00| ........| offset: 0xa000 0x358-0x35f.7 (8)
0x00360|00 20 7e 9e fe 7f 00 00 |. ~..... | vaddr: 0x7ffe9e7e2000 0x360-0x367.7 (8)
0x00360|00 e0 94 f2 fe 7f 00 00 |........ | vaddr: 0x7ffef294e000 0x360-0x367.7 (8)
0x00360| 00 00 00 00 00 00 00 00| ........| paddr: 0x0 0x368-0x36f.7 (8)
0x00370|00 10 02 00 00 00 00 00 |........ | filesz: 135168 0x370-0x377.7 (8)
0x00370| 00 10 02 00 00 00 00 00| ........| memsz: 135168 0x378-0x37f.7 (8)
@ -331,7 +331,7 @@ $ fq -d elf dv coredump
0x00380| 04 | . | x: false 0x38c.7-0x38c.7 (0.1)
0x00380| 00 00 00| ...| unused1: 0 0x38d-0x38f.7 (3)
0x00390|00 b0 02 00 00 00 00 00 |........ | offset: 0x2b000 0x390-0x397.7 (8)
0x00390| 00 80 87 9e fe 7f 00 00| ........| vaddr: 0x7ffe9e878000 0x398-0x39f.7 (8)
0x00390| 00 30 9a f2 fe 7f 00 00| .0......| vaddr: 0x7ffef29a3000 0x398-0x39f.7 (8)
0x003a0|00 00 00 00 00 00 00 00 |........ | paddr: 0x0 0x3a0-0x3a7.7 (8)
0x003a0| 00 40 00 00 00 00 00 00| .@......| filesz: 16384 0x3a8-0x3af.7 (8)
0x003b0|00 40 00 00 00 00 00 00 |.@...... | memsz: 16384 0x3b0-0x3b7.7 (8)
@ -347,7 +347,7 @@ $ fq -d elf dv coredump
0x003c0| 05 | . | x: true 0x3c4.7-0x3c4.7 (0.1)
0x003c0| 00 00 00 | ... | unused1: 0 0x3c5-0x3c7.7 (3)
0x003c0| 00 f0 02 00 00 00 00 00| ........| offset: 0x2f000 0x3c8-0x3cf.7 (8)
0x003d0|00 c0 87 9e fe 7f 00 00 |........ | vaddr: 0x7ffe9e87c000 0x3d0-0x3d7.7 (8)
0x003d0|00 70 9a f2 fe 7f 00 00 |.p...... | vaddr: 0x7ffef29a7000 0x3d0-0x3d7.7 (8)
0x003d0| 00 00 00 00 00 00 00 00| ........| paddr: 0x0 0x3d8-0x3df.7 (8)
0x003e0|00 20 00 00 00 00 00 00 |. ...... | filesz: 8192 0x3e0-0x3e7.7 (8)
0x003e0| 00 20 00 00 00 00 00 00| . ......| memsz: 8192 0x3e8-0x3ef.7 (8)
@ -371,6 +371,6 @@ $ fq -d elf dv coredump
0x31000|48 c7 c0 60 00 00 00 0f 05 c3 cc cc cc cc cc cc|H..`............| data: raw bits 0x31000-0x31fff.7 (4096)
* |until 0x31fff.7 (end) (4096) | |
| | | section_headers[0:0]: 0x430-NA (0)
0x01000| 00 00 00 00 00 00 00 00| ........| gap0: raw bits 0x1008-0x1fff.7 (4088)
0x01010|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x1fff.7 (4088) | |
0x01010| 00 00 00 00 00 00 00 00| ........| gap0: raw bits 0x1018-0x1fff.7 (4072)
0x01020|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x1fff.7 (4072) | |

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

4
format/elf/testdata/segfault.c vendored Normal file
View File

@ -0,0 +1,4 @@
void main()
{
(*(int *)0) = 0;
}