MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / map_uc_err

Function map_uc_err

icicle-cortexm/src/unicorn_api.rs:101–106  ·  view source on GitHub ↗
(err: uc_err)

Source from the content-addressed store, hash-verified

99}
100
101pub fn map_uc_err(err: uc_err) -> anyhow::Result<()> {
102 if err == UC_ERR_OK {
103 return Ok(());
104 }
105 Err(anyhow::format_err!("{}", fuzzware::uc_error_str(err)))
106}
107
108fn read_err_to_uc_err(err: icicle_vm::cpu::mem::MemError) -> uc_err {
109 match err {

Callers 1

fuzzware_initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected