sharpfuzz icon indicating copy to clipboard operation
sharpfuzz copied to clipboard

Fuzzer hangs without logs.

Open martasp opened this issue 2 years ago • 1 comments

I tried one example but nothing happened it just hangs, hard to understand if it's doing something or not, there are no logs that say success or else to indicate that it's doing something and what is the progress.

scripts/fuzz-libfuzzer.ps1 `
>>     -libFuzzer ".\libfuzzer-dotnet-windows.exe" `
>>     -project Newtonsoft.Json.Fuzz.csproj `
>>     -corpus Testcases
MSBuild version 17.6.3+07e294721 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
  Newtonsoft.Json.Fuzz -> sharpfuzz-samples\src\Newtonsoft.Json\bin\release\net7.0\Newtonsoft.Json.Fuzz.dll
  Newtonsoft.Json.Fuzz -> sharpfuzz-samples\src\Newtonsoft.Json\bin\
Instrumenting Newtonsoft.Json.dll
WARNING: Failed to find function "__sanitizer_acquire_crash_state".
WARNING: Failed to find function "__sanitizer_print_stack_trace".
WARNING: Failed to find function "__sanitizer_set_death_callback".

martasp avatar Oct 14 '23 19:10 martasp

This is an old issue, but in case someone else runs into this: ensure you are calling Fuzzer.LibFuzzer.Run and not OutOfProcess

ovska avatar Apr 09 '25 05:04 ovska