Comments (9)
My dll starts a process using System,Diagnostic.Process.Start I am able to perform instrumentation on this dll without any issue, but while running afl-fuzz, I get an error due to Process.start
Is it possible using sharpfuzz
from sharpfuzz.
Which error do you get?
from sharpfuzz.
from sharpfuzz.
This error means that the function you are passing to Fuzzer.Run is throwing exception (or crashing the process) when called with the initial input. Try calling it directly, and see if it will finish without throwing exceptions.
You can also share your fuzzing function here, so I can try to spot if there is anything unusual with it.
from sharpfuzz.
This issue only occurs when I use System.Diagnostics.Process.Start in the instrumented dll. Can you please check if you are able to fuzz an instrumented dll with this method
from sharpfuzz.
I don't think that Process.Start is the issue here. If you give me more details about what you are doing, I might be able to help you.
from sharpfuzz.
Sorry for the late reply :
the code is something like this
public static void Main(string[] args)
{
Fuzzer.Run(stream =>
{
try
{
Console.log("Open this file")
Program.start("www.google.com");
}
catch (ArgumentException)
{
}
});
The code works after I comment out Program.start.
from sharpfuzz.
This is not a reproducible example (it's not even a valid C# code). Again, unless you give me a working example of what you are doing, I really cannot help you.
from sharpfuzz.
Closing due to inactivity.
from sharpfuzz.
Related Issues (20)
- Use AFL++ instead of AFL HOT 1
- 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
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.