mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 01:31:37 +00:00
Fixed description of unicorn harness.c
This commit is contained in:
parent
4b83b2696e
commit
b0492ba642
@ -1,11 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Simple test harness for AFL++'s unicornafl c mode.
|
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
|
Unicorn's memory map for emulation, places the specified input into
|
||||||
simple_target's buffer (hardcoded to be at 0x300000), and executes 'main()'.
|
argv[1], sets up argv, and argc and executes 'main()'.
|
||||||
If any crashes occur during emulation, this script throws a matching signal
|
If run inside AFL, afl_fuzz automatically does the "right thing"
|
||||||
to tell AFL that a crash occurred.
|
|
||||||
|
|
||||||
Run under AFL as follows:
|
Run under AFL as follows:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user