winafl编译与测试
winafl编译与测试
实验环境 Visual Studio 2017 (你也可用更加新的版本)
git
perl
cmake
git
windows 10
DynamoRIO-Windows-8.0.0-1.zip
注意好像win10需要DynamoRIO 8.0.0以上上面的都搞好后,下载winafl代码语言:javascript代码运行次数:0运行复制git clone --recurs
winafl编译与测试
实验环境
Visual Studio 2017 (你也可用更加新的版本) git perl cmake git windows 10 DynamoRIO-Windows-8.0.0-1.zip
注意好像win10需要DynamoRIO 8.0.0以上
上面的都搞好后,下载winafl
代码语言:javascript代码运行次数:0运行复制git clone --recursive .git
编译2位,打开x86,64位打开x86_x64
以64为例
代码语言:javascript代码运行次数:0运行复制D:\Program Files (x86)\Microsoft Visual Studio>cd D:\Temp\test\winafl
D:\Temp\test\winafl>mkdir build64
D:\Temp\test\winafl>cd build64
D:\Temp\test\winafl\build64>cmake -G"Visual Studio 15 2017" -A x64 .. -DDynamoRIO_DIR=D:\Temp\DynamoRIO-Windows-8.0.0-1\cmake -DITELPT=1
D:\Temp\test\winafl\build64>cmake --build . --config Release
程序就在build64\bin\Release里面
使用test_进行测试,通过ida查看main函数是sub_1400010E0,偏移是0x10e0,这个编译器不同,偏移肯定不同
再搞一个1.bmp的测试文件
先用drrun测试一下,没有报错
代码语言:javascript代码运行次数:0运行复制D:\Temp\DynamoRIO-Windows-8.0.0-1\bin64\ -c winafl.dll -debug -target_module test_ -target_offset 0x10e0 -fuzz_iterati 5 -nargs 2 -- test_ 1.bmp
还生成了一个log,那基本应该没啥问题了
那可以上afl了,新建一个in目录,放1.bmp进去
代码语言:javascript代码运行次数:0运行复制 -i in -o out -D D:\Temp\DynamoRIO-Windows-8.0.0-1\bin64\ -t 20000 -- -coverage_module gdiplus.dll -target_module test_ -target_offset 0x10e0 -fuzz_iterati 20 -nargs 2 -- test_ @@
#感谢您对电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格的认可,转载请说明来源于"电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格
上传时间: 2025-07-24 12:22:54
推荐阅读
留言与评论(共有 14 条评论) |
本站网友 性价比高笔记本电脑 | 28分钟前 发表 |
下载winafl代码语言:javascript代码运行次数:0运行复制git clone --recursive .git编译2位 | |
本站网友 孝子的故事 | 24分钟前 发表 |
打开x86 | |
本站网友 新乡胖东来 | 25分钟前 发表 |
那基本应该没啥问题了那可以上afl了 | |
本站网友 南宁楼盘 | 2分钟前 发表 |
分享自作者个人站点/博客 | |
本站网友 大漠沙如雪 | 19分钟前 发表 |
如有侵权请联系 cloudcommunity@tencent 删除前往查看程序函数编译编译器测试 | |
本站网友 长春笔记本维修 | 9分钟前 发表 |
那基本应该没啥问题了那可以上afl了 | |
本站网友 脸部除皱手术 | 20分钟前 发表 |
放1.bmp进去代码语言:javascript代码运行次数:0运行复制 -i in -o out -D D | |
本站网友 上海真美妇科 | 26分钟前 发表 |
偏移是0x10e0 | |
本站网友 吹塑托盘 | 18分钟前 发表 |
放1.bmp进去代码语言:javascript代码运行次数:0运行复制 -i in -o out -D D | |
本站网友 梦见长新牙 | 11分钟前 发表 |
打开x86 | |
本站网友 广告衫定制 | 30分钟前 发表 |
\Temp\DynamoRIO-Windows-8.0.0-1\bin64\ -c winafl.dll -debug -target_module test_ -target_offset 0x10e0 -fuzz_iterati 5 -nargs 2 -- test_ 1.bmp还生成了一个log | |
本站网友 柠檬片泡水 | 20分钟前 发表 |
\Temp\DynamoRIO-Windows-8.0.0-1\bin64\ -c winafl.dll -debug -target_module test_ -target_offset 0x10e0 -fuzz_iterati 5 -nargs 2 -- test_ 1.bmp还生成了一个log | |
本站网友 地铁停运 | 28分钟前 发表 |
如有侵权请联系 cloudcommunity@tencent 删除前往查看程序函数编译编译器测试 |