Code Monkey home page Code Monkey logo

Comments (9)

ajinkya-ghonge avatar ajinkya-ghonge commented on June 4, 2024

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.

Metalnem avatar Metalnem commented on June 4, 2024

Which error do you get?

from sharpfuzz.

ajinkya-ghonge avatar ajinkya-ghonge commented on June 4, 2024

image

from sharpfuzz.

Metalnem avatar Metalnem commented on June 4, 2024

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.

ajinkya-ghonge avatar ajinkya-ghonge commented on June 4, 2024

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.

Metalnem avatar Metalnem commented on June 4, 2024

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.

ajinkya-ghonge avatar ajinkya-ghonge commented on June 4, 2024

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.

Metalnem avatar Metalnem commented on June 4, 2024

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.

Metalnem avatar Metalnem commented on June 4, 2024

Closing due to inactivity.

from sharpfuzz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.