MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / call_stack_to_hash

Function call_stack_to_hash

src/program/libfuzzer.rs:877–883  ·  view source on GitHub ↗
(call_stack: Vec<(String, String)>)

Source from the content-addressed store, hash-verified

875 }
876
877 fn call_stack_to_hash(call_stack: Vec<(String, String)>) -> String {
878 let mut hash = String::new();
879 for (trap_call, _) in call_stack {
880 hash.push_str(&trap_call);
881 }
882 hash
883 }
884
885 fn sanitize_crash_by_call_stack(crashes: Vec<PathBuf>) -> Result<Vec<PathBuf>> {
886 log::info!("Sanitze those crashes by call stacks");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected