David Korczynski
|
5029328d35
|
tests: add new fuzzer
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-12-07 12:57:54 +01:00 |
|
DavidKorczynski
|
20a403e97e
|
jq_fuzz_execute.cpp: fix false assert
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64632 by following the suggestion here: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64632#c2 -- the issue is fixed when this attribute is set.
I did not add any of the other suggestions in the comment: we haven't run into these issues in the fuzzer so far.
|
2023-12-03 17:54:25 +01:00 |
|
DavidKorczynski
|
693a7261e5
|
jq_fuzz_execute: fix memory leak
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-12-03 03:53:49 +01:00 |
|
David Korczynski
|
bfb7fd570f
|
jq_fuzz_execute: cleanup un-needed extern
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-11-30 14:40:36 +01:00 |
|
David Korczynski
|
252ab244ce
|
Add fuzzer targeting jq_next
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-11-30 14:40:36 +01:00 |
|
David Korczynski
|
13353515bd
|
jq_fuzz_compile: dump disassembly
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-11-30 14:40:36 +01:00 |
|
David Korczynski
|
4570c23720
|
jv_parse: refactor jv_parse_sized
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-11-28 20:36:59 +01:00 |
|
David Korczynski
|
eb3b5654bb
|
test: add jv_dump to extended fuzzer
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-11-28 20:36:59 +01:00 |
|
David Korczynski
|
44300e4310
|
Extend fuzzing set up
Adds a parse function ins `jv_parse.c` that enables parsing using custom
flags for the parser. This is then used by two fuzzers added as well.
This is to make sure fuzzing hits various code parts currently not
fuzzed, e.g. `stream_token`:
https://storage.googleapis.com/oss-fuzz-coverage/jq/reports/20231125/linux/src/jq/src/jv_parse.c.html#L241
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-11-28 20:36:59 +01:00 |
|
David Korczynski
|
97c6d2848c
|
Add fuzzer targeting load_file
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-07-24 15:45:12 +02:00 |
|
David Korczynski
|
cf3c11bde8
|
Add compile fuzzer for OSS-Fuzz
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-07-24 13:44:27 +02:00 |
|
davkor
|
3df8f90c4e
|
Add first fuzzer for integration with OSS-Fuzz.
Signed-off-by: David Korczynski <david@adalogics.com>
|
2023-07-10 13:57:38 -05:00 |
|