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

Function is_exit_normally

src/execution/mod.rs:918–924  ·  view source on GitHub ↗

if the exit code represent program executed normally.

(code: Option<i32>)

Source from the content-addressed store, hash-verified

916
917/// if the exit code represent program executed normally.
918fn is_exit_normally(code: Option<i32>) -> bool {
919 if let Some(exit_code) = code {
920 exit_code == 0
921 } else {
922 false
923 }
924}
925
926pub fn get_child_err(mut err: ChildStderr) -> String {
927 let mut err_buf = Vec::new();

Callers 2

executeMethod · 0.85
execute_cov_fuzzerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected