Skip to content

Fuzzer hangs without logs. #52

Description

@martasp

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".

Activity

  1. ovska commented on Apr 9, 2025

    @ovska

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions