Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Add libfuzzer_dotnet_fuzz task to agent #2221

Merged
merged 4 commits into from
Aug 5, 2022

Conversation

ranweiler
Copy link
Member

Add a new libfuzzer_dotnet_fuzz task to the agent.

This task has a config which is an extension to the libfuzzer_fuzz with 3 extra parameters: target_assembly, target_class, and target_method. At runtime, it uses the new LibFuzzerType::extra_setup() hook to to instrument the target_assembly for coverage feedback using SharpFuzz, and generates libfuzzer-dotnet-based fuzzer invocations of LibFuzzer. These use LibFuzzerDotnetLoader as the --target_path arg for libfuzzer-dotnet, and sets the env vars that tell LibFuzzerDotnetLoader what to fuzz.

@ranweiler ranweiler requested a review from tevoinea August 4, 2022 22:47
@ranweiler ranweiler linked an issue Aug 4, 2022 that may be closed by this pull request
@ranweiler ranweiler merged commit 9c927a8 into microsoft:main Aug 5, 2022
@ranweiler ranweiler deleted the libfuzzer-dotnet-fuzz branch August 5, 2022 17:00
@ghost ghost locked as resolved and limited conversation to collaborators Sep 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add dotnet_libfuzzer task
2 participants