1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 09:56:07 +03:00

macho: Add section and encryption_info raw data fields

This commit is contained in:
Mattias Wadman 2022-04-25 20:26:35 +02:00
parent 20193d046f
commit d6c31dac2b
13 changed files with 2617 additions and 2343 deletions

View File

@ -444,14 +444,15 @@ func ofileDecode(d *decode.D) {
// OPCODE_DECODER sectname==__text
d.FieldUTF8NullFixedLen("sectname", 16)
d.FieldUTF8NullFixedLen("segname", 16)
var size uint64
if archBits == 32 {
d.FieldU32("address", scalar.Hex)
d.FieldU32("size")
size = d.FieldU32("size")
} else {
d.FieldU64("address", scalar.Hex)
d.FieldU64("size")
size = d.FieldU64("size")
}
d.FieldU32("offset")
offset := d.FieldU32("offset")
d.FieldU32("align")
d.FieldU32("reloff")
d.FieldU32("nreloc")
@ -463,6 +464,9 @@ func ofileDecode(d *decode.D) {
if archBits == 64 {
d.FieldU32("reserved3")
}
d.RangeFn(int64(offset)*8, int64(size)*8, func(d *decode.D) {
d.FieldRawLen("data", d.BitsLeft())
})
nsectIdx++
})
case LC_TWOLEVEL_HINTS:
@ -610,9 +614,12 @@ func ofileDecode(d *decode.D) {
})
case LC_ENCRYPTION_INFO, LC_ENCRYPTION_INFO_64:
d.FieldStruct("encryption_info", func(d *decode.D) {
d.FieldU32("offset")
d.FieldU32("size")
offset := d.FieldU32("offset")
size := d.FieldU32("size")
d.FieldU32("id")
d.RangeFn(int64(offset)*8, int64(size)*8, func(d *decode.D) {
d.FieldRawLen("data", d.BitsLeft())
})
})
case LC_IDFVMLIB, LC_LOADFVMLIB:
d.FieldStruct("fvmlib", func(d *decode.D) {

View File

@ -39,7 +39,7 @@ $ fq -d macho dv a_dynamic
0x0010| 00 | . | incrlink: false 0x1b.6-0x1b.6 (0.1)
0x0010| 00 | . | noundefs: false 0x1b.7-0x1b.7 (0.1)
0x0010| 00 00 00 00| ....| reserved: raw bits (all zero) 0x1c-0x1f.7 (4)
| | | load_commands[0:18]: 0x20-0x5af.7 (1424)
| | | load_commands[0:18]: 0x20-0x8017.7 (32760)
| | | [0]{}: load_command 0x20-0x67.7 (72)
0x0020|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x20-0x23.7 (4)
0x0020| 48 00 00 00 | H... | cmdsize: 72 0x24-0x27.7 (4)
@ -61,7 +61,7 @@ $ fq -d macho dv a_dynamic
0x0060| 00 | . | fvmlib: false 0x67.6-0x67.6 (0.1)
0x0060| 00 | . | highvm: false 0x67.7-0x67.7 (0.1)
| | | sections[0:0]: 0x68-NA (0)
| | | [1]{}: load_command 0x68-0x23f.7 (472)
| | | [1]{}: load_command 0x68-0x3fff.7 (16280)
0x0060| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x68-0x6b.7 (4)
0x0060| d8 01 00 00| ....| cmdsize: 472 0x6c-0x6f.7 (4)
| | | segment_command{}: 0x70-0xaf.7 (64)
@ -80,8 +80,8 @@ $ fq -d macho dv a_dynamic
0x00a0| 00| .| noreloc: false 0xaf.5-0xaf.5 (0.1)
0x00a0| 00| .| fvmlib: false 0xaf.6-0xaf.6 (0.1)
0x00a0| 00| .| highvm: false 0xaf.7-0xaf.7 (0.1)
| | | sections[0:5]: 0xb0-0x23f.7 (400)
| | | [0]{}: section 0xb0-0xff.7 (80)
| | | sections[0:5]: 0xb0-0x3fff.7 (16208)
| | | [0]{}: section 0xb0-0x3f67.7 (16056)
0x00b0|5f 5f 74 65 78 74 00 00 00 00 00 00 00 00 00 00|__text..........| sectname: "__text" 0xb0-0xbf.7 (16)
0x00c0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0xc0-0xcf.7 (16)
0x00d0|30 3f 00 00 01 00 00 00 |0?...... | address: 0x100003f30 0xd0-0xd7.7 (8)
@ -106,7 +106,9 @@ $ fq -d macho dv a_dynamic
0x00f0| 00 00 00 00 | .... | reserved1: 0 0xf4-0xf7.7 (4)
0x00f0| 00 00 00 00 | .... | reserved2: 0 0xf8-0xfb.7 (4)
0x00f0| 00 00 00 00| ....| reserved3: 0 0xfc-0xff.7 (4)
| | | [1]{}: section 0x100-0x14f.7 (80)
0x3f30|fd 7b bf a9 fd 03 00 91 00 00 00 90 00 c0 3e 91|.{............>.| data: raw bits 0x3f30-0x3f67.7 (56)
* |until 0x3f67.7 (56) | |
| | | [1]{}: section 0x100-0x3f7f.7 (16000)
0x0100|5f 5f 73 74 75 62 73 00 00 00 00 00 00 00 00 00|__stubs.........| sectname: "__stubs" 0x100-0x10f.7 (16)
0x0110|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x110-0x11f.7 (16)
0x0120|68 3f 00 00 01 00 00 00 |h?...... | address: 0x100003f68 0x120-0x127.7 (8)
@ -131,7 +133,9 @@ $ fq -d macho dv a_dynamic
0x0140| 00 00 00 00 | .... | reserved1: 0 0x144-0x147.7 (4)
0x0140| 0c 00 00 00 | .... | reserved2: 12 0x148-0x14b.7 (4)
0x0140| 00 00 00 00| ....| reserved3: 0 0x14c-0x14f.7 (4)
| | | [2]{}: section 0x150-0x19f.7 (80)
0x3f60| 1f 20 03 d5 b0 04 02 58| . .....X| data: raw bits 0x3f68-0x3f7f.7 (24)
0x3f70|00 02 1f d6 1f 20 03 d5 90 04 02 58 00 02 1f d6|..... .....X....|
| | | [2]{}: section 0x150-0x3faf.7 (15968)
0x0150|5f 5f 73 74 75 62 5f 68 65 6c 70 65 72 00 00 00|__stub_helper...| sectname: "__stub_helper" 0x150-0x15f.7 (16)
0x0160|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x160-0x16f.7 (16)
0x0170|80 3f 00 00 01 00 00 00 |.?...... | address: 0x100003f80 0x170-0x177.7 (8)
@ -156,7 +160,9 @@ $ fq -d macho dv a_dynamic
0x0190| 00 00 00 00 | .... | reserved1: 0 0x194-0x197.7 (4)
0x0190| 00 00 00 00 | .... | reserved2: 0 0x198-0x19b.7 (4)
0x0190| 00 00 00 00| ....| reserved3: 0 0x19c-0x19f.7 (4)
| | | [3]{}: section 0x1a0-0x1ef.7 (80)
0x3f80|91 04 02 10 1f 20 03 d5 f0 47 bf a9 1f 20 03 d5|..... ...G... ..| data: raw bits 0x3f80-0x3faf.7 (48)
* |until 0x3faf.7 (48) | |
| | | [3]{}: section 0x1a0-0x3fb4.7 (15893)
0x01a0|5f 5f 63 73 74 72 69 6e 67 00 00 00 00 00 00 00|__cstring.......| sectname: "__cstring" 0x1a0-0x1af.7 (16)
0x01b0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x1b0-0x1bf.7 (16)
0x01c0|b0 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fb0 0x1c0-0x1c7.7 (8)
@ -181,7 +187,8 @@ $ fq -d macho dv a_dynamic
0x01e0| 00 00 00 00 | .... | reserved1: 0 0x1e4-0x1e7.7 (4)
0x01e0| 00 00 00 00 | .... | reserved2: 0 0x1e8-0x1eb.7 (4)
0x01e0| 00 00 00 00| ....| reserved3: 0 0x1ec-0x1ef.7 (4)
| | | [4]{}: section 0x1f0-0x23f.7 (80)
0x3fb0|61 61 61 0a 00 |aaa.. | data: raw bits 0x3fb0-0x3fb4.7 (5)
| | | [4]{}: section 0x1f0-0x3fff.7 (15888)
0x01f0|5f 5f 75 6e 77 69 6e 64 5f 69 6e 66 6f 00 00 00|__unwind_info...| sectname: "__unwind_info" 0x1f0-0x1ff.7 (16)
0x0200|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x200-0x20f.7 (16)
0x0210|b8 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fb8 0x210-0x217.7 (8)
@ -206,7 +213,10 @@ $ fq -d macho dv a_dynamic
0x0230| 00 00 00 00 | .... | reserved1: 0 0x234-0x237.7 (4)
0x0230| 00 00 00 00 | .... | reserved2: 0 0x238-0x23b.7 (4)
0x0230| 00 00 00 00| ....| reserved3: 0 0x23c-0x23f.7 (4)
| | | [2]{}: load_command 0x240-0x2d7.7 (152)
0x3fb0| 01 00 00 00 1c 00 00 00| ........| data: raw bits 0x3fb8-0x3fff.7 (72)
0x3fc0|00 00 00 00 1c 00 00 00 00 00 00 00 1c 00 00 00|................|
* |until 0x3fff.7 (72) | |
| | | [2]{}: load_command 0x240-0x4007.7 (15816)
0x0240|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x240-0x243.7 (4)
0x0240| 98 00 00 00 | .... | cmdsize: 152 0x244-0x247.7 (4)
| | | segment_command{}: 0x248-0x287.7 (64)
@ -226,8 +236,8 @@ $ fq -d macho dv a_dynamic
0x0280| 00 | . | noreloc: false 0x287.5-0x287.5 (0.1)
0x0280| 00 | . | fvmlib: false 0x287.6-0x287.6 (0.1)
0x0280| 00 | . | highvm: false 0x287.7-0x287.7 (0.1)
| | | sections[0:1]: 0x288-0x2d7.7 (80)
| | | [0]{}: section 0x288-0x2d7.7 (80)
| | | sections[0:1]: 0x288-0x4007.7 (15744)
| | | [0]{}: section 0x288-0x4007.7 (15744)
0x0280| 5f 5f 67 6f 74 00 00 00| __got...| sectname: "__got" 0x288-0x297.7 (16)
0x0290|00 00 00 00 00 00 00 00 |........ |
0x0290| 5f 5f 44 41 54 41 5f 43| __DATA_C| segname: "__DATA_CONST" 0x298-0x2a7.7 (16)
@ -254,7 +264,8 @@ $ fq -d macho dv a_dynamic
0x02c0| 02 00 00 00| ....| reserved1: 2 0x2cc-0x2cf.7 (4)
0x02d0|00 00 00 00 |.... | reserved2: 0 0x2d0-0x2d3.7 (4)
0x02d0| 00 00 00 00 | .... | reserved3: 0 0x2d4-0x2d7.7 (4)
| | | [3]{}: load_command 0x2d8-0x3bf.7 (232)
0x4000|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x4000-0x4007.7 (8)
| | | [3]{}: load_command 0x2d8-0x8017.7 (32064)
0x02d0| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x2d8-0x2db.7 (4)
0x02d0| e8 00 00 00| ....| cmdsize: 232 0x2dc-0x2df.7 (4)
| | | segment_command{}: 0x2e0-0x31f.7 (64)
@ -273,8 +284,8 @@ $ fq -d macho dv a_dynamic
0x0310| 00| .| noreloc: false 0x31f.5-0x31f.5 (0.1)
0x0310| 00| .| fvmlib: false 0x31f.6-0x31f.6 (0.1)
0x0310| 00| .| highvm: false 0x31f.7-0x31f.7 (0.1)
| | | sections[0:2]: 0x320-0x3bf.7 (160)
| | | [0]{}: section 0x320-0x36f.7 (80)
| | | sections[0:2]: 0x320-0x8017.7 (31992)
| | | [0]{}: section 0x320-0x800f.7 (31984)
0x0320|5f 5f 6c 61 5f 73 79 6d 62 6f 6c 5f 70 74 72 00|__la_symbol_ptr.| sectname: "__la_symbol_ptr" 0x320-0x32f.7 (16)
0x0330|5f 5f 44 41 54 41 00 00 00 00 00 00 00 00 00 00|__DATA..........| segname: "__DATA" 0x330-0x33f.7 (16)
0x0340|00 80 00 00 01 00 00 00 |........ | address: 0x100008000 0x340-0x347.7 (8)
@ -299,7 +310,8 @@ $ fq -d macho dv a_dynamic
0x0360| 03 00 00 00 | .... | reserved1: 3 0x364-0x367.7 (4)
0x0360| 00 00 00 00 | .... | reserved2: 0 0x368-0x36b.7 (4)
0x0360| 00 00 00 00| ....| reserved3: 0 0x36c-0x36f.7 (4)
| | | [1]{}: section 0x370-0x3bf.7 (80)
0x8000|98 3f 00 00 01 00 00 00 a4 3f 00 00 01 00 00 00|.?.......?......| data: raw bits 0x8000-0x800f.7 (16)
| | | [1]{}: section 0x370-0x8017.7 (31912)
0x0370|5f 5f 64 61 74 61 00 00 00 00 00 00 00 00 00 00|__data..........| sectname: "__data" 0x370-0x37f.7 (16)
0x0380|5f 5f 44 41 54 41 00 00 00 00 00 00 00 00 00 00|__DATA..........| segname: "__DATA" 0x380-0x38f.7 (16)
0x0390|10 80 00 00 01 00 00 00 |........ | address: 0x100008010 0x390-0x397.7 (8)
@ -324,6 +336,7 @@ $ fq -d macho dv a_dynamic
0x03b0| 00 00 00 00 | .... | reserved1: 0 0x3b4-0x3b7.7 (4)
0x03b0| 00 00 00 00 | .... | reserved2: 0 0x3b8-0x3bb.7 (4)
0x03b0| 00 00 00 00| ....| reserved3: 0 0x3bc-0x3bf.7 (4)
0x8010|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x8010-0x8017.7 (8)
| | | [4]{}: load_command 0x3c0-0x407.7 (72)
0x03c0|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x3c0-0x3c3.7 (4)
0x03c0| 48 00 00 00 | H... | cmdsize: 72 0x3c4-0x3c7.7 (4)
@ -459,5 +472,12 @@ $ fq -d macho dv a_dynamic
| | | linkedit_data{}: 0x5a8-0x5af.7 (8)
0x05a0| 60 c1 00 00 | `... | off: 49504 0x5a8-0x5ab.7 (4)
0x05a0| 16 02 00 00| ....| size: 534 0x5ac-0x5af.7 (4)
0x05b0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown0: raw bits 0x5b0-0xc375.7 (48582)
* |until 0xc375.7 (end) (48582) | |
0x05b0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown0: raw bits 0x5b0-0x3f2f.7 (14720)
* |until 0x3f2f.7 (14720) | |
0x3fb0| 00 00 00 | ... | unknown1: raw bits 0x3fb5-0x3fb7.7 (3)
0x4000| 00 00 00 00 00 00 00 00| ........| unknown2: raw bits 0x4008-0x7fff.7 (16376)
0x4010|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x7fff.7 (16376) | |
0x8010| 00 00 00 00 00 00 00 00| ........| unknown3: raw bits 0x8018-0xc375.7 (17246)
0x8020|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0xc375.7 (end) (17246) | |

View File

@ -39,7 +39,7 @@ $ fq -d macho dv a_static
0x0010| 00 | . | incrlink: false 0x1b.6-0x1b.6 (0.1)
0x0010| 00 | . | noundefs: false 0x1b.7-0x1b.7 (0.1)
0x0010| 00 00 00 00| ....| reserved: raw bits (all zero) 0x1c-0x1f.7 (4)
| | | load_commands[0:17]: 0x20-0x587.7 (1384)
| | | load_commands[0:17]: 0x20-0x800f.7 (32752)
| | | [0]{}: load_command 0x20-0x67.7 (72)
0x0020|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x20-0x23.7 (4)
0x0020| 48 00 00 00 | H... | cmdsize: 72 0x24-0x27.7 (4)
@ -61,7 +61,7 @@ $ fq -d macho dv a_static
0x0060| 00 | . | fvmlib: false 0x67.6-0x67.6 (0.1)
0x0060| 00 | . | highvm: false 0x67.7-0x67.7 (0.1)
| | | sections[0:0]: 0x68-NA (0)
| | | [1]{}: load_command 0x68-0x23f.7 (472)
| | | [1]{}: load_command 0x68-0x3fff.7 (16280)
0x0060| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x68-0x6b.7 (4)
0x0060| d8 01 00 00| ....| cmdsize: 472 0x6c-0x6f.7 (4)
| | | segment_command{}: 0x70-0xaf.7 (64)
@ -80,8 +80,8 @@ $ fq -d macho dv a_static
0x00a0| 00| .| noreloc: false 0xaf.5-0xaf.5 (0.1)
0x00a0| 00| .| fvmlib: false 0xaf.6-0xaf.6 (0.1)
0x00a0| 00| .| highvm: false 0xaf.7-0xaf.7 (0.1)
| | | sections[0:5]: 0xb0-0x23f.7 (400)
| | | [0]{}: section 0xb0-0xff.7 (80)
| | | sections[0:5]: 0xb0-0x3fff.7 (16208)
| | | [0]{}: section 0xb0-0x3f73.7 (16068)
0x00b0|5f 5f 74 65 78 74 00 00 00 00 00 00 00 00 00 00|__text..........| sectname: "__text" 0xb0-0xbf.7 (16)
0x00c0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0xc0-0xcf.7 (16)
0x00d0|20 3f 00 00 01 00 00 00 | ?...... | address: 0x100003f20 0xd0-0xd7.7 (8)
@ -106,7 +106,9 @@ $ fq -d macho dv a_static
0x00f0| 00 00 00 00 | .... | reserved1: 0 0xf4-0xf7.7 (4)
0x00f0| 00 00 00 00 | .... | reserved2: 0 0xf8-0xfb.7 (4)
0x00f0| 00 00 00 00| ....| reserved3: 0 0xfc-0xff.7 (4)
| | | [1]{}: section 0x100-0x14f.7 (80)
0x3f20|fd 7b bf a9 fd 03 00 91 00 00 00 90 00 90 3e 91|.{............>.| data: raw bits 0x3f20-0x3f73.7 (84)
* |until 0x3f73.7 (84) | |
| | | [1]{}: section 0x100-0x3f7f.7 (16000)
0x0100|5f 5f 73 74 75 62 73 00 00 00 00 00 00 00 00 00|__stubs.........| sectname: "__stubs" 0x100-0x10f.7 (16)
0x0110|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x110-0x11f.7 (16)
0x0120|74 3f 00 00 01 00 00 00 |t?...... | address: 0x100003f74 0x120-0x127.7 (8)
@ -131,7 +133,8 @@ $ fq -d macho dv a_static
0x0140| 00 00 00 00 | .... | reserved1: 0 0x144-0x147.7 (4)
0x0140| 0c 00 00 00 | .... | reserved2: 12 0x148-0x14b.7 (4)
0x0140| 00 00 00 00| ....| reserved3: 0 0x14c-0x14f.7 (4)
| | | [2]{}: section 0x150-0x19f.7 (80)
0x3f70| 1f 20 03 d5 50 04 02 58 00 02 1f d6| . ..P..X....| data: raw bits 0x3f74-0x3f7f.7 (12)
| | | [2]{}: section 0x150-0x3fa3.7 (15956)
0x0150|5f 5f 73 74 75 62 5f 68 65 6c 70 65 72 00 00 00|__stub_helper...| sectname: "__stub_helper" 0x150-0x15f.7 (16)
0x0160|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x160-0x16f.7 (16)
0x0170|80 3f 00 00 01 00 00 00 |.?...... | address: 0x100003f80 0x170-0x177.7 (8)
@ -156,7 +159,9 @@ $ fq -d macho dv a_static
0x0190| 00 00 00 00 | .... | reserved1: 0 0x194-0x197.7 (4)
0x0190| 00 00 00 00 | .... | reserved2: 0 0x198-0x19b.7 (4)
0x0190| 00 00 00 00| ....| reserved3: 0 0x19c-0x19f.7 (4)
| | | [3]{}: section 0x1a0-0x1ef.7 (80)
0x3f80|51 04 02 10 1f 20 03 d5 f0 47 bf a9 1f 20 03 d5|Q.... ...G... ..| data: raw bits 0x3f80-0x3fa3.7 (36)
* |until 0x3fa3.7 (36) | |
| | | [3]{}: section 0x1a0-0x3fb4.7 (15893)
0x01a0|5f 5f 63 73 74 72 69 6e 67 00 00 00 00 00 00 00|__cstring.......| sectname: "__cstring" 0x1a0-0x1af.7 (16)
0x01b0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x1b0-0x1bf.7 (16)
0x01c0|a4 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fa4 0x1c0-0x1c7.7 (8)
@ -181,7 +186,9 @@ $ fq -d macho dv a_static
0x01e0| 00 00 00 00 | .... | reserved1: 0 0x1e4-0x1e7.7 (4)
0x01e0| 00 00 00 00 | .... | reserved2: 0 0x1e8-0x1eb.7 (4)
0x01e0| 00 00 00 00| ....| reserved3: 0 0x1ec-0x1ef.7 (4)
| | | [4]{}: section 0x1f0-0x23f.7 (80)
0x3fa0| 61 61 61 0a 00 6c 69 62 62 62 62 5f| aaa..libbbb_| data: raw bits 0x3fa4-0x3fb4.7 (17)
0x3fb0|62 62 62 0a 00 |bbb.. |
| | | [4]{}: section 0x1f0-0x3fff.7 (15888)
0x01f0|5f 5f 75 6e 77 69 6e 64 5f 69 6e 66 6f 00 00 00|__unwind_info...| sectname: "__unwind_info" 0x1f0-0x1ff.7 (16)
0x0200|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x200-0x20f.7 (16)
0x0210|b8 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fb8 0x210-0x217.7 (8)
@ -206,7 +213,10 @@ $ fq -d macho dv a_static
0x0230| 00 00 00 00 | .... | reserved1: 0 0x234-0x237.7 (4)
0x0230| 00 00 00 00 | .... | reserved2: 0 0x238-0x23b.7 (4)
0x0230| 00 00 00 00| ....| reserved3: 0 0x23c-0x23f.7 (4)
| | | [2]{}: load_command 0x240-0x2d7.7 (152)
0x3fb0| 01 00 00 00 1c 00 00 00| ........| data: raw bits 0x3fb8-0x3fff.7 (72)
0x3fc0|00 00 00 00 1c 00 00 00 00 00 00 00 1c 00 00 00|................|
* |until 0x3fff.7 (72) | |
| | | [2]{}: load_command 0x240-0x4007.7 (15816)
0x0240|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x240-0x243.7 (4)
0x0240| 98 00 00 00 | .... | cmdsize: 152 0x244-0x247.7 (4)
| | | segment_command{}: 0x248-0x287.7 (64)
@ -226,8 +236,8 @@ $ fq -d macho dv a_static
0x0280| 00 | . | noreloc: false 0x287.5-0x287.5 (0.1)
0x0280| 00 | . | fvmlib: false 0x287.6-0x287.6 (0.1)
0x0280| 00 | . | highvm: false 0x287.7-0x287.7 (0.1)
| | | sections[0:1]: 0x288-0x2d7.7 (80)
| | | [0]{}: section 0x288-0x2d7.7 (80)
| | | sections[0:1]: 0x288-0x4007.7 (15744)
| | | [0]{}: section 0x288-0x4007.7 (15744)
0x0280| 5f 5f 67 6f 74 00 00 00| __got...| sectname: "__got" 0x288-0x297.7 (16)
0x0290|00 00 00 00 00 00 00 00 |........ |
0x0290| 5f 5f 44 41 54 41 5f 43| __DATA_C| segname: "__DATA_CONST" 0x298-0x2a7.7 (16)
@ -254,7 +264,8 @@ $ fq -d macho dv a_static
0x02c0| 01 00 00 00| ....| reserved1: 1 0x2cc-0x2cf.7 (4)
0x02d0|00 00 00 00 |.... | reserved2: 0 0x2d0-0x2d3.7 (4)
0x02d0| 00 00 00 00 | .... | reserved3: 0 0x2d4-0x2d7.7 (4)
| | | [3]{}: load_command 0x2d8-0x3bf.7 (232)
0x4000|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x4000-0x4007.7 (8)
| | | [3]{}: load_command 0x2d8-0x800f.7 (32056)
0x02d0| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x2d8-0x2db.7 (4)
0x02d0| e8 00 00 00| ....| cmdsize: 232 0x2dc-0x2df.7 (4)
| | | segment_command{}: 0x2e0-0x31f.7 (64)
@ -273,8 +284,8 @@ $ fq -d macho dv a_static
0x0310| 00| .| noreloc: false 0x31f.5-0x31f.5 (0.1)
0x0310| 00| .| fvmlib: false 0x31f.6-0x31f.6 (0.1)
0x0310| 00| .| highvm: false 0x31f.7-0x31f.7 (0.1)
| | | sections[0:2]: 0x320-0x3bf.7 (160)
| | | [0]{}: section 0x320-0x36f.7 (80)
| | | sections[0:2]: 0x320-0x800f.7 (31984)
| | | [0]{}: section 0x320-0x8007.7 (31976)
0x0320|5f 5f 6c 61 5f 73 79 6d 62 6f 6c 5f 70 74 72 00|__la_symbol_ptr.| sectname: "__la_symbol_ptr" 0x320-0x32f.7 (16)
0x0330|5f 5f 44 41 54 41 00 00 00 00 00 00 00 00 00 00|__DATA..........| segname: "__DATA" 0x330-0x33f.7 (16)
0x0340|00 80 00 00 01 00 00 00 |........ | address: 0x100008000 0x340-0x347.7 (8)
@ -299,7 +310,8 @@ $ fq -d macho dv a_static
0x0360| 02 00 00 00 | .... | reserved1: 2 0x364-0x367.7 (4)
0x0360| 00 00 00 00 | .... | reserved2: 0 0x368-0x36b.7 (4)
0x0360| 00 00 00 00| ....| reserved3: 0 0x36c-0x36f.7 (4)
| | | [1]{}: section 0x370-0x3bf.7 (80)
0x8000|98 3f 00 00 01 00 00 00 |.?...... | data: raw bits 0x8000-0x8007.7 (8)
| | | [1]{}: section 0x370-0x800f.7 (31904)
0x0370|5f 5f 64 61 74 61 00 00 00 00 00 00 00 00 00 00|__data..........| sectname: "__data" 0x370-0x37f.7 (16)
0x0380|5f 5f 44 41 54 41 00 00 00 00 00 00 00 00 00 00|__DATA..........| segname: "__DATA" 0x380-0x38f.7 (16)
0x0390|08 80 00 00 01 00 00 00 |........ | address: 0x100008008 0x390-0x397.7 (8)
@ -324,6 +336,7 @@ $ fq -d macho dv a_static
0x03b0| 00 00 00 00 | .... | reserved1: 0 0x3b4-0x3b7.7 (4)
0x03b0| 00 00 00 00 | .... | reserved2: 0 0x3b8-0x3bb.7 (4)
0x03b0| 00 00 00 00| ....| reserved3: 0 0x3bc-0x3bf.7 (4)
0x8000| 00 00 00 00 00 00 00 00| ........| data: raw bits 0x8008-0x800f.7 (8)
| | | [4]{}: load_command 0x3c0-0x407.7 (72)
0x03c0|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x3c0-0x3c3.7 (4)
0x03c0| 48 00 00 00 | H... | cmdsize: 72 0x3c4-0x3c7.7 (4)
@ -450,6 +463,12 @@ $ fq -d macho dv a_static
| | | linkedit_data{}: 0x580-0x587.7 (8)
0x0580|60 c1 00 00 |`... | off: 49504 0x580-0x583.7 (4)
0x0580| 15 02 00 00 | .... | size: 533 0x584-0x587.7 (4)
0x0580| 00 00 00 00 00 00 00 00| ........| unknown0: raw bits 0x588-0xc374.7 (48621)
0x0580| 00 00 00 00 00 00 00 00| ........| unknown0: raw bits 0x588-0x3f1f.7 (14744)
0x0590|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0xc374.7 (end) (48621) | |
* |until 0x3f1f.7 (14744) | |
0x3fb0| 00 00 00 | ... | unknown1: raw bits 0x3fb5-0x3fb7.7 (3)
0x4000| 00 00 00 00 00 00 00 00| ........| unknown2: raw bits 0x4008-0x7fff.7 (16376)
0x4010|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x7fff.7 (16376) | |
0x8010|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown3: raw bits 0x8010-0xc374.7 (17253)
* |until 0xc374.7 (end) (17253) | |

View File

@ -39,7 +39,7 @@ $ fq -d macho dv a_stripped
0x0010| 00 | . | incrlink: false 0x1b.6-0x1b.6 (0.1)
0x0010| 00 | . | noundefs: false 0x1b.7-0x1b.7 (0.1)
0x0010| 00 00 00 00| ....| reserved: raw bits (all zero) 0x1c-0x1f.7 (4)
| | | load_commands[0:18]: 0x20-0x5af.7 (1424)
| | | load_commands[0:18]: 0x20-0x8017.7 (32760)
| | | [0]{}: load_command 0x20-0x67.7 (72)
0x0020|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x20-0x23.7 (4)
0x0020| 48 00 00 00 | H... | cmdsize: 72 0x24-0x27.7 (4)
@ -61,7 +61,7 @@ $ fq -d macho dv a_stripped
0x0060| 00 | . | fvmlib: false 0x67.6-0x67.6 (0.1)
0x0060| 00 | . | highvm: false 0x67.7-0x67.7 (0.1)
| | | sections[0:0]: 0x68-NA (0)
| | | [1]{}: load_command 0x68-0x23f.7 (472)
| | | [1]{}: load_command 0x68-0x3fff.7 (16280)
0x0060| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x68-0x6b.7 (4)
0x0060| d8 01 00 00| ....| cmdsize: 472 0x6c-0x6f.7 (4)
| | | segment_command{}: 0x70-0xaf.7 (64)
@ -80,8 +80,8 @@ $ fq -d macho dv a_stripped
0x00a0| 00| .| noreloc: false 0xaf.5-0xaf.5 (0.1)
0x00a0| 00| .| fvmlib: false 0xaf.6-0xaf.6 (0.1)
0x00a0| 00| .| highvm: false 0xaf.7-0xaf.7 (0.1)
| | | sections[0:5]: 0xb0-0x23f.7 (400)
| | | [0]{}: section 0xb0-0xff.7 (80)
| | | sections[0:5]: 0xb0-0x3fff.7 (16208)
| | | [0]{}: section 0xb0-0x3f67.7 (16056)
0x00b0|5f 5f 74 65 78 74 00 00 00 00 00 00 00 00 00 00|__text..........| sectname: "__text" 0xb0-0xbf.7 (16)
0x00c0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0xc0-0xcf.7 (16)
0x00d0|30 3f 00 00 01 00 00 00 |0?...... | address: 0x100003f30 0xd0-0xd7.7 (8)
@ -106,7 +106,9 @@ $ fq -d macho dv a_stripped
0x00f0| 00 00 00 00 | .... | reserved1: 0 0xf4-0xf7.7 (4)
0x00f0| 00 00 00 00 | .... | reserved2: 0 0xf8-0xfb.7 (4)
0x00f0| 00 00 00 00| ....| reserved3: 0 0xfc-0xff.7 (4)
| | | [1]{}: section 0x100-0x14f.7 (80)
0x3f30|fd 7b bf a9 fd 03 00 91 00 00 00 90 00 c0 3e 91|.{............>.| data: raw bits 0x3f30-0x3f67.7 (56)
* |until 0x3f67.7 (56) | |
| | | [1]{}: section 0x100-0x3f7f.7 (16000)
0x0100|5f 5f 73 74 75 62 73 00 00 00 00 00 00 00 00 00|__stubs.........| sectname: "__stubs" 0x100-0x10f.7 (16)
0x0110|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x110-0x11f.7 (16)
0x0120|68 3f 00 00 01 00 00 00 |h?...... | address: 0x100003f68 0x120-0x127.7 (8)
@ -131,7 +133,9 @@ $ fq -d macho dv a_stripped
0x0140| 00 00 00 00 | .... | reserved1: 0 0x144-0x147.7 (4)
0x0140| 0c 00 00 00 | .... | reserved2: 12 0x148-0x14b.7 (4)
0x0140| 00 00 00 00| ....| reserved3: 0 0x14c-0x14f.7 (4)
| | | [2]{}: section 0x150-0x19f.7 (80)
0x3f60| 1f 20 03 d5 b0 04 02 58| . .....X| data: raw bits 0x3f68-0x3f7f.7 (24)
0x3f70|00 02 1f d6 1f 20 03 d5 90 04 02 58 00 02 1f d6|..... .....X....|
| | | [2]{}: section 0x150-0x3faf.7 (15968)
0x0150|5f 5f 73 74 75 62 5f 68 65 6c 70 65 72 00 00 00|__stub_helper...| sectname: "__stub_helper" 0x150-0x15f.7 (16)
0x0160|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x160-0x16f.7 (16)
0x0170|80 3f 00 00 01 00 00 00 |.?...... | address: 0x100003f80 0x170-0x177.7 (8)
@ -156,7 +160,9 @@ $ fq -d macho dv a_stripped
0x0190| 00 00 00 00 | .... | reserved1: 0 0x194-0x197.7 (4)
0x0190| 00 00 00 00 | .... | reserved2: 0 0x198-0x19b.7 (4)
0x0190| 00 00 00 00| ....| reserved3: 0 0x19c-0x19f.7 (4)
| | | [3]{}: section 0x1a0-0x1ef.7 (80)
0x3f80|91 04 02 10 1f 20 03 d5 f0 47 bf a9 1f 20 03 d5|..... ...G... ..| data: raw bits 0x3f80-0x3faf.7 (48)
* |until 0x3faf.7 (48) | |
| | | [3]{}: section 0x1a0-0x3fb4.7 (15893)
0x01a0|5f 5f 63 73 74 72 69 6e 67 00 00 00 00 00 00 00|__cstring.......| sectname: "__cstring" 0x1a0-0x1af.7 (16)
0x01b0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x1b0-0x1bf.7 (16)
0x01c0|b0 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fb0 0x1c0-0x1c7.7 (8)
@ -181,7 +187,8 @@ $ fq -d macho dv a_stripped
0x01e0| 00 00 00 00 | .... | reserved1: 0 0x1e4-0x1e7.7 (4)
0x01e0| 00 00 00 00 | .... | reserved2: 0 0x1e8-0x1eb.7 (4)
0x01e0| 00 00 00 00| ....| reserved3: 0 0x1ec-0x1ef.7 (4)
| | | [4]{}: section 0x1f0-0x23f.7 (80)
0x3fb0|61 61 61 0a 00 |aaa.. | data: raw bits 0x3fb0-0x3fb4.7 (5)
| | | [4]{}: section 0x1f0-0x3fff.7 (15888)
0x01f0|5f 5f 75 6e 77 69 6e 64 5f 69 6e 66 6f 00 00 00|__unwind_info...| sectname: "__unwind_info" 0x1f0-0x1ff.7 (16)
0x0200|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x200-0x20f.7 (16)
0x0210|b8 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fb8 0x210-0x217.7 (8)
@ -206,7 +213,10 @@ $ fq -d macho dv a_stripped
0x0230| 00 00 00 00 | .... | reserved1: 0 0x234-0x237.7 (4)
0x0230| 00 00 00 00 | .... | reserved2: 0 0x238-0x23b.7 (4)
0x0230| 00 00 00 00| ....| reserved3: 0 0x23c-0x23f.7 (4)
| | | [2]{}: load_command 0x240-0x2d7.7 (152)
0x3fb0| 01 00 00 00 1c 00 00 00| ........| data: raw bits 0x3fb8-0x3fff.7 (72)
0x3fc0|00 00 00 00 1c 00 00 00 00 00 00 00 1c 00 00 00|................|
* |until 0x3fff.7 (72) | |
| | | [2]{}: load_command 0x240-0x4007.7 (15816)
0x0240|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x240-0x243.7 (4)
0x0240| 98 00 00 00 | .... | cmdsize: 152 0x244-0x247.7 (4)
| | | segment_command{}: 0x248-0x287.7 (64)
@ -226,8 +236,8 @@ $ fq -d macho dv a_stripped
0x0280| 00 | . | noreloc: false 0x287.5-0x287.5 (0.1)
0x0280| 00 | . | fvmlib: false 0x287.6-0x287.6 (0.1)
0x0280| 00 | . | highvm: false 0x287.7-0x287.7 (0.1)
| | | sections[0:1]: 0x288-0x2d7.7 (80)
| | | [0]{}: section 0x288-0x2d7.7 (80)
| | | sections[0:1]: 0x288-0x4007.7 (15744)
| | | [0]{}: section 0x288-0x4007.7 (15744)
0x0280| 5f 5f 67 6f 74 00 00 00| __got...| sectname: "__got" 0x288-0x297.7 (16)
0x0290|00 00 00 00 00 00 00 00 |........ |
0x0290| 5f 5f 44 41 54 41 5f 43| __DATA_C| segname: "__DATA_CONST" 0x298-0x2a7.7 (16)
@ -254,7 +264,8 @@ $ fq -d macho dv a_stripped
0x02c0| 02 00 00 00| ....| reserved1: 2 0x2cc-0x2cf.7 (4)
0x02d0|00 00 00 00 |.... | reserved2: 0 0x2d0-0x2d3.7 (4)
0x02d0| 00 00 00 00 | .... | reserved3: 0 0x2d4-0x2d7.7 (4)
| | | [3]{}: load_command 0x2d8-0x3bf.7 (232)
0x4000|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x4000-0x4007.7 (8)
| | | [3]{}: load_command 0x2d8-0x8017.7 (32064)
0x02d0| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x2d8-0x2db.7 (4)
0x02d0| e8 00 00 00| ....| cmdsize: 232 0x2dc-0x2df.7 (4)
| | | segment_command{}: 0x2e0-0x31f.7 (64)
@ -273,8 +284,8 @@ $ fq -d macho dv a_stripped
0x0310| 00| .| noreloc: false 0x31f.5-0x31f.5 (0.1)
0x0310| 00| .| fvmlib: false 0x31f.6-0x31f.6 (0.1)
0x0310| 00| .| highvm: false 0x31f.7-0x31f.7 (0.1)
| | | sections[0:2]: 0x320-0x3bf.7 (160)
| | | [0]{}: section 0x320-0x36f.7 (80)
| | | sections[0:2]: 0x320-0x8017.7 (31992)
| | | [0]{}: section 0x320-0x800f.7 (31984)
0x0320|5f 5f 6c 61 5f 73 79 6d 62 6f 6c 5f 70 74 72 00|__la_symbol_ptr.| sectname: "__la_symbol_ptr" 0x320-0x32f.7 (16)
0x0330|5f 5f 44 41 54 41 00 00 00 00 00 00 00 00 00 00|__DATA..........| segname: "__DATA" 0x330-0x33f.7 (16)
0x0340|00 80 00 00 01 00 00 00 |........ | address: 0x100008000 0x340-0x347.7 (8)
@ -299,7 +310,8 @@ $ fq -d macho dv a_stripped
0x0360| 03 00 00 00 | .... | reserved1: 3 0x364-0x367.7 (4)
0x0360| 00 00 00 00 | .... | reserved2: 0 0x368-0x36b.7 (4)
0x0360| 00 00 00 00| ....| reserved3: 0 0x36c-0x36f.7 (4)
| | | [1]{}: section 0x370-0x3bf.7 (80)
0x8000|98 3f 00 00 01 00 00 00 a4 3f 00 00 01 00 00 00|.?.......?......| data: raw bits 0x8000-0x800f.7 (16)
| | | [1]{}: section 0x370-0x8017.7 (31912)
0x0370|5f 5f 64 61 74 61 00 00 00 00 00 00 00 00 00 00|__data..........| sectname: "__data" 0x370-0x37f.7 (16)
0x0380|5f 5f 44 41 54 41 00 00 00 00 00 00 00 00 00 00|__DATA..........| segname: "__DATA" 0x380-0x38f.7 (16)
0x0390|10 80 00 00 01 00 00 00 |........ | address: 0x100008010 0x390-0x397.7 (8)
@ -324,6 +336,7 @@ $ fq -d macho dv a_stripped
0x03b0| 00 00 00 00 | .... | reserved1: 0 0x3b4-0x3b7.7 (4)
0x03b0| 00 00 00 00 | .... | reserved2: 0 0x3b8-0x3bb.7 (4)
0x03b0| 00 00 00 00| ....| reserved3: 0 0x3bc-0x3bf.7 (4)
0x8010|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x8010-0x8017.7 (8)
| | | [4]{}: load_command 0x3c0-0x407.7 (72)
0x03c0|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x3c0-0x3c3.7 (4)
0x03c0| 48 00 00 00 | H... | cmdsize: 72 0x3c4-0x3c7.7 (4)
@ -459,5 +472,12 @@ $ fq -d macho dv a_stripped
| | | linkedit_data{}: 0x5a8-0x5af.7 (8)
0x05a0| 40 c1 00 00 | @... | off: 49472 0x5a8-0x5ab.7 (4)
0x05a0| 18 02 00 00| ....| size: 536 0x5ac-0x5af.7 (4)
0x05b0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown0: raw bits 0x5b0-0xc357.7 (48552)
* |until 0xc357.7 (end) (48552) | |
0x05b0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown0: raw bits 0x5b0-0x3f2f.7 (14720)
* |until 0x3f2f.7 (14720) | |
0x3fb0| 00 00 00 | ... | unknown1: raw bits 0x3fb5-0x3fb7.7 (3)
0x4000| 00 00 00 00 00 00 00 00| ........| unknown2: raw bits 0x4008-0x7fff.7 (16376)
0x4010|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x7fff.7 (16376) | |
0x8010| 00 00 00 00 00 00 00 00| ........| unknown3: raw bits 0x8018-0xc357.7 (17216)
0x8020|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0xc357.7 (end) (17216) | |

View File

@ -39,8 +39,8 @@ $ fq -d macho dv libbbb.so
0x0010| 00 | . | incrlink: false 0x1b.6-0x1b.6 (0.1)
0x0010| 00 | . | noundefs: false 0x1b.7-0x1b.7 (0.1)
0x0010| 00 00 00 00| ....| reserved: raw bits (all zero) 0x1c-0x1f.7 (4)
| | | load_commands[0:15]: 0x20-0x52f.7 (1296)
| | | [0]{}: load_command 0x20-0x1f7.7 (472)
| | | load_commands[0:15]: 0x20-0x800f.7 (32752)
| | | [0]{}: load_command 0x20-0x3fff.7 (16352)
0x0020|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x20-0x23.7 (4)
0x0020| d8 01 00 00 | .... | cmdsize: 472 0x24-0x27.7 (4)
| | | segment_command{}: 0x28-0x67.7 (64)
@ -60,8 +60,8 @@ $ fq -d macho dv libbbb.so
0x0060| 00 | . | noreloc: false 0x67.5-0x67.5 (0.1)
0x0060| 00 | . | fvmlib: false 0x67.6-0x67.6 (0.1)
0x0060| 00 | . | highvm: false 0x67.7-0x67.7 (0.1)
| | | sections[0:5]: 0x68-0x1f7.7 (400)
| | | [0]{}: section 0x68-0xb7.7 (80)
| | | sections[0:5]: 0x68-0x3fff.7 (16280)
| | | [0]{}: section 0x68-0x3f7b.7 (16148)
0x0060| 5f 5f 74 65 78 74 00 00| __text..| sectname: "__text" 0x68-0x77.7 (16)
0x0070|00 00 00 00 00 00 00 00 |........ |
0x0070| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0x78-0x87.7 (16)
@ -88,7 +88,9 @@ $ fq -d macho dv libbbb.so
0x00a0| 00 00 00 00| ....| reserved1: 0 0xac-0xaf.7 (4)
0x00b0|00 00 00 00 |.... | reserved2: 0 0xb0-0xb3.7 (4)
0x00b0| 00 00 00 00 | .... | reserved3: 0 0xb4-0xb7.7 (4)
| | | [1]{}: section 0xb8-0x107.7 (80)
0x3f60|fd 7b bf a9 fd 03 00 91 00 00 00 90 00 b0 3e 91|.{............>.| data: raw bits 0x3f60-0x3f7b.7 (28)
0x3f70|03 00 00 94 fd 7b c1 a8 c0 03 5f d6 |.....{...._. |
| | | [1]{}: section 0xb8-0x3f87.7 (16080)
0x00b0| 5f 5f 73 74 75 62 73 00| __stubs.| sectname: "__stubs" 0xb8-0xc7.7 (16)
0x00c0|00 00 00 00 00 00 00 00 |........ |
0x00c0| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0xc8-0xd7.7 (16)
@ -115,7 +117,9 @@ $ fq -d macho dv libbbb.so
0x00f0| 00 00 00 00| ....| reserved1: 0 0xfc-0xff.7 (4)
0x0100|0c 00 00 00 |.... | reserved2: 12 0x100-0x103.7 (4)
0x0100| 00 00 00 00 | .... | reserved3: 0 0x104-0x107.7 (4)
| | | [2]{}: section 0x108-0x157.7 (80)
0x3f70| 1f 20 03 d5| . ..| data: raw bits 0x3f7c-0x3f87.7 (12)
0x3f80|10 04 02 58 00 02 1f d6 |...X.... |
| | | [2]{}: section 0x108-0x3fab.7 (16036)
0x0100| 5f 5f 73 74 75 62 5f 68| __stub_h| sectname: "__stub_helper" 0x108-0x117.7 (16)
0x0110|65 6c 70 65 72 00 00 00 |elper... |
0x0110| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0x118-0x127.7 (16)
@ -142,7 +146,10 @@ $ fq -d macho dv libbbb.so
0x0140| 00 00 00 00| ....| reserved1: 0 0x14c-0x14f.7 (4)
0x0150|00 00 00 00 |.... | reserved2: 0 0x150-0x153.7 (4)
0x0150| 00 00 00 00 | .... | reserved3: 0 0x154-0x157.7 (4)
| | | [3]{}: section 0x158-0x1a7.7 (80)
0x3f80| 11 04 02 10 1f 20 03 d5| ..... ..| data: raw bits 0x3f88-0x3fab.7 (36)
0x3f90|f0 47 bf a9 1f 20 03 d5 50 03 00 58 00 02 1f d6|.G... ..P..X....|
0x3fa0|50 00 00 18 f9 ff ff 17 00 00 00 00 |P........... |
| | | [3]{}: section 0x158-0x3fb7.7 (15968)
0x0150| 5f 5f 63 73 74 72 69 6e| __cstrin| sectname: "__cstring" 0x158-0x167.7 (16)
0x0160|67 00 00 00 00 00 00 00 |g....... |
0x0160| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0x168-0x177.7 (16)
@ -169,7 +176,9 @@ $ fq -d macho dv libbbb.so
0x0190| 00 00 00 00| ....| reserved1: 0 0x19c-0x19f.7 (4)
0x01a0|00 00 00 00 |.... | reserved2: 0 0x1a0-0x1a3.7 (4)
0x01a0| 00 00 00 00 | .... | reserved3: 0 0x1a4-0x1a7.7 (4)
| | | [4]{}: section 0x1a8-0x1f7.7 (80)
0x3fa0| 6c 69 62 62| libb| data: raw bits 0x3fac-0x3fb7.7 (12)
0x3fb0|62 62 5f 62 62 62 0a 00 |bb_bbb.. |
| | | [4]{}: section 0x1a8-0x3fff.7 (15960)
0x01a0| 5f 5f 75 6e 77 69 6e 64| __unwind| sectname: "__unwind_info" 0x1a8-0x1b7.7 (16)
0x01b0|5f 69 6e 66 6f 00 00 00 |_info... |
0x01b0| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0x1b8-0x1c7.7 (16)
@ -196,7 +205,10 @@ $ fq -d macho dv libbbb.so
0x01e0| 00 00 00 00| ....| reserved1: 0 0x1ec-0x1ef.7 (4)
0x01f0|00 00 00 00 |.... | reserved2: 0 0x1f0-0x1f3.7 (4)
0x01f0| 00 00 00 00 | .... | reserved3: 0 0x1f4-0x1f7.7 (4)
| | | [1]{}: load_command 0x1f8-0x28f.7 (152)
0x3fb0| 01 00 00 00 1c 00 00 00| ........| data: raw bits 0x3fb8-0x3fff.7 (72)
0x3fc0|00 00 00 00 1c 00 00 00 00 00 00 00 1c 00 00 00|................|
* |until 0x3fff.7 (72) | |
| | | [1]{}: load_command 0x1f8-0x4007.7 (15888)
0x01f0| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x1f8-0x1fb.7 (4)
0x01f0| 98 00 00 00| ....| cmdsize: 152 0x1fc-0x1ff.7 (4)
| | | segment_command{}: 0x200-0x23f.7 (64)
@ -215,8 +227,8 @@ $ fq -d macho dv libbbb.so
0x0230| 00| .| noreloc: false 0x23f.5-0x23f.5 (0.1)
0x0230| 00| .| fvmlib: false 0x23f.6-0x23f.6 (0.1)
0x0230| 00| .| highvm: false 0x23f.7-0x23f.7 (0.1)
| | | sections[0:1]: 0x240-0x28f.7 (80)
| | | [0]{}: section 0x240-0x28f.7 (80)
| | | sections[0:1]: 0x240-0x4007.7 (15816)
| | | [0]{}: section 0x240-0x4007.7 (15816)
0x0240|5f 5f 67 6f 74 00 00 00 00 00 00 00 00 00 00 00|__got...........| sectname: "__got" 0x240-0x24f.7 (16)
0x0250|5f 5f 44 41 54 41 5f 43 4f 4e 53 54 00 00 00 00|__DATA_CONST....| segname: "__DATA_CONST" 0x250-0x25f.7 (16)
0x0260|00 40 00 00 00 00 00 00 |.@...... | address: 0x4000 0x260-0x267.7 (8)
@ -241,7 +253,8 @@ $ fq -d macho dv libbbb.so
0x0280| 01 00 00 00 | .... | reserved1: 1 0x284-0x287.7 (4)
0x0280| 00 00 00 00 | .... | reserved2: 0 0x288-0x28b.7 (4)
0x0280| 00 00 00 00| ....| reserved3: 0 0x28c-0x28f.7 (4)
| | | [2]{}: load_command 0x290-0x377.7 (232)
0x4000|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x4000-0x4007.7 (8)
| | | [2]{}: load_command 0x290-0x800f.7 (32128)
0x0290|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x290-0x293.7 (4)
0x0290| e8 00 00 00 | .... | cmdsize: 232 0x294-0x297.7 (4)
| | | segment_command{}: 0x298-0x2d7.7 (64)
@ -261,8 +274,8 @@ $ fq -d macho dv libbbb.so
0x02d0| 00 | . | noreloc: false 0x2d7.5-0x2d7.5 (0.1)
0x02d0| 00 | . | fvmlib: false 0x2d7.6-0x2d7.6 (0.1)
0x02d0| 00 | . | highvm: false 0x2d7.7-0x2d7.7 (0.1)
| | | sections[0:2]: 0x2d8-0x377.7 (160)
| | | [0]{}: section 0x2d8-0x327.7 (80)
| | | sections[0:2]: 0x2d8-0x800f.7 (32056)
| | | [0]{}: section 0x2d8-0x8007.7 (32048)
0x02d0| 5f 5f 6c 61 5f 73 79 6d| __la_sym| sectname: "__la_symbol_ptr" 0x2d8-0x2e7.7 (16)
0x02e0|62 6f 6c 5f 70 74 72 00 |bol_ptr. |
0x02e0| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x2e8-0x2f7.7 (16)
@ -289,7 +302,8 @@ $ fq -d macho dv libbbb.so
0x0310| 02 00 00 00| ....| reserved1: 2 0x31c-0x31f.7 (4)
0x0320|00 00 00 00 |.... | reserved2: 0 0x320-0x323.7 (4)
0x0320| 00 00 00 00 | .... | reserved3: 0 0x324-0x327.7 (4)
| | | [1]{}: section 0x328-0x377.7 (80)
0x8000|a0 3f 00 00 00 00 00 00 |.?...... | data: raw bits 0x8000-0x8007.7 (8)
| | | [1]{}: section 0x328-0x800f.7 (31976)
0x0320| 5f 5f 64 61 74 61 00 00| __data..| sectname: "__data" 0x328-0x337.7 (16)
0x0330|00 00 00 00 00 00 00 00 |........ |
0x0330| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x338-0x347.7 (16)
@ -316,6 +330,7 @@ $ fq -d macho dv libbbb.so
0x0360| 00 00 00 00| ....| reserved1: 0 0x36c-0x36f.7 (4)
0x0370|00 00 00 00 |.... | reserved2: 0 0x370-0x373.7 (4)
0x0370| 00 00 00 00 | .... | reserved3: 0 0x374-0x377.7 (4)
0x8000| 00 00 00 00 00 00 00 00| ........| data: raw bits 0x8008-0x800f.7 (8)
| | | [3]{}: load_command 0x378-0x3bf.7 (72)
0x0370| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x378-0x37b.7 (4)
0x0370| 48 00 00 00| H...| cmdsize: 72 0x37c-0x37f.7 (4)
@ -438,5 +453,10 @@ $ fq -d macho dv libbbb.so
| | | linkedit_data{}: 0x528-0x52f.7 (8)
0x0520| e0 c0 00 00 | .... | off: 49376 0x528-0x52b.7 (4)
0x0520| 16 02 00 00| ....| size: 534 0x52c-0x52f.7 (4)
0x0530|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown0: raw bits 0x530-0xc2f5.7 (48582)
* |until 0xc2f5.7 (end) (48582) | |
0x0530|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown0: raw bits 0x530-0x3f5f.7 (14896)
* |until 0x3f5f.7 (14896) | |
0x4000| 00 00 00 00 00 00 00 00| ........| unknown1: raw bits 0x4008-0x7fff.7 (16376)
0x4010|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x7fff.7 (16376) | |
0x8010|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown2: raw bits 0x8010-0xc2f5.7 (17126)
* |until 0xc2f5.7 (end) (17126) | |

View File

@ -39,7 +39,7 @@ $ fq -d macho dv a_dynamic
0x0010| 00 | . | incrlink: false 0x1b.6-0x1b.6 (0.1)
0x0010| 00 | . | noundefs: false 0x1b.7-0x1b.7 (0.1)
0x0010| 00 00 00 00| ....| reserved: raw bits (all zero) 0x1c-0x1f.7 (4)
| | | load_commands[0:16]: 0x20-0x547.7 (1320)
| | | load_commands[0:16]: 0x20-0x401f.7 (16384)
| | | [0]{}: load_command 0x20-0x67.7 (72)
0x0020|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x20-0x23.7 (4)
0x0020| 48 00 00 00 | H... | cmdsize: 72 0x24-0x27.7 (4)
@ -61,7 +61,7 @@ $ fq -d macho dv a_dynamic
0x0060| 00 | . | fvmlib: false 0x67.6-0x67.6 (0.1)
0x0060| 00 | . | highvm: false 0x67.7-0x67.7 (0.1)
| | | sections[0:0]: 0x68-NA (0)
| | | [1]{}: load_command 0x68-0x23f.7 (472)
| | | [1]{}: load_command 0x68-0x3ff3.7 (16268)
0x0060| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x68-0x6b.7 (4)
0x0060| d8 01 00 00| ....| cmdsize: 472 0x6c-0x6f.7 (4)
| | | segment_command{}: 0x70-0xaf.7 (64)
@ -80,8 +80,8 @@ $ fq -d macho dv a_dynamic
0x00a0| 00| .| noreloc: false 0xaf.5-0xaf.5 (0.1)
0x00a0| 00| .| fvmlib: false 0xaf.6-0xaf.6 (0.1)
0x00a0| 00| .| highvm: false 0xaf.7-0xaf.7 (0.1)
| | | sections[0:5]: 0xb0-0x23f.7 (400)
| | | [0]{}: section 0xb0-0xff.7 (80)
| | | sections[0:5]: 0xb0-0x3ff3.7 (16196)
| | | [0]{}: section 0xb0-0x3f73.7 (16068)
0x00b0|5f 5f 74 65 78 74 00 00 00 00 00 00 00 00 00 00|__text..........| sectname: "__text" 0xb0-0xbf.7 (16)
0x00c0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0xc0-0xcf.7 (16)
0x00d0|40 3f 00 00 01 00 00 00 |@?...... | address: 0x100003f40 0xd0-0xd7.7 (8)
@ -106,7 +106,9 @@ $ fq -d macho dv a_dynamic
0x00f0| 00 00 00 00 | .... | reserved1: 0 0xf4-0xf7.7 (4)
0x00f0| 00 00 00 00 | .... | reserved2: 0 0xf8-0xfb.7 (4)
0x00f0| 00 00 00 00| ....| reserved3: 0 0xfc-0xff.7 (4)
| | | [1]{}: section 0x100-0x14f.7 (80)
0x3f40|55 48 89 e5 48 8d 3d 59 00 00 00 b0 00 e8 28 00|UH..H.=Y......(.| data: raw bits 0x3f40-0x3f73.7 (52)
* |until 0x3f73.7 (52) | |
| | | [1]{}: section 0x100-0x3f7f.7 (16000)
0x0100|5f 5f 73 74 75 62 73 00 00 00 00 00 00 00 00 00|__stubs.........| sectname: "__stubs" 0x100-0x10f.7 (16)
0x0110|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x110-0x11f.7 (16)
0x0120|74 3f 00 00 01 00 00 00 |t?...... | address: 0x100003f74 0x120-0x127.7 (8)
@ -131,7 +133,8 @@ $ fq -d macho dv a_dynamic
0x0140| 00 00 00 00 | .... | reserved1: 0 0x144-0x147.7 (4)
0x0140| 06 00 00 00 | .... | reserved2: 6 0x148-0x14b.7 (4)
0x0140| 00 00 00 00| ....| reserved3: 0 0x14c-0x14f.7 (4)
| | | [2]{}: section 0x150-0x19f.7 (80)
0x3f70| ff 25 96 00 00 00 ff 25 98 00 00 00| .%.....%....| data: raw bits 0x3f74-0x3f7f.7 (12)
| | | [2]{}: section 0x150-0x3fa3.7 (15956)
0x0150|5f 5f 73 74 75 62 5f 68 65 6c 70 65 72 00 00 00|__stub_helper...| sectname: "__stub_helper" 0x150-0x15f.7 (16)
0x0160|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x160-0x16f.7 (16)
0x0170|80 3f 00 00 01 00 00 00 |.?...... | address: 0x100003f80 0x170-0x177.7 (8)
@ -156,7 +159,9 @@ $ fq -d macho dv a_dynamic
0x0190| 00 00 00 00 | .... | reserved1: 0 0x194-0x197.7 (4)
0x0190| 00 00 00 00 | .... | reserved2: 0 0x198-0x19b.7 (4)
0x0190| 00 00 00 00| ....| reserved3: 0 0x19c-0x19f.7 (4)
| | | [3]{}: section 0x1a0-0x1ef.7 (80)
0x3f80|4c 8d 1d 79 00 00 00 41 53 ff 25 79 00 00 00 90|L..y...AS.%y....| data: raw bits 0x3f80-0x3fa3.7 (36)
* |until 0x3fa3.7 (36) | |
| | | [3]{}: section 0x1a0-0x3fa8.7 (15881)
0x01a0|5f 5f 63 73 74 72 69 6e 67 00 00 00 00 00 00 00|__cstring.......| sectname: "__cstring" 0x1a0-0x1af.7 (16)
0x01b0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x1b0-0x1bf.7 (16)
0x01c0|a4 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fa4 0x1c0-0x1c7.7 (8)
@ -181,7 +186,8 @@ $ fq -d macho dv a_dynamic
0x01e0| 00 00 00 00 | .... | reserved1: 0 0x1e4-0x1e7.7 (4)
0x01e0| 00 00 00 00 | .... | reserved2: 0 0x1e8-0x1eb.7 (4)
0x01e0| 00 00 00 00| ....| reserved3: 0 0x1ec-0x1ef.7 (4)
| | | [4]{}: section 0x1f0-0x23f.7 (80)
0x3fa0| 61 61 61 0a 00 | aaa.. | data: raw bits 0x3fa4-0x3fa8.7 (5)
| | | [4]{}: section 0x1f0-0x3ff3.7 (15876)
0x01f0|5f 5f 75 6e 77 69 6e 64 5f 69 6e 66 6f 00 00 00|__unwind_info...| sectname: "__unwind_info" 0x1f0-0x1ff.7 (16)
0x0200|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x200-0x20f.7 (16)
0x0210|ac 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fac 0x210-0x217.7 (8)
@ -206,7 +212,10 @@ $ fq -d macho dv a_dynamic
0x0230| 00 00 00 00 | .... | reserved1: 0 0x234-0x237.7 (4)
0x0230| 00 00 00 00 | .... | reserved2: 0 0x238-0x23b.7 (4)
0x0230| 00 00 00 00| ....| reserved3: 0 0x23c-0x23f.7 (4)
| | | [2]{}: load_command 0x240-0x377.7 (312)
0x3fa0| 01 00 00 00| ....| data: raw bits 0x3fac-0x3ff3.7 (72)
0x3fb0|1c 00 00 00 00 00 00 00 1c 00 00 00 00 00 00 00|................|
* |until 0x3ff3.7 (72) | |
| | | [2]{}: load_command 0x240-0x401f.7 (15840)
0x0240|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x240-0x243.7 (4)
0x0240| 38 01 00 00 | 8... | cmdsize: 312 0x244-0x247.7 (4)
| | | segment_command{}: 0x248-0x287.7 (64)
@ -226,8 +235,8 @@ $ fq -d macho dv a_dynamic
0x0280| 00 | . | noreloc: false 0x287.5-0x287.5 (0.1)
0x0280| 00 | . | fvmlib: false 0x287.6-0x287.6 (0.1)
0x0280| 00 | . | highvm: false 0x287.7-0x287.7 (0.1)
| | | sections[0:3]: 0x288-0x377.7 (240)
| | | [0]{}: section 0x288-0x2d7.7 (80)
| | | sections[0:3]: 0x288-0x401f.7 (15768)
| | | [0]{}: section 0x288-0x4007.7 (15744)
0x0280| 5f 5f 6e 6c 5f 73 79 6d| __nl_sym| sectname: "__nl_symbol_ptr" 0x288-0x297.7 (16)
0x0290|62 6f 6c 5f 70 74 72 00 |bol_ptr. |
0x0290| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x298-0x2a7.7 (16)
@ -254,7 +263,8 @@ $ fq -d macho dv a_dynamic
0x02c0| 02 00 00 00| ....| reserved1: 2 0x2cc-0x2cf.7 (4)
0x02d0|00 00 00 00 |.... | reserved2: 0 0x2d0-0x2d3.7 (4)
0x02d0| 00 00 00 00 | .... | reserved3: 0 0x2d4-0x2d7.7 (4)
| | | [1]{}: section 0x2d8-0x327.7 (80)
0x4000|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x4000-0x4007.7 (8)
| | | [1]{}: section 0x2d8-0x400f.7 (15672)
0x02d0| 5f 5f 67 6f 74 00 00 00| __got...| sectname: "__got" 0x2d8-0x2e7.7 (16)
0x02e0|00 00 00 00 00 00 00 00 |........ |
0x02e0| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x2e8-0x2f7.7 (16)
@ -281,7 +291,8 @@ $ fq -d macho dv a_dynamic
0x0310| 03 00 00 00| ....| reserved1: 3 0x31c-0x31f.7 (4)
0x0320|00 00 00 00 |.... | reserved2: 0 0x320-0x323.7 (4)
0x0320| 00 00 00 00 | .... | reserved3: 0 0x324-0x327.7 (4)
| | | [2]{}: section 0x328-0x377.7 (80)
0x4000| 00 00 00 00 00 00 00 00| ........| data: raw bits 0x4008-0x400f.7 (8)
| | | [2]{}: section 0x328-0x401f.7 (15608)
0x0320| 5f 5f 6c 61 5f 73 79 6d| __la_sym| sectname: "__la_symbol_ptr" 0x328-0x337.7 (16)
0x0330|62 6f 6c 5f 70 74 72 00 |bol_ptr. |
0x0330| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x338-0x347.7 (16)
@ -308,6 +319,7 @@ $ fq -d macho dv a_dynamic
0x0360| 04 00 00 00| ....| reserved1: 4 0x36c-0x36f.7 (4)
0x0370|00 00 00 00 |.... | reserved2: 0 0x370-0x373.7 (4)
0x0370| 00 00 00 00 | .... | reserved3: 0 0x374-0x377.7 (4)
0x4010|90 3f 00 00 01 00 00 00 9a 3f 00 00 01 00 00 00|.?.......?......| data: raw bits 0x4010-0x401f.7 (16)
| | | [3]{}: load_command 0x378-0x3bf.7 (72)
0x0370| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x378-0x37b.7 (4)
0x0370| 48 00 00 00| H...| cmdsize: 72 0x37c-0x37f.7 (4)
@ -429,6 +441,10 @@ $ fq -d macho dv a_dynamic
| | | linkedit_data{}: 0x540-0x547.7 (8)
0x0540|80 80 00 00 |.... | off: 32896 0x540-0x543.7 (4)
0x0540| 00 00 00 00 | .... | size: 0 0x544-0x547.7 (4)
0x0540| 00 00 00 00 00 00 00 00| ........| unknown0: raw bits 0x548-0x813f.7 (31736)
0x0540| 00 00 00 00 00 00 00 00| ........| unknown0: raw bits 0x548-0x3f3f.7 (14840)
0x0550|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x813f.7 (end) (31736) | |
* |until 0x3f3f.7 (14840) | |
0x3fa0| 00 00 00 | ... | unknown1: raw bits 0x3fa9-0x3fab.7 (3)
0x3ff0| 00 00 00 00 00 00 00 00 00 00 00 00| ............| unknown2: raw bits 0x3ff4-0x3fff.7 (12)
0x4020|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown3: raw bits 0x4020-0x813f.7 (16672)
* |until 0x813f.7 (end) (16672) | |

View File

@ -39,7 +39,7 @@ $ fq -d macho dv a_static
0x0010| 00 | . | incrlink: false 0x1b.6-0x1b.6 (0.1)
0x0010| 00 | . | noundefs: false 0x1b.7-0x1b.7 (0.1)
0x0010| 00 00 00 00| ....| reserved: raw bits (all zero) 0x1c-0x1f.7 (4)
| | | load_commands[0:15]: 0x20-0x51f.7 (1280)
| | | load_commands[0:15]: 0x20-0x4017.7 (16376)
| | | [0]{}: load_command 0x20-0x67.7 (72)
0x0020|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x20-0x23.7 (4)
0x0020| 48 00 00 00 | H... | cmdsize: 72 0x24-0x27.7 (4)
@ -61,7 +61,7 @@ $ fq -d macho dv a_static
0x0060| 00 | . | fvmlib: false 0x67.6-0x67.6 (0.1)
0x0060| 00 | . | highvm: false 0x67.7-0x67.7 (0.1)
| | | sections[0:0]: 0x68-NA (0)
| | | [1]{}: load_command 0x68-0x23f.7 (472)
| | | [1]{}: load_command 0x68-0x3fff.7 (16280)
0x0060| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x68-0x6b.7 (4)
0x0060| d8 01 00 00| ....| cmdsize: 472 0x6c-0x6f.7 (4)
| | | segment_command{}: 0x70-0xaf.7 (64)
@ -80,8 +80,8 @@ $ fq -d macho dv a_static
0x00a0| 00| .| noreloc: false 0xaf.5-0xaf.5 (0.1)
0x00a0| 00| .| fvmlib: false 0xaf.6-0xaf.6 (0.1)
0x00a0| 00| .| highvm: false 0xaf.7-0xaf.7 (0.1)
| | | sections[0:5]: 0xb0-0x23f.7 (400)
| | | [0]{}: section 0xb0-0xff.7 (80)
| | | sections[0:5]: 0xb0-0x3fff.7 (16208)
| | | [0]{}: section 0xb0-0x3f83.7 (16084)
0x00b0|5f 5f 74 65 78 74 00 00 00 00 00 00 00 00 00 00|__text..........| sectname: "__text" 0xb0-0xbf.7 (16)
0x00c0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0xc0-0xcf.7 (16)
0x00d0|30 3f 00 00 01 00 00 00 |0?...... | address: 0x100003f30 0xd0-0xd7.7 (8)
@ -106,7 +106,9 @@ $ fq -d macho dv a_static
0x00f0| 00 00 00 00 | .... | reserved1: 0 0xf4-0xf7.7 (4)
0x00f0| 00 00 00 00 | .... | reserved2: 0 0xf8-0xfb.7 (4)
0x00f0| 00 00 00 00| ....| reserved3: 0 0xfc-0xff.7 (4)
| | | [1]{}: section 0x100-0x14f.7 (80)
0x3f30|55 48 89 e5 48 8d 3d 6b 00 00 00 b0 00 e8 42 00|UH..H.=k......B.| data: raw bits 0x3f30-0x3f83.7 (84)
* |until 0x3f83.7 (84) | |
| | | [1]{}: section 0x100-0x3f89.7 (16010)
0x0100|5f 5f 73 74 75 62 73 00 00 00 00 00 00 00 00 00|__stubs.........| sectname: "__stubs" 0x100-0x10f.7 (16)
0x0110|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x110-0x11f.7 (16)
0x0120|84 3f 00 00 01 00 00 00 |.?...... | address: 0x100003f84 0x120-0x127.7 (8)
@ -131,7 +133,8 @@ $ fq -d macho dv a_static
0x0140| 00 00 00 00 | .... | reserved1: 0 0x144-0x147.7 (4)
0x0140| 06 00 00 00 | .... | reserved2: 6 0x148-0x14b.7 (4)
0x0140| 00 00 00 00| ....| reserved3: 0 0x14c-0x14f.7 (4)
| | | [2]{}: section 0x150-0x19f.7 (80)
0x3f80| ff 25 86 00 00 00 | .%.... | data: raw bits 0x3f84-0x3f89.7 (6)
| | | [2]{}: section 0x150-0x3fa5.7 (15958)
0x0150|5f 5f 73 74 75 62 5f 68 65 6c 70 65 72 00 00 00|__stub_helper...| sectname: "__stub_helper" 0x150-0x15f.7 (16)
0x0160|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x160-0x16f.7 (16)
0x0170|8c 3f 00 00 01 00 00 00 |.?...... | address: 0x100003f8c 0x170-0x177.7 (8)
@ -156,7 +159,10 @@ $ fq -d macho dv a_static
0x0190| 00 00 00 00 | .... | reserved1: 0 0x194-0x197.7 (4)
0x0190| 00 00 00 00 | .... | reserved2: 0 0x198-0x19b.7 (4)
0x0190| 00 00 00 00| ....| reserved3: 0 0x19c-0x19f.7 (4)
| | | [3]{}: section 0x1a0-0x1ef.7 (80)
0x3f80| 4c 8d 1d 6d| L..m| data: raw bits 0x3f8c-0x3fa5.7 (26)
0x3f90|00 00 00 41 53 ff 25 6d 00 00 00 90 68 00 00 00|...AS.%m....h...|
0x3fa0|00 e9 e6 ff ff ff |...... |
| | | [3]{}: section 0x1a0-0x3fb6.7 (15895)
0x01a0|5f 5f 63 73 74 72 69 6e 67 00 00 00 00 00 00 00|__cstring.......| sectname: "__cstring" 0x1a0-0x1af.7 (16)
0x01b0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x1b0-0x1bf.7 (16)
0x01c0|a6 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fa6 0x1c0-0x1c7.7 (8)
@ -181,7 +187,9 @@ $ fq -d macho dv a_static
0x01e0| 00 00 00 00 | .... | reserved1: 0 0x1e4-0x1e7.7 (4)
0x01e0| 00 00 00 00 | .... | reserved2: 0 0x1e8-0x1eb.7 (4)
0x01e0| 00 00 00 00| ....| reserved3: 0 0x1ec-0x1ef.7 (4)
| | | [4]{}: section 0x1f0-0x23f.7 (80)
0x3fa0| 61 61 61 0a 00 6c 69 62 62 62| aaa..libbb| data: raw bits 0x3fa6-0x3fb6.7 (17)
0x3fb0|62 5f 62 62 62 0a 00 |b_bbb.. |
| | | [4]{}: section 0x1f0-0x3fff.7 (15888)
0x01f0|5f 5f 75 6e 77 69 6e 64 5f 69 6e 66 6f 00 00 00|__unwind_info...| sectname: "__unwind_info" 0x1f0-0x1ff.7 (16)
0x0200|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x200-0x20f.7 (16)
0x0210|b8 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fb8 0x210-0x217.7 (8)
@ -206,7 +214,10 @@ $ fq -d macho dv a_static
0x0230| 00 00 00 00 | .... | reserved1: 0 0x234-0x237.7 (4)
0x0230| 00 00 00 00 | .... | reserved2: 0 0x238-0x23b.7 (4)
0x0230| 00 00 00 00| ....| reserved3: 0 0x23c-0x23f.7 (4)
| | | [2]{}: load_command 0x240-0x377.7 (312)
0x3fb0| 01 00 00 00 1c 00 00 00| ........| data: raw bits 0x3fb8-0x3fff.7 (72)
0x3fc0|00 00 00 00 1c 00 00 00 00 00 00 00 1c 00 00 00|................|
* |until 0x3fff.7 (72) | |
| | | [2]{}: load_command 0x240-0x4017.7 (15832)
0x0240|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x240-0x243.7 (4)
0x0240| 38 01 00 00 | 8... | cmdsize: 312 0x244-0x247.7 (4)
| | | segment_command{}: 0x248-0x287.7 (64)
@ -226,8 +237,8 @@ $ fq -d macho dv a_static
0x0280| 00 | . | noreloc: false 0x287.5-0x287.5 (0.1)
0x0280| 00 | . | fvmlib: false 0x287.6-0x287.6 (0.1)
0x0280| 00 | . | highvm: false 0x287.7-0x287.7 (0.1)
| | | sections[0:3]: 0x288-0x377.7 (240)
| | | [0]{}: section 0x288-0x2d7.7 (80)
| | | sections[0:3]: 0x288-0x4017.7 (15760)
| | | [0]{}: section 0x288-0x4007.7 (15744)
0x0280| 5f 5f 6e 6c 5f 73 79 6d| __nl_sym| sectname: "__nl_symbol_ptr" 0x288-0x297.7 (16)
0x0290|62 6f 6c 5f 70 74 72 00 |bol_ptr. |
0x0290| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x298-0x2a7.7 (16)
@ -254,7 +265,8 @@ $ fq -d macho dv a_static
0x02c0| 01 00 00 00| ....| reserved1: 1 0x2cc-0x2cf.7 (4)
0x02d0|00 00 00 00 |.... | reserved2: 0 0x2d0-0x2d3.7 (4)
0x02d0| 00 00 00 00 | .... | reserved3: 0 0x2d4-0x2d7.7 (4)
| | | [1]{}: section 0x2d8-0x327.7 (80)
0x4000|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x4000-0x4007.7 (8)
| | | [1]{}: section 0x2d8-0x400f.7 (15672)
0x02d0| 5f 5f 67 6f 74 00 00 00| __got...| sectname: "__got" 0x2d8-0x2e7.7 (16)
0x02e0|00 00 00 00 00 00 00 00 |........ |
0x02e0| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x2e8-0x2f7.7 (16)
@ -281,7 +293,8 @@ $ fq -d macho dv a_static
0x0310| 02 00 00 00| ....| reserved1: 2 0x31c-0x31f.7 (4)
0x0320|00 00 00 00 |.... | reserved2: 0 0x320-0x323.7 (4)
0x0320| 00 00 00 00 | .... | reserved3: 0 0x324-0x327.7 (4)
| | | [2]{}: section 0x328-0x377.7 (80)
0x4000| 00 00 00 00 00 00 00 00| ........| data: raw bits 0x4008-0x400f.7 (8)
| | | [2]{}: section 0x328-0x4017.7 (15600)
0x0320| 5f 5f 6c 61 5f 73 79 6d| __la_sym| sectname: "__la_symbol_ptr" 0x328-0x337.7 (16)
0x0330|62 6f 6c 5f 70 74 72 00 |bol_ptr. |
0x0330| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x338-0x347.7 (16)
@ -308,6 +321,7 @@ $ fq -d macho dv a_static
0x0360| 03 00 00 00| ....| reserved1: 3 0x36c-0x36f.7 (4)
0x0370|00 00 00 00 |.... | reserved2: 0 0x370-0x373.7 (4)
0x0370| 00 00 00 00 | .... | reserved3: 0 0x374-0x377.7 (4)
0x4010|9c 3f 00 00 01 00 00 00 |.?...... | data: raw bits 0x4010-0x4017.7 (8)
| | | [3]{}: load_command 0x378-0x3bf.7 (72)
0x0370| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x378-0x37b.7 (4)
0x0370| 48 00 00 00| H...| cmdsize: 72 0x37c-0x37f.7 (4)
@ -419,5 +433,10 @@ $ fq -d macho dv a_static
| | | linkedit_data{}: 0x518-0x51f.7 (8)
0x0510| 80 80 00 00 | .... | off: 32896 0x518-0x51b.7 (4)
0x0510| 00 00 00 00| ....| size: 0 0x51c-0x51f.7 (4)
0x0520|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown0: raw bits 0x520-0x8137.7 (31768)
* |until 0x8137.7 (end) (31768) | |
0x0520|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown0: raw bits 0x520-0x3f2f.7 (14864)
* |until 0x3f2f.7 (14864) | |
0x3f80| 00 00 | .. | unknown1: raw bits 0x3f8a-0x3f8b.7 (2)
0x3fb0| 00 | . | unknown2: raw bits 0x3fb7-0x3fb7.7 (1)
0x4010| 00 00 00 00 00 00 00 00| ........| unknown3: raw bits 0x4018-0x8137.7 (16672)
0x4020|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x8137.7 (end) (16672) | |

View File

@ -39,7 +39,7 @@ $ fq -d macho dv a_stripped
0x0010| 00 | . | incrlink: false 0x1b.6-0x1b.6 (0.1)
0x0010| 00 | . | noundefs: false 0x1b.7-0x1b.7 (0.1)
0x0010| 00 00 00 00| ....| reserved: raw bits (all zero) 0x1c-0x1f.7 (4)
| | | load_commands[0:16]: 0x20-0x547.7 (1320)
| | | load_commands[0:16]: 0x20-0x401f.7 (16384)
| | | [0]{}: load_command 0x20-0x67.7 (72)
0x0020|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x20-0x23.7 (4)
0x0020| 48 00 00 00 | H... | cmdsize: 72 0x24-0x27.7 (4)
@ -61,7 +61,7 @@ $ fq -d macho dv a_stripped
0x0060| 00 | . | fvmlib: false 0x67.6-0x67.6 (0.1)
0x0060| 00 | . | highvm: false 0x67.7-0x67.7 (0.1)
| | | sections[0:0]: 0x68-NA (0)
| | | [1]{}: load_command 0x68-0x23f.7 (472)
| | | [1]{}: load_command 0x68-0x3ff3.7 (16268)
0x0060| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x68-0x6b.7 (4)
0x0060| d8 01 00 00| ....| cmdsize: 472 0x6c-0x6f.7 (4)
| | | segment_command{}: 0x70-0xaf.7 (64)
@ -80,8 +80,8 @@ $ fq -d macho dv a_stripped
0x00a0| 00| .| noreloc: false 0xaf.5-0xaf.5 (0.1)
0x00a0| 00| .| fvmlib: false 0xaf.6-0xaf.6 (0.1)
0x00a0| 00| .| highvm: false 0xaf.7-0xaf.7 (0.1)
| | | sections[0:5]: 0xb0-0x23f.7 (400)
| | | [0]{}: section 0xb0-0xff.7 (80)
| | | sections[0:5]: 0xb0-0x3ff3.7 (16196)
| | | [0]{}: section 0xb0-0x3f73.7 (16068)
0x00b0|5f 5f 74 65 78 74 00 00 00 00 00 00 00 00 00 00|__text..........| sectname: "__text" 0xb0-0xbf.7 (16)
0x00c0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0xc0-0xcf.7 (16)
0x00d0|40 3f 00 00 01 00 00 00 |@?...... | address: 0x100003f40 0xd0-0xd7.7 (8)
@ -106,7 +106,9 @@ $ fq -d macho dv a_stripped
0x00f0| 00 00 00 00 | .... | reserved1: 0 0xf4-0xf7.7 (4)
0x00f0| 00 00 00 00 | .... | reserved2: 0 0xf8-0xfb.7 (4)
0x00f0| 00 00 00 00| ....| reserved3: 0 0xfc-0xff.7 (4)
| | | [1]{}: section 0x100-0x14f.7 (80)
0x3f40|55 48 89 e5 48 8d 3d 59 00 00 00 b0 00 e8 28 00|UH..H.=Y......(.| data: raw bits 0x3f40-0x3f73.7 (52)
* |until 0x3f73.7 (52) | |
| | | [1]{}: section 0x100-0x3f7f.7 (16000)
0x0100|5f 5f 73 74 75 62 73 00 00 00 00 00 00 00 00 00|__stubs.........| sectname: "__stubs" 0x100-0x10f.7 (16)
0x0110|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x110-0x11f.7 (16)
0x0120|74 3f 00 00 01 00 00 00 |t?...... | address: 0x100003f74 0x120-0x127.7 (8)
@ -131,7 +133,8 @@ $ fq -d macho dv a_stripped
0x0140| 00 00 00 00 | .... | reserved1: 0 0x144-0x147.7 (4)
0x0140| 06 00 00 00 | .... | reserved2: 6 0x148-0x14b.7 (4)
0x0140| 00 00 00 00| ....| reserved3: 0 0x14c-0x14f.7 (4)
| | | [2]{}: section 0x150-0x19f.7 (80)
0x3f70| ff 25 96 00 00 00 ff 25 98 00 00 00| .%.....%....| data: raw bits 0x3f74-0x3f7f.7 (12)
| | | [2]{}: section 0x150-0x3fa3.7 (15956)
0x0150|5f 5f 73 74 75 62 5f 68 65 6c 70 65 72 00 00 00|__stub_helper...| sectname: "__stub_helper" 0x150-0x15f.7 (16)
0x0160|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x160-0x16f.7 (16)
0x0170|80 3f 00 00 01 00 00 00 |.?...... | address: 0x100003f80 0x170-0x177.7 (8)
@ -156,7 +159,9 @@ $ fq -d macho dv a_stripped
0x0190| 00 00 00 00 | .... | reserved1: 0 0x194-0x197.7 (4)
0x0190| 00 00 00 00 | .... | reserved2: 0 0x198-0x19b.7 (4)
0x0190| 00 00 00 00| ....| reserved3: 0 0x19c-0x19f.7 (4)
| | | [3]{}: section 0x1a0-0x1ef.7 (80)
0x3f80|4c 8d 1d 79 00 00 00 41 53 ff 25 79 00 00 00 90|L..y...AS.%y....| data: raw bits 0x3f80-0x3fa3.7 (36)
* |until 0x3fa3.7 (36) | |
| | | [3]{}: section 0x1a0-0x3fa8.7 (15881)
0x01a0|5f 5f 63 73 74 72 69 6e 67 00 00 00 00 00 00 00|__cstring.......| sectname: "__cstring" 0x1a0-0x1af.7 (16)
0x01b0|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x1b0-0x1bf.7 (16)
0x01c0|a4 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fa4 0x1c0-0x1c7.7 (8)
@ -181,7 +186,8 @@ $ fq -d macho dv a_stripped
0x01e0| 00 00 00 00 | .... | reserved1: 0 0x1e4-0x1e7.7 (4)
0x01e0| 00 00 00 00 | .... | reserved2: 0 0x1e8-0x1eb.7 (4)
0x01e0| 00 00 00 00| ....| reserved3: 0 0x1ec-0x1ef.7 (4)
| | | [4]{}: section 0x1f0-0x23f.7 (80)
0x3fa0| 61 61 61 0a 00 | aaa.. | data: raw bits 0x3fa4-0x3fa8.7 (5)
| | | [4]{}: section 0x1f0-0x3ff3.7 (15876)
0x01f0|5f 5f 75 6e 77 69 6e 64 5f 69 6e 66 6f 00 00 00|__unwind_info...| sectname: "__unwind_info" 0x1f0-0x1ff.7 (16)
0x0200|5f 5f 54 45 58 54 00 00 00 00 00 00 00 00 00 00|__TEXT..........| segname: "__TEXT" 0x200-0x20f.7 (16)
0x0210|ac 3f 00 00 01 00 00 00 |.?...... | address: 0x100003fac 0x210-0x217.7 (8)
@ -206,7 +212,10 @@ $ fq -d macho dv a_stripped
0x0230| 00 00 00 00 | .... | reserved1: 0 0x234-0x237.7 (4)
0x0230| 00 00 00 00 | .... | reserved2: 0 0x238-0x23b.7 (4)
0x0230| 00 00 00 00| ....| reserved3: 0 0x23c-0x23f.7 (4)
| | | [2]{}: load_command 0x240-0x377.7 (312)
0x3fa0| 01 00 00 00| ....| data: raw bits 0x3fac-0x3ff3.7 (72)
0x3fb0|1c 00 00 00 00 00 00 00 1c 00 00 00 00 00 00 00|................|
* |until 0x3ff3.7 (72) | |
| | | [2]{}: load_command 0x240-0x401f.7 (15840)
0x0240|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x240-0x243.7 (4)
0x0240| 38 01 00 00 | 8... | cmdsize: 312 0x244-0x247.7 (4)
| | | segment_command{}: 0x248-0x287.7 (64)
@ -226,8 +235,8 @@ $ fq -d macho dv a_stripped
0x0280| 00 | . | noreloc: false 0x287.5-0x287.5 (0.1)
0x0280| 00 | . | fvmlib: false 0x287.6-0x287.6 (0.1)
0x0280| 00 | . | highvm: false 0x287.7-0x287.7 (0.1)
| | | sections[0:3]: 0x288-0x377.7 (240)
| | | [0]{}: section 0x288-0x2d7.7 (80)
| | | sections[0:3]: 0x288-0x401f.7 (15768)
| | | [0]{}: section 0x288-0x4007.7 (15744)
0x0280| 5f 5f 6e 6c 5f 73 79 6d| __nl_sym| sectname: "__nl_symbol_ptr" 0x288-0x297.7 (16)
0x0290|62 6f 6c 5f 70 74 72 00 |bol_ptr. |
0x0290| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x298-0x2a7.7 (16)
@ -254,7 +263,8 @@ $ fq -d macho dv a_stripped
0x02c0| 02 00 00 00| ....| reserved1: 2 0x2cc-0x2cf.7 (4)
0x02d0|00 00 00 00 |.... | reserved2: 0 0x2d0-0x2d3.7 (4)
0x02d0| 00 00 00 00 | .... | reserved3: 0 0x2d4-0x2d7.7 (4)
| | | [1]{}: section 0x2d8-0x327.7 (80)
0x4000|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x4000-0x4007.7 (8)
| | | [1]{}: section 0x2d8-0x400f.7 (15672)
0x02d0| 5f 5f 67 6f 74 00 00 00| __got...| sectname: "__got" 0x2d8-0x2e7.7 (16)
0x02e0|00 00 00 00 00 00 00 00 |........ |
0x02e0| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x2e8-0x2f7.7 (16)
@ -281,7 +291,8 @@ $ fq -d macho dv a_stripped
0x0310| 03 00 00 00| ....| reserved1: 3 0x31c-0x31f.7 (4)
0x0320|00 00 00 00 |.... | reserved2: 0 0x320-0x323.7 (4)
0x0320| 00 00 00 00 | .... | reserved3: 0 0x324-0x327.7 (4)
| | | [2]{}: section 0x328-0x377.7 (80)
0x4000| 00 00 00 00 00 00 00 00| ........| data: raw bits 0x4008-0x400f.7 (8)
| | | [2]{}: section 0x328-0x401f.7 (15608)
0x0320| 5f 5f 6c 61 5f 73 79 6d| __la_sym| sectname: "__la_symbol_ptr" 0x328-0x337.7 (16)
0x0330|62 6f 6c 5f 70 74 72 00 |bol_ptr. |
0x0330| 5f 5f 44 41 54 41 00 00| __DATA..| segname: "__DATA" 0x338-0x347.7 (16)
@ -308,6 +319,7 @@ $ fq -d macho dv a_stripped
0x0360| 04 00 00 00| ....| reserved1: 4 0x36c-0x36f.7 (4)
0x0370|00 00 00 00 |.... | reserved2: 0 0x370-0x373.7 (4)
0x0370| 00 00 00 00 | .... | reserved3: 0 0x374-0x377.7 (4)
0x4010|90 3f 00 00 01 00 00 00 9a 3f 00 00 01 00 00 00|.?.......?......| data: raw bits 0x4010-0x401f.7 (16)
| | | [3]{}: load_command 0x378-0x3bf.7 (72)
0x0370| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x378-0x37b.7 (4)
0x0370| 48 00 00 00| H...| cmdsize: 72 0x37c-0x37f.7 (4)
@ -429,6 +441,10 @@ $ fq -d macho dv a_stripped
| | | linkedit_data{}: 0x540-0x547.7 (8)
0x0540|80 80 00 00 |.... | off: 32896 0x540-0x543.7 (4)
0x0540| 00 00 00 00 | .... | size: 0 0x544-0x547.7 (4)
0x0540| 00 00 00 00 00 00 00 00| ........| unknown0: raw bits 0x548-0x8137.7 (31728)
0x0540| 00 00 00 00 00 00 00 00| ........| unknown0: raw bits 0x548-0x3f3f.7 (14840)
0x0550|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x8137.7 (end) (31728) | |
* |until 0x3f3f.7 (14840) | |
0x3fa0| 00 00 00 | ... | unknown1: raw bits 0x3fa9-0x3fab.7 (3)
0x3ff0| 00 00 00 00 00 00 00 00 00 00 00 00| ............| unknown2: raw bits 0x3ff4-0x3fff.7 (12)
0x4020|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................| unknown3: raw bits 0x4020-0x8137.7 (16664)
* |until 0x8137.7 (end) (16664) | |

View File

@ -39,8 +39,8 @@ $ fq -d macho dv libbbb.so
0x0010| 00 | . | incrlink: false 0x1b.6-0x1b.6 (0.1)
0x0010| 00 | . | noundefs: false 0x1b.7-0x1b.7 (0.1)
0x0010| 00 00 00 00| ....| reserved: raw bits (all zero) 0x1c-0x1f.7 (4)
| | | load_commands[0:13]: 0x20-0x4c7.7 (1192)
| | | [0]{}: load_command 0x20-0x1f7.7 (472)
| | | load_commands[0:13]: 0x20-0x4017.7 (16376)
| | | [0]{}: load_command 0x20-0x3ffb.7 (16348)
0x0020|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x20-0x23.7 (4)
0x0020| d8 01 00 00 | .... | cmdsize: 472 0x24-0x27.7 (4)
| | | segment_command{}: 0x28-0x67.7 (64)
@ -60,8 +60,8 @@ $ fq -d macho dv libbbb.so
0x0060| 00 | . | noreloc: false 0x67.5-0x67.5 (0.1)
0x0060| 00 | . | fvmlib: false 0x67.6-0x67.6 (0.1)
0x0060| 00 | . | highvm: false 0x67.7-0x67.7 (0.1)
| | | sections[0:5]: 0x68-0x1f7.7 (400)
| | | [0]{}: section 0x68-0xb7.7 (80)
| | | sections[0:5]: 0x68-0x3ffb.7 (16276)
| | | [0]{}: section 0x68-0x3f83.7 (16156)
0x0060| 5f 5f 74 65 78 74 00 00| __text..| sectname: "__text" 0x68-0x77.7 (16)
0x0070|00 00 00 00 00 00 00 00 |........ |
0x0070| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0x78-0x87.7 (16)
@ -88,7 +88,9 @@ $ fq -d macho dv libbbb.so
0x00a0| 00 00 00 00| ....| reserved1: 0 0xac-0xaf.7 (4)
0x00b0|00 00 00 00 |.... | reserved2: 0 0xb0-0xb3.7 (4)
0x00b0| 00 00 00 00 | .... | reserved3: 0 0xb4-0xb7.7 (4)
| | | [1]{}: section 0xb8-0x107.7 (80)
0x3f70|55 48 89 e5 48 8d 3d 2b 00 00 00 b0 00 e8 02 00|UH..H.=+........| data: raw bits 0x3f70-0x3f83.7 (20)
0x3f80|00 00 5d c3 |..]. |
| | | [1]{}: section 0xb8-0x3f89.7 (16082)
0x00b0| 5f 5f 73 74 75 62 73 00| __stubs.| sectname: "__stubs" 0xb8-0xc7.7 (16)
0x00c0|00 00 00 00 00 00 00 00 |........ |
0x00c0| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0xc8-0xd7.7 (16)
@ -115,7 +117,8 @@ $ fq -d macho dv libbbb.so
0x00f0| 00 00 00 00| ....| reserved1: 0 0xfc-0xff.7 (4)
0x0100|06 00 00 00 |.... | reserved2: 6 0x100-0x103.7 (4)
0x0100| 00 00 00 00 | .... | reserved3: 0 0x104-0x107.7 (4)
| | | [2]{}: section 0x108-0x157.7 (80)
0x3f80| ff 25 86 00 00 00 | .%.... | data: raw bits 0x3f84-0x3f89.7 (6)
| | | [2]{}: section 0x108-0x3fa5.7 (16030)
0x0100| 5f 5f 73 74 75 62 5f 68| __stub_h| sectname: "__stub_helper" 0x108-0x117.7 (16)
0x0110|65 6c 70 65 72 00 00 00 |elper... |
0x0110| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0x118-0x127.7 (16)
@ -142,7 +145,10 @@ $ fq -d macho dv libbbb.so
0x0140| 00 00 00 00| ....| reserved1: 0 0x14c-0x14f.7 (4)
0x0150|00 00 00 00 |.... | reserved2: 0 0x150-0x153.7 (4)
0x0150| 00 00 00 00 | .... | reserved3: 0 0x154-0x157.7 (4)
| | | [3]{}: section 0x158-0x1a7.7 (80)
0x3f80| 4c 8d 1d 6d| L..m| data: raw bits 0x3f8c-0x3fa5.7 (26)
0x3f90|00 00 00 41 53 ff 25 6d 00 00 00 90 68 00 00 00|...AS.%m....h...|
0x3fa0|00 e9 e6 ff ff ff |...... |
| | | [3]{}: section 0x158-0x3fb1.7 (15962)
0x0150| 5f 5f 63 73 74 72 69 6e| __cstrin| sectname: "__cstring" 0x158-0x167.7 (16)
0x0160|67 00 00 00 00 00 00 00 |g....... |
0x0160| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0x168-0x177.7 (16)
@ -169,7 +175,9 @@ $ fq -d macho dv libbbb.so
0x0190| 00 00 00 00| ....| reserved1: 0 0x19c-0x19f.7 (4)
0x01a0|00 00 00 00 |.... | reserved2: 0 0x1a0-0x1a3.7 (4)
0x01a0| 00 00 00 00 | .... | reserved3: 0 0x1a4-0x1a7.7 (4)
| | | [4]{}: section 0x1a8-0x1f7.7 (80)
0x3fa0| 6c 69 62 62 62 62 5f 62 62 62| libbbb_bbb| data: raw bits 0x3fa6-0x3fb1.7 (12)
0x3fb0|0a 00 |.. |
| | | [4]{}: section 0x1a8-0x3ffb.7 (15956)
0x01a0| 5f 5f 75 6e 77 69 6e 64| __unwind| sectname: "__unwind_info" 0x1a8-0x1b7.7 (16)
0x01b0|5f 69 6e 66 6f 00 00 00 |_info... |
0x01b0| 5f 5f 54 45 58 54 00 00| __TEXT..| segname: "__TEXT" 0x1b8-0x1c7.7 (16)
@ -196,7 +204,10 @@ $ fq -d macho dv libbbb.so
0x01e0| 00 00 00 00| ....| reserved1: 0 0x1ec-0x1ef.7 (4)
0x01f0|00 00 00 00 |.... | reserved2: 0 0x1f0-0x1f3.7 (4)
0x01f0| 00 00 00 00 | .... | reserved3: 0 0x1f4-0x1f7.7 (4)
| | | [1]{}: load_command 0x1f8-0x32f.7 (312)
0x3fb0| 01 00 00 00 1c 00 00 00 00 00 00 00| ............| data: raw bits 0x3fb4-0x3ffb.7 (72)
0x3fc0|1c 00 00 00 00 00 00 00 1c 00 00 00 02 00 00 00|................|
* |until 0x3ffb.7 (72) | |
| | | [1]{}: load_command 0x1f8-0x4017.7 (15904)
0x01f0| 19 00 00 00 | .... | cmd: "segment_64" (0x19) 0x1f8-0x1fb.7 (4)
0x01f0| 38 01 00 00| 8...| cmdsize: 312 0x1fc-0x1ff.7 (4)
| | | segment_command{}: 0x200-0x23f.7 (64)
@ -215,8 +226,8 @@ $ fq -d macho dv libbbb.so
0x0230| 00| .| noreloc: false 0x23f.5-0x23f.5 (0.1)
0x0230| 00| .| fvmlib: false 0x23f.6-0x23f.6 (0.1)
0x0230| 00| .| highvm: false 0x23f.7-0x23f.7 (0.1)
| | | sections[0:3]: 0x240-0x32f.7 (240)
| | | [0]{}: section 0x240-0x28f.7 (80)
| | | sections[0:3]: 0x240-0x4017.7 (15832)
| | | [0]{}: section 0x240-0x4007.7 (15816)
0x0240|5f 5f 6e 6c 5f 73 79 6d 62 6f 6c 5f 70 74 72 00|__nl_symbol_ptr.| sectname: "__nl_symbol_ptr" 0x240-0x24f.7 (16)
0x0250|5f 5f 44 41 54 41 00 00 00 00 00 00 00 00 00 00|__DATA..........| segname: "__DATA" 0x250-0x25f.7 (16)
0x0260|00 40 00 00 00 00 00 00 |.@...... | address: 0x4000 0x260-0x267.7 (8)
@ -241,7 +252,8 @@ $ fq -d macho dv libbbb.so
0x0280| 01 00 00 00 | .... | reserved1: 1 0x284-0x287.7 (4)
0x0280| 00 00 00 00 | .... | reserved2: 0 0x288-0x28b.7 (4)
0x0280| 00 00 00 00| ....| reserved3: 0 0x28c-0x28f.7 (4)
| | | [1]{}: section 0x290-0x2df.7 (80)
0x4000|00 00 00 00 00 00 00 00 |........ | data: raw bits 0x4000-0x4007.7 (8)
| | | [1]{}: section 0x290-0x400f.7 (15744)
0x0290|5f 5f 67 6f 74 00 00 00 00 00 00 00 00 00 00 00|__got...........| sectname: "__got" 0x290-0x29f.7 (16)
0x02a0|5f 5f 44 41 54 41 00 00 00 00 00 00 00 00 00 00|__DATA..........| segname: "__DATA" 0x2a0-0x2af.7 (16)
0x02b0|08 40 00 00 00 00 00 00 |.@...... | address: 0x4008 0x2b0-0x2b7.7 (8)
@ -266,7 +278,8 @@ $ fq -d macho dv libbbb.so
0x02d0| 02 00 00 00 | .... | reserved1: 2 0x2d4-0x2d7.7 (4)
0x02d0| 00 00 00 00 | .... | reserved2: 0 0x2d8-0x2db.7 (4)
0x02d0| 00 00 00 00| ....| reserved3: 0 0x2dc-0x2df.7 (4)
| | | [2]{}: section 0x2e0-0x32f.7 (80)
0x4000| 00 00 00 00 00 00 00 00| ........| data: raw bits 0x4008-0x400f.7 (8)
| | | [2]{}: section 0x2e0-0x4017.7 (15672)
0x02e0|5f 5f 6c 61 5f 73 79 6d 62 6f 6c 5f 70 74 72 00|__la_symbol_ptr.| sectname: "__la_symbol_ptr" 0x2e0-0x2ef.7 (16)
0x02f0|5f 5f 44 41 54 41 00 00 00 00 00 00 00 00 00 00|__DATA..........| segname: "__DATA" 0x2f0-0x2ff.7 (16)
0x0300|10 40 00 00 00 00 00 00 |.@...... | address: 0x4010 0x300-0x307.7 (8)
@ -291,6 +304,7 @@ $ fq -d macho dv libbbb.so
0x0320| 03 00 00 00 | .... | reserved1: 3 0x324-0x327.7 (4)
0x0320| 00 00 00 00 | .... | reserved2: 0 0x328-0x32b.7 (4)
0x0320| 00 00 00 00| ....| reserved3: 0 0x32c-0x32f.7 (4)
0x4010|9c 3f 00 00 00 00 00 00 |.?...... | data: raw bits 0x4010-0x4017.7 (8)
| | | [2]{}: load_command 0x330-0x377.7 (72)
0x0330|19 00 00 00 |.... | cmd: "segment_64" (0x19) 0x330-0x333.7 (4)
0x0330| 48 00 00 00 | H... | cmdsize: 72 0x334-0x337.7 (4)
@ -401,6 +415,12 @@ $ fq -d macho dv libbbb.so
| | | linkedit_data{}: 0x4c0-0x4c7.7 (8)
0x04c0|50 80 00 00 |P... | off: 32848 0x4c0-0x4c3.7 (4)
0x04c0| 00 00 00 00 | .... | size: 0 0x4c4-0x4c7.7 (4)
0x04c0| 00 00 00 00 00 00 00 00| ........| unknown0: raw bits 0x4c8-0x80b7.7 (31728)
0x04c0| 00 00 00 00 00 00 00 00| ........| unknown0: raw bits 0x4c8-0x3f6f.7 (15016)
0x04d0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x80b7.7 (end) (31728) | |
* |until 0x3f6f.7 (15016) | |
0x3f80| 00 00 | .. | unknown1: raw bits 0x3f8a-0x3f8b.7 (2)
0x3fb0| 00 00 | .. | unknown2: raw bits 0x3fb2-0x3fb3.7 (2)
0x3ff0| 00 00 00 00| ....| unknown3: raw bits 0x3ffc-0x3fff.7 (4)
0x4010| 00 00 00 00 00 00 00 00| ........| unknown4: raw bits 0x4018-0x80b7.7 (16544)
0x4020|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x80b7.7 (end) (16544) | |

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff