about summary refs log tree commit diff
path: root/libtokencap
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2019-10-26 00:18:56 +0200
committerhexcoder- <heiko@hexco.de>2019-10-26 00:18:56 +0200
commit09c26fed209a35e707132118f41373e5b0a25ba1 (patch)
treec8506c8044328d7d08d5ebbbf7edb4d65ddb4260 /libtokencap
parent3e9e7e17504517d8db92e47e7a5f904b023ba91e (diff)
parente7871b2c7675e0f6df4fbe1a8f53a23ed5d2024f (diff)
downloadafl++-09c26fed209a35e707132118f41373e5b0a25ba1.tar.gz
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
Diffstat (limited to 'libtokencap')
-rw-r--r--libtokencap/README.md13
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)