(line: &str)
| 831 | } |
| 832 | |
| 833 | fn parse_call_stack_line(line: &str) -> Result<(String, String)> { |
| 834 | let mut de = Deserializer::from_input(line); |
| 835 | de.consume_token_until(" in ")?; |
| 836 | let trap_func = de.eat_token_until("/")?.trim(); |
| 837 | let trap_loc = de.remain().trim(); |
| 838 | Ok((trap_func.to_string(), trap_loc.to_string())) |
| 839 | } |
| 840 | |
| 841 | fn parse_call_stack_from_err_msg(fuzz_entry: &Path) -> Result<Vec<(String, String)>> { |
| 842 | let fuzz_log: PathBuf = [PathBuf::from(fuzz_entry), "fuzz.log".into()] |
no test coverage detected