Skip to content

Instantly share code, notes, and snippets.

@SkyBulk
Created October 14, 2019 03:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SkyBulk/f21dca687b91135eb4a83fa1f9ca7f5d to your computer and use it in GitHub Desktop.
Save SkyBulk/f21dca687b91135eb4a83fa1f9ca7f5d to your computer and use it in GitHub Desktop.
how it was compiled
git clone https://github.com/googleprojectzero/winafl.git
git submodule update --init --recursive
mkdir build32
cd build32
cmake .. -DDynamoRIO_DIR=C:\Users\blackleitus\Desktop\DynamoRIO-Windows-7.1.0-1\cmake -DINTELPT=1
cmake --build . --config Release
# crash at the moment of run this commmand
C:\Users\blackleitus\Desktop\DynamoRIO-Windows-7.1.0-1\bin32\drrun.exe -c winafl.dll -debug -target_module test.exe -target_offset 0x1250 -fuzz_iterations 10 -nargs 2 -- test.exe C:\Users\blackleitus\Desktop\winafl\testcases\tests\normal.txt
target_offset
.text:00401250
.text:00401250 ; int __cdecl main(int argc, const char **argv, const char **envp)
.text:00401250 _main proc near ; CODE XREF: __scrt_common_main_seh(void)+F4↓p
.text:00401250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment