jq_fuzz_compile: dump disassembly
Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
1 parent
98a206964d
commit
13353515bd
1 file changed
+3
-1
@@ -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