mirror of
https://github.com/jqlang/jq.git
synced 2026-10-11 21:49:50 +00:00
jq_fuzz_compile: dump disassembly
Signed-off-by: David Korczynski <[email protected]>
This commit is contained in:
committed by
Emanuele Torre
parent
98a206964d
commit
13353515bd
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user