(&self)
| 18 | |
| 19 | impl ProgramError { |
| 20 | pub fn get_err_msg(&self) -> String { |
| 21 | match self { |
| 22 | ProgramError::Syntax(msg) => format!("\nSyntax Error: \n{msg}"), |
| 23 | ProgramError::Link(msg) => format!("\nLink Error: \n{msg}"), |
| 24 | ProgramError::Execute(msg) => format!("\nExecute Error: \n{msg}"), |
| 25 | ProgramError::Fuzzer(msg) => format!("\nFuzzer Error: \n{msg}"), |
| 26 | ProgramError::Coverage(msg) => format!("\nCoverage Error: \n{msg}"), |
| 27 | ProgramError::Hang(msg) => format!("\nExecuted Hang!: \n{msg}"), |
| 28 | } |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | pub enum AsanError { |
no outgoing calls
no test coverage detected