Readme impromevent in frida_libpng fuzzer. (#350)

Co-authored-by: expy <expy@>
This commit is contained in:
expend20 2021-11-05 13:46:19 +01:00 committed by GitHub
parent 9f9cab6d72
commit 5000558f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,11 @@ You can also fuzz libpng-1.6.37 on windows with frida mode!
### To build it with visual studio
1. Install clang for windows (make sure you add LLVM to the system path!)
[https://github.com/llvm/llvm-project/releases/tag/llvmorg-12.0.1](https://github.com/llvm/llvm-project/releases/tag/llvmorg-12.0.1)
2. Build libpng1.6.37
2. Run build, this will download and extract libpng-1.6.37 directory.
```
cargo build --release
```
3. Build libpng1.6.37
- Open libpng-1.6.37/projects/vstudio/vstudio.sln
- Open Build->Configuration Manager
- select Release for Active solution configuration and
@ -44,10 +48,9 @@ You can also fuzz libpng-1.6.37 on windows with frida mode!
- C/C++ -> Treat Warnings As Errors -> No
- C/C++ -> Code Generation -> Runtime Library -> Multi-threaded (/MT)
- Finally, you can build libpng-1.6.37
3. Compile the harness
4. Compile the harness
Fire up a powershell at this directory.
```
cargo build --release
cp .\libpng-1.6.37\projects\vstudio\x64\Release\libpng16.lib .
cp .\libpng-1.6.37\projects\vstudio\x64\Release\zlib.lib .
cp .\target\release\frida_libpng.exe .