Actually update extab stuff (#110)

* Update cwextab

* Update

* Update ppc.rs

* Make fmt shut up
This commit is contained in:
Amber Brault
2024-09-24 11:16:14 -04:00
committed by GitHub
parent c1cb4b0b19
commit 35bbd40f5d
4 changed files with 16 additions and 12 deletions

View File

@@ -60,7 +60,7 @@ gimli = { version = "0.31", default-features = false, features = ["read-all"], o
# ppc
cwdemangle = { version = "1.0", optional = true }
cwextab = { version = "0.2", optional = true }
cwextab = { version = "0.3.1", optional = true }
ppc750cl = { version = "0.3", optional = true }
# mips

View File

@@ -303,9 +303,13 @@ fn decode_exception_info(file: &File<'_>) -> Result<Option<BTreeMap<usize, Excep
continue;
};
let data = match decode_extab(extab_data) {
Some(decoded_data) => decoded_data,
None => {
log::warn!("Exception table decoding failed for function {}", extab_func_name);
Ok(decoded_data) => decoded_data,
Err(e) => {
log::warn!(
"Exception table decoding failed for function {}, reason: {}",
extab_func_name,
e.to_string()
);
return Ok(None);
}
};