diff options
| author | van Hauser <vh@thc.org> | 2023-02-25 09:20:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-25 09:20:47 +0100 |
| commit | ea14f3fd40e32234989043a525e3853fcb33c1b6 (patch) | |
| tree | aaa8770a743f6ab25a9f2849f62af8a68521344d /custom_mutators/autotokens/README | |
| parent | 3881ccd0b7520f67fd0b34f010443dc249cbc8f1 (diff) | |
| parent | 2b5c9954f6099d7a70cbcf2db9af5a19327f385f (diff) | |
| download | afl++-ea14f3fd40e32234989043a525e3853fcb33c1b6.tar.gz | |
Merge pull request #1653 from AFLplusplus/dev
push to stable
Diffstat (limited to 'custom_mutators/autotokens/README')
| -rw-r--r-- | custom_mutators/autotokens/README | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/custom_mutators/autotokens/README b/custom_mutators/autotokens/README new file mode 100644 index 00000000..cca168fd --- /dev/null +++ b/custom_mutators/autotokens/README @@ -0,0 +1,34 @@ +# Autotokens + +This implements an improved autotoken grammar fuzzing idea presented in +[Token-Level Fuzzing][https://www.usenix.org/system/files/sec21-salls.pdf]. +It is a grammar fuzzer without actually knowing the grammar, but only works +with text based inputs. + +It is recommended to run with together in an instance with `CMPLOG`. + +If you have a dictionary (`-x`) this improves this custom grammar mutator. + +If **not** running with `CMPLOG`, it is possible to set +`AFL_CUSTOM_MUTATOR_ONLY` to concentrate on grammar bug classes. + +Do **not** set `AFL_DISABLE_TRIM` with this custom mutator! + +## Configuration via environment variables + +`AUTOTOKENS_ONLY_FAV` - only use this mutator on favorite queue items +`AUTOTOKENS_COMMENT` - what character or string starts a comment which will be + removed. Default: `/* ... */` +`AUTOTOKENS_FUZZ_COUNT_SHIFT` - reduce the number of fuzzing performed, shifting + the value by this number, e.g. 1. +`AUTOTOKENS_AUTO_DISABLE` - disable this module if the seeds are not ascii + (or no input and no (ascii) dictionary) +`AUTOTOKENS_LEARN_DICT` - learn from dictionaries? + 0 = none + 1 = only -x or autodict + 2 = -x, autodict and `CMPLOG` +`AUTOTOKENS_CHANGE_MIN` - minimum number of mutations (1-256, default 8) +`AUTOTOKENS_CHANGE_MAX` - maximum number of mutations (1-4096, default 64) +`AUTOTOKENS_CREATE_FROM_THIN_AIR` - if only one small start file is present and + a dictionary loaded then create one initial + structure based on the dictionary. |
