Comments (4)
I'm having a similar issue (I'm using afl-fuzz 2.52b, the google one), but it stopped working from me when I moved from WSL1 to WSL2 (Ubuntu 20.04).
I did ulimit -Sv $[999 << 10]; dotnet bin/fuzzed_app.dll
and this appears:
Failed to create CoreCLR, HRESULT: 0x8007000E
From dotnet/runtime#13027 It looks that It may be a problem with the ram, but if I write ulimit -v
I get unlimited
I will keep investigating but this may help you @nvivekk
Any idea @Metalnem ?
Thanks!
from sharpfuzz.
@nvivekk, did you instrument Jil.dll
by running sharpfuzz Jil.dll
command on it? Also, can you share your main program (even better would be if you could attach the whole project)?
@Jossec101, I have no idea what could be causing your issue. If it was working on WSL1, and now it's not on WSL2, I doubt the issue is in SharpFuzz.
from sharpfuzz.
And issue got resolved I was instrumenting Jil.dll and replacing it on test folder. But i ran build without instrumented DLL earlier. Now its working fine.
@Jossec101 I am trying it on linux distro. So WSL2 may not be an issue here.
Thanks for the reponse. @Metalnem
from sharpfuzz.
I'm using dotnet 6.0 on ubuntu 20.04 with 2GB RAM and got Fork server handshake failed
Here is my step to run afl-fuzz @Metalnem
git clone https://github.com/Metalnem/sharpfuzz-samples.git
cd sharpfuzz-samples/Newtonsoft.Json/Newtonsoft.Json.Fuzz
wget https://www.nuget.org/api/v2/package/Newtonsoft.Json/13.0.2-beta1
mv 13.0.2-beta1 13.0.2-beta1.zip; unzip 13.0.2-beta1.zip -d Newtonsoft13beta
# cp 13.0.2-beta1/lib/net6.0/* .
sharpfuzz Newtonsoft13beta/lib/netstandard2.0/Newtonsoft.Json.dll
dotnet add package SharpFuzz
# prepare corpus
mkdir input; mkdir tmpinput; mkdir output
echo '{"a": "b"}' > input/a.json
wget https://raw.githubusercontent.com/AFLplusplus/AFLplusplus/stable/dictionaries/json.dict
dotnet build
afl-fuzz -i input/ -o output -m none -t 5000 -x json.dict dotnet bin/Debug/netcoreapp2.2/Newtonsoft.Json.Fuzz.dll
from sharpfuzz.
Related Issues (20)
- Timeout proccesing HOT 4
- Windows support HOT 5
- Publish new release with LibFuzzer updates HOT 1
- Question about excuting action sharpfuzz/src/SharpFuzz/Fuzzer.LibFuzzer.cs HOT 1
- Question regarding plans for SharpFuzz with libFuzzer on macOS HOT 2
- Test .net Application Console program HOT 1
- No instrumentation detected issue on Jil.dll HOT 5
- Parallel fuzzing with libfuzzer on windows
- Fork server handshake failed HOT 3
- AccessViolationException in class constructors HOT 3
- document hidden env variables and features HOT 3
- After installing sharpfuzz: "sharpfuzz: command not found"
- AFL failed to run: "No instrumentation detected" HOT 3
- Fuzzer hangs without logs.
- I'm curious about how SharpFuzz measures coverage HOT 1
- "Error Calculating Max stack value."
- How to instrument native C++ code to fuzz with Sharpfuzz HOT 1
- Running Sharpfuzz with mono
- Debug info disappeared after Sharpfuzz intrumentation
- Why sharpfuzz cannot be recognized?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharpfuzz.