1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

jq_fuzz_compile: dump disassembly

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
David Korczynski
2023-11-30 13:22:07 +00:00
committed by Emanuele Torre
parent 98a206964d
commit 13353515bd

View File

@ -14,7 +14,9 @@ int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
jq_state *jq = NULL;
jq = jq_init();
if (jq != NULL) {
jq_compile(jq, null_terminated);
if (jq_compile(jq, null_terminated)) {
jq_dump_disassembly(jq, 2);
}
}
jq_teardown(&jq);