diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-10-25 14:02:38 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-10-25 14:02:38 +0200 |
commit | e7871b2c7675e0f6df4fbe1a8f53a23ed5d2024f (patch) | |
tree | c8665af55ac32ee97082d2c2d9b2d6cbec2c6d62 /libtokencap/README.md | |
parent | 644efa290582e76a9fb1dc42a7cfc782d628d3fe (diff) | |
parent | 7e9b6fe0aa820c8bce258eaa24d230ce96347d38 (diff) | |
download | afl++-e7871b2c7675e0f6df4fbe1a8f53a23ed5d2024f.tar.gz |
Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus
Diffstat (limited to 'libtokencap/README.md')
-rw-r--r-- | libtokencap/README.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libtokencap/README.md b/libtokencap/README.md index baf69da1..8aae38bf 100644 --- a/libtokencap/README.md +++ b/libtokencap/README.md @@ -2,7 +2,7 @@ (See ../docs/README for the general instruction manual.) -This Linux-only companion library allows you to instrument `strcmp()`, `memcmp()`, +This companion library allows you to instrument `strcmp()`, `memcmp()`, and related functions to automatically extract syntax tokens passed to any of these libcalls. The resulting list of tokens may be then given as a starting dictionary to afl-fuzz (the -x option) to improve coverage on subsequent @@ -55,9 +55,10 @@ If you don't get any results, the target library is probably not using strcmp() and memcmp() to parse input; or you haven't compiled it with -fno-builtin; or the whole thing isn't dynamically linked, and LD_PRELOAD is having no effect. -PS. The library is Linux-only because there is probably no particularly portable -and non-invasive way to distinguish between read-only and read-write memory -mappings. The `__tokencap_load_mappings()` function is the only thing that would -need to be changed for other OSes. Porting to platforms with /proc/<pid>/maps -(e.g., FreeBSD) should be trivial. +Portability hints: There is probably no particularly portable and non-invasive +way to distinguish between read-only and read-write memory mappings. +The `__tokencap_load_mappings()` function is the only thing that would +need to be changed for other OSes. + +Current supported OSes are: Linux, Darwin, FreeBSD (thanks to @devnexen) |