1
1
mirror of https://github.com/wader/fq.git synced 2024-11-24 03:05:22 +03:00
fq/format
Mattias Wadman 725c8e83ab macho: Split into macho/macho_fat, fix offset issue and add string decoding
Split fat macho into own decoder macho_fat. This also fixes issue with section
offset etc not being correct as they are from the start of each embedded file.

Make all address and offset field be in hex.

Decode __cstring, __ustring and __cfstring sections.

Fix LC_ENCRYPTION_INFO_64 missing pading issue.

Skip ranging for __bss and __common as they dont have any data in the file.

Simplifed magic handling a bit and add symbols.

Simplified state struct field, had redudant struct.
2022-08-02 14:36:53 +02:00
..
all macho: Split into macho/macho_fat, fix offset issue and add string decoding 2022-08-02 14:36:53 +02:00
ape dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
ar dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
asn1 interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
av1 dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
avro interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
bencode interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
bitcoin interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
bson interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
bzip2 dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
cbor interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
crypto format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
csv interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
dns decode: Simplify compound range sort behaviour 2022-08-01 17:17:54 +02:00
elf decode: Simplify compound range sort behaviour 2022-08-01 17:17:54 +02:00
fairplay dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
flac dev: Cleanup some code to fix a bunch of new linter warnings 2022-07-19 18:56:09 +02:00
flv dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
gif dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
gzip dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
icc dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
id3 dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
inet interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
jpeg dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
json interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
macho macho: Split into macho/macho_fat, fix offset issue and add string decoding 2022-08-02 14:36:53 +02:00
math format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
matroska interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
mp3 format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
mp4 decode: Simplify compound range sort behaviour 2022-08-01 17:17:54 +02:00
mpeg format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
msgpack interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
ogg dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
opus dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
pcap dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
png dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
protobuf interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
raw dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
rtmp interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
tar dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
text format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
tiff dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
toml interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
vorbis dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
vpx dev: Cleanup linters and fix some unused args 2022-07-19 18:33:50 +02:00
wav format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
webp dev: Cleanup some code to fix a bunch of new linter warnings 2022-07-19 18:56:09 +02:00
xml interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
yaml interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
zip interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
format.go macho: Split into macho/macho_fat, fix offset issue and add string decoding 2022-08-02 14:36:53 +02:00
fqtest_test.go interp: Cleanup and clarify some format naming 2022-07-16 22:04:21 +02:00
fuzz_test.go lint,decode,fuzz:: Fix nilerr warnings, one real one should be ignored for now 2022-08-01 18:47:24 +02:00
inet.go formats: Sym and field name cleanup to be more jq friendly 2022-04-05 13:59:57 +02:00
media.go wav,bencode,mpeg_ps_packet,id3v1: Random fixes 2022-05-05 19:45:05 +02:00
shared.go decode: Refactor scalar usage 2021-12-02 17:39:26 +01:00