Mattias Wadman
2606916753
yaml,fuzz: gojq.Normalize value to fix type panic
2022-10-11 19:22:49 +02:00
Mattias Wadman
7859be1e5d
flac_frame: Properly decode zero escape sample size
2022-10-11 17:05:19 +02:00
Mattias Wadman
3a578152f2
Merge pull request #459 from wader/decode-s-must-least-1bit
...
decode,fuzz: Signed integer (S) read require at least one bit
2022-10-11 12:41:28 +02:00
Mattias Wadman
bafd1f564e
decode,fuzz: Signed integer (S) read require at least one bit
...
Otherwise there is no sign bit and it will panic on shifting.
Maybe should require 2? now -0 and +1 hmm
2022-10-11 12:12:28 +02:00
Mattias Wadman
cef4245b49
fuzz: make fuzz GROUP=mp4 to fuzz one group
2022-10-10 21:07:10 +02:00
Mattias Wadman
e9aa4837e9
Merge pull request #454 from dgmcdona/reference_size_bug_fix
...
fixes reference calculation to use reference size from trailer
2022-10-09 21:48:12 +02:00
David McDonald
b09d61162b
makes dictionary key type checking more sensible
2022-10-09 13:34:00 -05:00
Mattias Wadman
2a86d323b4
doc,rtmp,pcap,markdown: Add more examples
2022-10-09 19:18:14 +02:00
Mattias Wadman
e748079e87
matroska: Update spec and regenerate
...
The new type "TargetType" used in labels is bit confusing, should be handled differently?
2022-10-08 15:45:46 +02:00
David McDonald
ac86f9318b
fixes signed integer parsing
2022-10-07 21:33:26 -05:00
David McDonald
2b3adbe8d6
renames test data file
2022-10-07 18:08:20 -05:00
David McDonald
4ee7dd8a38
changes Errorf to Fatalf on infinite loops
2022-10-07 18:04:07 -05:00
David McDonald
4d8dd5c5e3
adds check for recursion in decodeReference, adds test to verify fix
2022-10-07 15:07:05 -05:00
David McDonald
413d425079
gofmt
2022-10-07 13:16:17 -05:00
David McDonald
fb1a91ac3c
drop indented else block per lint
2022-10-07 13:15:22 -05:00
David McDonald
236fbc17b5
fixes reference calculation to use reference size from trailer
2022-10-07 13:07:51 -05:00
David McDonald
4dd594c14e
fixes bad path in test output
2022-10-07 00:50:48 -05:00
David McDonald
46b7ab3268
adds test to verify fix
2022-10-07 00:23:25 -05:00
David McDonald
b08e25ce78
removes unnecessary cast
2022-10-06 23:49:15 -05:00
David McDonald
b7c4576c5e
adds necessary cast
2022-10-06 23:47:10 -05:00
David McDonald
f9a1d3f444
fixes calculation of floating point lengths
2022-10-06 23:23:04 -05:00
Mattias Wadman
16b01211b1
bplist: Make torepr convert to values
2022-10-04 18:12:49 +02:00
Mattias Wadman
cb3dc80252
decode,tar: Add scalar description and Try* helpers
...
Rework time helpers to use new functions
Fix panic in tar decoder where sym value might be missing
Still not very happy about the API but it's getting better.
2022-10-04 17:18:51 +02:00
Mattias Wadman
421b2b3071
bplist: Fix unknown field for singletons and add torepr tests
2022-10-04 14:30:54 +02:00
Mattias Wadman
09ea08f3aa
Merge pull request #427 from dgmcdona/bplist
...
Adds support for Apple Binary Plist, version 00
2022-10-04 14:25:53 +02:00
Mattias Wadman
20a15372ba
mp4: Fix data_format typo
2022-10-02 23:31:38 +02:00
Mattias Wadman
0fdc03a4f1
doc: Fix some incorrect example prompts
2022-09-27 13:42:31 +02:00
Mattias Wadman
d6316d5cbf
wav: Decode smpl chunk
2022-09-26 11:28:02 +02:00
David McDonald
1e47f4f2f7
updates tests post integer-bug fix
2022-09-25 00:48:43 -05:00
David McDonald
ebae938d0e
Fixes bug in integer parsing
2022-09-25 00:43:21 -05:00
David McDonald
bcccde2358
Fixes and embeds documentation
2022-09-24 12:57:11 -05:00
David McDonald
3d8ea1deac
updates torepr for data type
2022-09-23 22:12:30 -05:00
David McDonald
12836abe26
updates fqtest
2022-09-23 21:16:28 -05:00
David McDonald
5f61994087
adds function for decoding fixed sized arrays
2022-09-23 20:50:41 -05:00
David McDonald
3deceeebd6
fixes from PR comments
2022-09-23 20:23:29 -05:00
David McDonald
3198602d25
removed unused return type
2022-09-23 20:23:29 -05:00
David McDonald
369f4016c1
removed unneccessary type conversions
2022-09-23 20:23:29 -05:00
David McDonald
6b04f2de1c
Documentation cleanup
2022-09-23 20:23:29 -05:00
David McDonald
368d183b73
Size check on nBits to save memory
2022-09-23 20:23:29 -05:00
David McDonald
a77cec921f
Added documentation and tests, fixed bad date parsing
2022-09-23 20:23:23 -05:00
David McDonald
5711f29084
Code fixes from PR, still need to add tests and testdata
2022-09-23 20:21:32 -05:00
David McDonald
d784db69bc
Adds support for Apple Binary Plist, version 00
2022-09-23 20:21:32 -05:00
Mattias Wadman
a7a101ca67
doc,help: Nicer format help and move help tests into each format
...
Also add authors to avro and macho decoders
Generated with:
for i in $(go run . -r -n '_registry | [([([.files[][].name | split(".")[0]] | unique[]), (.formats[].name)] | count[] | select(.[1] == 2)[0]), (.formats[] | select(.decode_in_arg).name)] | unique[]'); do DIR=$(dirname $(find format -name $i.go)); echo "$ fq -h $i" > "$DIR/testdata/help_$i.fqtest" ; done
2022-09-22 23:07:58 +02:00
Mattias Wadman
725ab1b17b
doc,html,xml: Add more documentation and examples
2022-09-20 17:35:27 +02:00
Mattias Wadman
01be59e459
Merge pull request #428 from wader/ar-allow-empty-integerr
...
ar: Integer strings might be empty
2022-09-17 16:17:47 +02:00
Mattias Wadman
f08f44f12a
ar: Integer strings might be empty
2022-09-17 15:36:34 +02:00
Mattias Wadman
fe64530e11
csv: Add tsv and header example
...
Also fix string esacpe in fuzz options parser
2022-09-15 01:16:45 +02:00
Mattias Wadman
88009ee9a3
Merge pull request #425 from wader/wasm-doc
...
wasm: Add some documentation
2022-09-13 09:59:17 +02:00
Mattias Wadman
1385b5d0ba
wasm: Add some documentation
2022-09-12 11:53:48 +02:00
Mattias Wadman
2655ba09c5
mp4: More codec names (from mp4ra.org)
2022-09-12 11:25:43 +02:00