mirror of
https://github.com/wader/fq.git
synced 2024-12-29 16:42:06 +03:00
Merge pull request #180 from wader/doc-format-digram-macho
doc: Regenerate and fix macho section size
This commit is contained in:
commit
db8076052d
@ -55,7 +55,7 @@
|
||||
|[`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_frame` |MPEG audio layer 3 frame |<sub>`xing`</sub>|
|
||||
|[`mp4`](#mp4) |MPEG-4 file and similar |<sub>`aac_frame` `av1_ccr` `av1_frame` `flac_frame` `flac_metadatablocks` `id3v2` `image` `jpeg` `mp3_frame` `avc_au` `avc_dcr` `mpeg_es` `hevc_au` `hevc_dcr` `mpeg_pes_packet` `opus_packet` `protobuf_widevine` `pssh_playready` `vorbis_packet` `vp9_frame` `vpx_ccr`</sub>|
|
||||
|[`mp4`](#mp4) |MPEG-4 file and similar |<sub>`aac_frame` `av1_ccr` `av1_frame` `flac_frame` `flac_metadatablocks` `id3v2` `image` `jpeg` `mp3_frame` `avc_au` `avc_dcr` `mpeg_es` `hevc_au` `hevc_dcr` `mpeg_pes_packet` `opus_packet` `protobuf_widevine` `pssh_playready` `vorbis_packet` `vp9_frame` `vpx_ccr` `icc_profile`</sub>|
|
||||
|`mpeg_asc` |MPEG-4 Audio Specific Config |<sub></sub>|
|
||||
|`mpeg_es` |MPEG Elementary Stream |<sub>`mpeg_asc` `vorbis_packet`</sub>|
|
||||
|`mpeg_pes` |MPEG Packetized elementary stream |<sub>`mpeg_pes_packet` `mpeg_spu`</sub>|
|
||||
@ -186,7 +186,7 @@ fq -d cbor 'torepr | grep("abc")' file.cbor
|
||||
|
||||
Decodes vanilla and FAT Macho binaries
|
||||
|
||||
## Examples
|
||||
#### Examples
|
||||
|
||||
To decode the MacOS build of `fq`
|
||||
|
||||
@ -206,7 +206,7 @@ Can be used to decode nested parts:
|
||||
./fq '.load_commands[] | select(.cmd=="segment_64")' -d macho fq
|
||||
```
|
||||
|
||||
## References:
|
||||
#### References:
|
||||
- https://github.com/aidansteele/osx-abi-macho-file-format-reference
|
||||
|
||||
### matroska
|
||||
|
1518
doc/formats.svg
1518
doc/formats.svg
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 115 KiB |
@ -1,24 +1,18 @@
|
||||
Decodes vanilla and FAT Macho binaries
|
||||
Supports decoding vanilla and FAT Mach-O binaries.
|
||||
|
||||
## Examples
|
||||
#### Examples
|
||||
|
||||
To decode the MacOS build of `fq`
|
||||
To decode the macOS build of `fq`:
|
||||
|
||||
```
|
||||
fq . -d macho fq
|
||||
fq . /path/to/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
|
||||
fq '.load_commands[] | select(.cmd=="segment_64")' /path/to/fq
|
||||
```
|
||||
|
||||
## References:
|
||||
Note you can use `-d macho` to decode a broken Mach-O binary.
|
||||
|
||||
#### References:
|
||||
- https://github.com/aidansteele/osx-abi-macho-file-format-reference
|
||||
|
Loading…
Reference in New Issue
Block a user