mirror of
https://github.com/wader/fq.git
synced 2024-12-24 22:05:31 +03:00
doc: Regenerate after macho merge
This commit is contained in:
parent
e0f493fa0b
commit
758b2d0e34
@ -81,7 +81,7 @@ id3v2,
|
|||||||
ipv4_packet,
|
ipv4_packet,
|
||||||
jpeg,
|
jpeg,
|
||||||
json,
|
json,
|
||||||
macho,
|
[macho](doc/formats.md#macho),
|
||||||
[matroska](doc/formats.md#matroska),
|
[matroska](doc/formats.md#matroska),
|
||||||
mp3,
|
mp3,
|
||||||
mp3_frame,
|
mp3_frame,
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
|`ipv4_packet` |Internet protocol v4 packet |<sub>`udp_datagram` `tcp_segment` `icmp`</sub>|
|
|`ipv4_packet` |Internet protocol v4 packet |<sub>`udp_datagram` `tcp_segment` `icmp`</sub>|
|
||||||
|`jpeg` |Joint Photographic Experts Group file |<sub>`exif` `icc_profile`</sub>|
|
|`jpeg` |Joint Photographic Experts Group file |<sub>`exif` `icc_profile`</sub>|
|
||||||
|`json` |JSON |<sub></sub>|
|
|`json` |JSON |<sub></sub>|
|
||||||
|`macho` |Mach-O macOS executable |<sub></sub>|
|
|[`macho`](#macho) |Mach-O macOS executable |<sub></sub>|
|
||||||
|[`matroska`](#matroska) |Matroska file |<sub>`aac_frame` `av1_ccr` `av1_frame` `avc_au` `avc_dcr` `flac_frame` `flac_metadatablocks` `hevc_au` `hevc_dcr` `image` `mp3_frame` `mpeg_asc` `mpeg_pes_packet` `mpeg_spu` `opus_packet` `vorbis_packet` `vp8_frame` `vp9_cfm` `vp9_frame`</sub>|
|
|[`matroska`](#matroska) |Matroska file |<sub>`aac_frame` `av1_ccr` `av1_frame` `avc_au` `avc_dcr` `flac_frame` `flac_metadatablocks` `hevc_au` `hevc_dcr` `image` `mp3_frame` `mpeg_asc` `mpeg_pes_packet` `mpeg_spu` `opus_packet` `vorbis_packet` `vp8_frame` `vp9_cfm` `vp9_frame`</sub>|
|
||||||
|`mp3` |MP3 file |<sub>`id3v2` `id3v1` `id3v11` `apev2` `mp3_frame`</sub>|
|
|`mp3` |MP3 file |<sub>`id3v2` `id3v1` `id3v11` `apev2` `mp3_frame`</sub>|
|
||||||
|`mp3_frame` |MPEG audio layer 3 frame |<sub>`xing`</sub>|
|
|`mp3_frame` |MPEG audio layer 3 frame |<sub>`xing`</sub>|
|
||||||
@ -182,6 +182,33 @@ fq -d cbor 'torepr | .field' file.cbor
|
|||||||
fq -d cbor 'torepr | grep("abc")' file.cbor
|
fq -d cbor 'torepr | grep("abc")' file.cbor
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### macho
|
||||||
|
|
||||||
|
Decodes vanilla and FAT Macho binaries
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
To decode the MacOS build of `fq`
|
||||||
|
|
||||||
|
```
|
||||||
|
fq . -d macho fq
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
**NOTE**
|
||||||
|
`-d macho` is usually not needed.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Can be used to decode nested parts:
|
||||||
|
|
||||||
|
```
|
||||||
|
./fq '.load_commands[] | select(.cmd=="segment_64")' -d macho fq
|
||||||
|
```
|
||||||
|
|
||||||
|
## References:
|
||||||
|
- https://github.com/aidansteele/osx-abi-macho-file-format-reference
|
||||||
|
|
||||||
### matroska
|
### matroska
|
||||||
|
|
||||||
Supports `matroska_path`:
|
Supports `matroska_path`:
|
||||||
|
1216
doc/formats.svg
1216
doc/formats.svg
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 114 KiB |
Loading…
Reference in New Issue
Block a user