AFLplusplus / unicornafl_legacy

Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, X86) adapted to afl++
http://github.com/AFLplusplus/AFLplusplus
GNU General Public License v2.0
44 stars 8 forks source link

Document how to set PC for `afl_fuzz` #7

Open domenukk opened 4 years ago

domenukk commented 4 years ago

The afl_fuzz method does not expose a way to set the entrypoint. Initially, the idea was that the instruction pointer was written previously or even set inside the input placement callback. However this is obscure for new users.