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

Conversation

@chkeita
Copy link
Contributor

@chkeita chkeita commented Mar 27, 2023

This PR adds a new option to the onefuzz agent to help validate a fuzzer

> cargo run --bin onefuzz-agent -- validate --help                   
   Compiling onefuzz-agent v0.1.0 (C:\work\onefuzz\src\agent\onefuzz-agent)
    Finished dev [unoptimized + debuginfo] target(s) in 3.72s
     Running `target\debug\onefuzz-agent.exe validate --help`
Usage: onefuzz-agent.exe validate <COMMAND>

Commands:
  run_setup           Run the setup script
  validate_libfuzzer  Validate the libfuzzer target
  execution_log       Get the execution logs to debug loading issues
  help                Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

@codecov-commenter
Copy link

codecov-commenter commented Mar 27, 2023

Codecov Report

Merging #2948 (d8026c8) into main (ac789fa) will decrease coverage by 0.08%.
The diff coverage is 14.94%.

@@            Coverage Diff             @@
##             main    #2948      +/-   ##
==========================================
- Coverage   29.09%   29.01%   -0.08%     
==========================================
  Files         303      304       +1     
  Lines       36170    36313     +143     
==========================================
+ Hits        10523    10537      +14     
- Misses      25647    25776     +129     
Impacted Files Coverage Δ
src/agent/dynamic-library/src/windows.rs 19.16% <0.00%> (-1.49%) ⬇️
src/agent/onefuzz-agent/src/main.rs 0.41% <0.00%> (-0.01%) ⬇️
src/agent/onefuzz-agent/src/setup.rs 0.00% <0.00%> (ø)
src/agent/onefuzz-agent/src/validations.rs 0.00% <0.00%> (ø)
src/agent/dynamic-library/src/linux.rs 87.79% <45.00%> (-5.76%) ⬇️
src/agent/onefuzz-agent/src/work.rs 14.17% <100.00%> (+1.86%) ⬆️
src/agent/onefuzz/src/blob/url.rs 72.29% <100.00%> (+0.46%) ⬆️
src/agent/onefuzz/src/libfuzzer.rs 69.56% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@chkeita chkeita requested review from Porges and tevoinea March 31, 2023 01:46
@chkeita chkeita marked this pull request as ready for review March 31, 2023 01:46
@chkeita chkeita merged commit 6933521 into microsoft:main Mar 31, 2023
@chkeita chkeita deleted the chkeita/validation branch March 31, 2023 20:23
This was referenced Apr 5, 2023
@chkeita chkeita linked an issue Apr 19, 2023 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the ability to validate/run a task locally

3 participants