fuzz/libelf: exit with fuzzer function return value

Now the function can return nonzero value. Use that value as exit code
for the stub program. AFL might be able to use such information to
optimise fuzzing process.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
Wei Liu committed 2017-01-26 17:23:40 +00:00
1 parent 53693bf3be
commit 4453129a0b
1 file changed
+1 -3
+1 -3
View File
@@ -42,9 +42,7 @@ int main(int argc, char **argv)
fclose(fp);
LLVMFuzzerTestOneInput(input, size);
return 0;
return LLVMFuzzerTestOneInput(input, size);
}
/*
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.