1
1
mirror of https://github.com/wader/fq.git synced 2024-11-30 09:58:13 +03:00

updates bplist fq tests

This commit is contained in:
David McDonald 2022-12-01 23:45:48 -06:00
parent f5e25fca26
commit b2aeac6ad3
10 changed files with 10463 additions and 10012 deletions

2378
format/bplist/testdata/Info.fqtest vendored Normal file

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

25
format/bplist/testdata/float.fqtest vendored Normal file
View File

@ -0,0 +1,25 @@
$ fq dv float.plist
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: float.plist (bplist) 0x0-0x31.7 (50)
| | | header{}: 0x0-0x7.7 (8)
0x00|62 70 6c 69 73 74 |bplist | magic: "bplist" (valid) 0x0-0x5.7 (6)
0x00| 30 30 | 00 | version: "00" (valid) 0x6-0x7.7 (2)
| | | objects{}: 0x8-0x10.7 (9)
0x00| 23 | # | type: "real" (2) (Floating Point Number) 0x8-0x8.3 (0.4)
0x00| 23 | # | size_bits: 3 0x8.4-0x8.7 (0.4)
| | | size: 8 0x9-NA (0)
0x00| 40 09 21 f9 f0 1b 86| @.!....| value: 3.14159 0x9-0x10.7 (8)
0x10|6e |n |
| | | offset_table[0:1]: 0x11-0x11.7 (1)
0x10| 08 | . | [0]: 8 element 0x11-0x11.7 (1)
| | | trailer{}: 0x12-0x31.7 (32)
0x10| 00 00 00 00 00 | ..... | unused: 0 0x12-0x16.7 (5)
0x10| 00 | . | sort_version: 0 0x17-0x17.7 (1)
0x10| 01 | . | offset_table_offset_size: 1 (valid) 0x18-0x18.7 (1)
0x10| 01 | . | object_reference_size: 1 (valid) 0x19-0x19.7 (1)
0x10| 00 00 00 00 00 00| ......| object_count: 1 0x1a-0x21.7 (8)
0x20|00 01 |.. |
0x20| 00 00 00 00 00 00 00 00 | ........ | top_object_offset: 0 0x22-0x29.7 (8)
0x20| 00 00 00 00 00 00| ......| offset_table_start: 17 0x2a-0x31.7 (8)
0x30|00 11| |..| |
$ fq torepr float.plist
3.14159

2818
format/bplist/testdata/recentapps.fqtest vendored Normal file

File diff suppressed because it is too large Load Diff

2607
format/bplist/testdata/recentdocs.fqtest vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,44 @@
$ fq dv uiautomation.plist
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: uiautomation.plist (bplist) 0x0-0x44.7 (69)
| | | header{}: 0x0-0x7.7 (8)
0x00|62 70 6c 69 73 74 |bplist | magic: "bplist" (valid) 0x0-0x5.7 (6)
0x00| 30 30 | 00 | version: "00" (valid) 0x6-0x7.7 (2)
| | | objects{}: 0x8-0x21.7 (26)
0x00| d1 | . | type: "dict" (13) (Dictionary) 0x8-0x8.3 (0.4)
0x00| d1 | . | size_bits: 1 0x8.4-0x8.7 (0.4)
| | | size: 1 0x9-NA (0)
| | | entries[0:1]: 0x9-0x21.7 (25)
| | | [0]{}: entry 0x9-0x21.7 (25)
0x00| 01 | . | key_index: 1 0x9-0x9.7 (1)
0x00| 02 | . | value_index: 2 0xa-0xa.7 (1)
| | | key{}: 0xb-0x20.7 (22)
0x00| 5f | _ | type: "ascii_string" (5) (ASCII encoded string) 0xb-0xb.3 (0.4)
0x00| 5f | _ | size_bits: 15 0xb.4-0xb.7 (0.4)
0x00| 10 | . | large_size_marker: 1 (valid) 0xc-0xc.3 (0.4)
0x00| 10 | . | exponent: 0 0xc.4-0xc.7 (0.4)
0x00| 13 | . | size_bigint: 19 0xd-0xd.7 (1)
| | | size: 19 0xe-NA (0)
0x00| 55 49| UI| value: "UIAutomationEnabled" 0xe-0x20.7 (19)
0x10|41 75 74 6f 6d 61 74 69 6f 6e 45 6e 61 62 6c 65|AutomationEnable|
0x20|64 |d |
| | | value{}: 0x21-0x21.7 (1)
0x20| 09 | . | type: "singleton" (0) (Singleton value (null/bool)) 0x21-0x21.3 (0.4)
0x20| 09 | . | value: true (9) 0x21.4-0x21.7 (0.4)
| | | offset_table[0:3]: 0x22-0x24.7 (3)
0x20| 08 | . | [0]: 8 element 0x22-0x22.7 (1)
0x20| 0b | . | [1]: 11 element 0x23-0x23.7 (1)
0x20| 21 | ! | [2]: 33 element 0x24-0x24.7 (1)
| | | trailer{}: 0x25-0x44.7 (32)
0x20| 00 00 00 00 00 | ..... | unused: 0 0x25-0x29.7 (5)
0x20| 00 | . | sort_version: 0 0x2a-0x2a.7 (1)
0x20| 01 | . | offset_table_offset_size: 1 (valid) 0x2b-0x2b.7 (1)
0x20| 01 | . | object_reference_size: 1 (valid) 0x2c-0x2c.7 (1)
0x20| 00 00 00| ...| object_count: 3 0x2d-0x34.7 (8)
0x30|00 00 00 00 03 |..... |
0x30| 00 00 00 00 00 00 00 00 | ........ | top_object_offset: 0 0x35-0x3c.7 (8)
0x30| 00 00 00| ...| offset_table_start: 34 0x3d-0x44.7 (8)
0x40|00 00 00 00 22| |...."| |
$ fq torepr uiautomation.plist
{
"UIAutomationEnabled": true
}