#fuzz-testing #fuzz #api-client #api #introspector #oss-fuzz

fuzz-introspector-client

An unofficial client library for the fuzz introspector API

2 releases

0.0.2 Nov 28, 2023
0.0.1 Nov 20, 2023

#38 in #fuzz-testing

MIT license

13KB
219 lines

fuzz-introspector-client

An unofficial client library for the fuzz-introspector API.


lib.rs:

This is an unnoficial client library for the fuzz-introspector api.

Example

use fuzz_introspector_client::{
   all_functions, annotated_config, branch_blockers, far_reach_but_low_coverage, project_summary,
};

let project = "json-c";
// Query the configs endpoint
println!("{:?}", annotated_config(project).await.unwrap());

// Query the optimal target analysis endpoint
println!(
  "{:?}",
  far_reach_but_low_coverage(project).await.unwrap()
);

// Query the project summary endpoint
println!("{:?}", project_summary(project).await.unwrap());

// Query the fuzz blockers endpoint
println!("{:?}", branch_blockers(project).await.unwrap());

// Get coverage information about all targets
println!("{:?}", all_functions(project).await.unwrap());

Dependencies

~5–20MB
~228K SLoC