google / google/honggfuzz

Persistent mode is always enabled

Open
#529 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.4k
Forks
539
PR merge metrics
No merged PRs in 30d

Description

After commit `hfuzz-cc: ensure libhfuzz is linked to executables` (904b577c7a381d0eea0539476412787b643c1398) all executables build with `hfuzz-clang` are forced into persistent mode.

Repro:
```
$ cat test.c
int main(void) {
return 0;
}
$ ~/honggfuzz/hfuzz_cc/hfuzz-clang -o test test.c
$ ~/honggfuzz/honggfuzz -i inputs/ -z -s -- ./test
```
Runs in persistent mode and there seems to be no way of disabling it.

Adding a command line option to disable the persistent mode would be one way of fixing it, though I believe the auto-detection is a bit over aggresive :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.