mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 01:31:37 +00:00
add missing default names for AFL_LLVM_INSTRUMENT
This commit is contained in:
parent
9eb47a924a
commit
b1e7b834ac
@ -548,6 +548,10 @@ int main(int argc, char **argv, char **envp) {
|
||||
|
||||
if ((ptr = getenv("AFL_LLVM_INSTRUMENT")) != NULL) {
|
||||
|
||||
if (strncasecmp(ptr, "default", strlen("default")) == 0 ||
|
||||
strncasecmp(ptr, "afl", strlen("afl")) == 0 ||
|
||||
strncasecmp(ptr, "classic", strlen("classic")) == 0 )
|
||||
instrument_mode = INSTRUMENT_DEFAULT;
|
||||
if (strncasecmp(ptr, "cfg", strlen("cfg")) == 0 ||
|
||||
strncasecmp(ptr, "instrim", strlen("instrim")) == 0)
|
||||
instrument_mode = INSTRUMENT_CFG;
|
||||
|
Loading…
x
Reference in New Issue
Block a user