diff options
author | van Hauser <vh@thc.org> | 2022-04-03 09:30:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 09:30:23 +0200 |
commit | 881aef21fd6ca3f3bcf0847587d4d6d86f3a69db (patch) | |
tree | d076384dedf423a4bb7c3d1507cb07281ebc2865 /docs/fuzzing_in_depth.md | |
parent | 1d4f1e48797c064ee71441ba555b29fc3f467983 (diff) | |
parent | c4363dd8b3d19a3e4bab8bc1fca1708ae2ff7899 (diff) | |
download | afl++-881aef21fd6ca3f3bcf0847587d4d6d86f3a69db.tar.gz |
Merge pull request #1362 from AFLplusplus/dev
push to stable
Diffstat (limited to 'docs/fuzzing_in_depth.md')
-rw-r--r-- | docs/fuzzing_in_depth.md | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/docs/fuzzing_in_depth.md b/docs/fuzzing_in_depth.md index ac72c757..cff00f77 100644 --- a/docs/fuzzing_in_depth.md +++ b/docs/fuzzing_in_depth.md @@ -333,6 +333,24 @@ is a non-standard way to set this, otherwise set up the build normally and edit the generated build environment afterwards manually to point it to the right compiler (and/or `RANLIB` and `AR`). +#### Linker scripts + +If the project uses linker scripts to hide the symbols exported by the +binary, then you may see errors such as: + +``` +undefined symbol: __afl_area_ptr +``` + +The solution is to modify the linker script to add: + +``` +{ + global: + __afl_*; +} +``` + ### f) Better instrumentation If you just fuzz a target program as-is, you are wasting a great opportunity for @@ -817,9 +835,9 @@ Here are some of the most important caveats for AFL++: - There is no direct support for fuzzing network services, background daemons, or interactive apps that require UI interaction to work. You may need to make - simple code changes to make them behave in a more traditional way. Preeny may + simple code changes to make them behave in a more traditional way. Preeny or libdesock may offer a relatively simple option, too - see: - [https://github.com/zardus/preeny](https://github.com/zardus/preeny) + [https://github.com/zardus/preeny](https://github.com/zardus/preeny) or [https://github.com/fkie-cad/libdesock](https://github.com/fkie-cad/libdesock) Some useful tips for modifying network-based services can be also found at: [https://www.fastly.com/blog/how-to-fuzz-server-american-fuzzy-lop](https://www.fastly.com/blog/how-to-fuzz-server-american-fuzzy-lop) |