diff options
author | van Hauser <vh@thc.org> | 2023-10-24 09:19:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 09:19:26 +0200 |
commit | d52013832a82fa637450cad826af9fd8d64fefa1 (patch) | |
tree | bfa47476716ba9d5760c86b3221c93307da0bd8c /docs/env_variables.md | |
parent | eaa6a1754a2efa54903959a5b3ce3d433dcdea37 (diff) | |
parent | cf458a7d25dc3448b94ffe08d3d89531fc8d4818 (diff) | |
download | afl++-d52013832a82fa637450cad826af9fd8d64fefa1.tar.gz |
Merge pull request #1893 from jschwartzentruber/add-no-rpath-flag
Add an env to afl-clang-fast to disable setting rpath if LLVM path isn't recognized
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r-- | docs/env_variables.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md index 3bb4e844..a7636511 100644 --- a/docs/env_variables.md +++ b/docs/env_variables.md @@ -135,6 +135,12 @@ subset of the settings discussed in section 1, with the exception of: - `TMPDIR` and `AFL_KEEP_ASSEMBLY`, since no temporary assembly files are created. + - LLVM modes compiling C++ will normally set rpath in the binary if LLVM is + not in a usual location (/usr or /lib). Setting `AFL_LLVM_NO_RPATH=1` + disables this behaviour in case it isn't desired. For example, the compiling + toolchain might be in a custom location, but the target machine has LLVM + runtime libs in the search path. + Then there are a few specific features that are only available in instrumentation mode: |