diff options
-rw-r--r-- | llvm_mode/README.whitelist.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm_mode/README.whitelist.md b/llvm_mode/README.whitelist.md index 6752797e..12f2e5c3 100644 --- a/llvm_mode/README.whitelist.md +++ b/llvm_mode/README.whitelist.md @@ -74,14 +74,15 @@ information (-g), however at least from llvm version 6.0 onwards this is not required anymore (and might hurt performance and crash detection, so better not use -g). -## 4) UNIX-style file name pattern matching +## 4) UNIX-style filename pattern matching By default you need to add all the files you want to whitelist to the file specified by AFL_LLVM_WHITELIST. By setting the env variable -AFL_LLVM_WHITELIST_FNMATCH, afl++ will allows use of wildcards and other +AFL_LLVM_WHITELIST_FNMATCH, afl++ allows use of wildcards and other matching features available through `fnmatch` (we use `fnmatch` with no flags set). Note that setting AFL_LLVM_WHITELIST_FNMATCH might -break backwards-compatibility, since it does not match on the end of the file -entry anymore, but rather matches on the full filename path. +break backwards-compatibility with existing whitelists, since it does not match +on the end of the file entry anymore, but rather matches on the full filename +path. The behavior should be the same if you prepend `*/` to every line. |