diff options
| author | van Hauser <vh@thc.org> | 2020-09-05 13:26:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-05 13:26:08 +0200 |
| commit | 81b1d85f6168cb0828b4afef5d7994dba3c6753e (patch) | |
| tree | 8ddfccbd1594c3f3c50025eb8cbe23f84a10fa20 /llvm_mode/README.laf-intel.md | |
| parent | fac108476c1cb5326cf4339b2a4c846828698816 (diff) | |
| parent | 2f90f2faba92c0ef5e081ff74b54fb07eb1faaa9 (diff) | |
| download | afl++-81b1d85f6168cb0828b4afef5d7994dba3c6753e.tar.gz | |
Merge pull request #548 from AFLplusplus/pre-3
Pre 3.0 changes
Diffstat (limited to 'llvm_mode/README.laf-intel.md')
| -rw-r--r-- | llvm_mode/README.laf-intel.md | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/llvm_mode/README.laf-intel.md b/llvm_mode/README.laf-intel.md deleted file mode 100644 index f63ab2bb..00000000 --- a/llvm_mode/README.laf-intel.md +++ /dev/null @@ -1,42 +0,0 @@ -# laf-intel instrumentation - -## Usage - -By default these passes will not run when you compile programs using -afl-clang-fast. Hence, you can use AFL as usual. -To enable the passes you must set environment variables before you -compile the target project. - -The following options exist: - -`export AFL_LLVM_LAF_SPLIT_SWITCHES=1` - -Enables the split-switches pass. - -`export AFL_LLVM_LAF_TRANSFORM_COMPARES=1` - -Enables the transform-compares pass (strcmp, memcmp, strncmp, -strcasecmp, strncasecmp). - -`export AFL_LLVM_LAF_SPLIT_COMPARES=1` - -Enables the split-compares pass. -By default it will -1. simplify operators >= (and <=) into chains of > (<) and == comparisons -2. change signed integer comparisons to a chain of sign-only comparison -and unsigned comparisons -3. split all unsigned integer comparisons with bit widths of -64, 32 or 16 bits to chains of 8 bits comparisons. - -You can change the behaviour of the last step by setting -`export AFL_LLVM_LAF_SPLIT_COMPARES_BITW=<bit_width>`, where -bit_width may be 64, 32 or 16. - -A new experimental feature is splitting floating point comparisons into a -series of sign, exponent and mantissa comparisons followed by splitting each -of them into 8 bit comparisons when necessary. -It is activated with the `AFL_LLVM_LAF_SPLIT_FLOATS` setting. -Note that setting this automatically activates `AFL_LLVM_LAF_SPLIT_COMPARES` - -You can also set `AFL_LLVM_LAF_ALL` and have all of the above enabled :-) - |
