Fixed description of unicorn harness.c

This commit is contained in:
Dominik Maier 2020-01-14 13:58:36 +01:00 committed by GitHub
parent 4b83b2696e
commit b0492ba642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,10 @@
/*
Simple test harness for AFL++'s unicornafl c mode.
This loads the simple_target.bin binary (precompiled as MIPS code) into
This loads the simple_target_x86_64 binary into
Unicorn's memory map for emulation, places the specified input into
simple_target's buffer (hardcoded to be at 0x300000), and executes 'main()'.
If any crashes occur during emulation, this script throws a matching signal
to tell AFL that a crash occurred.
argv[1], sets up argv, and argc and executes 'main()'.
If run inside AFL, afl_fuzz automatically does the "right thing"
Run under AFL as follows: