Skip to content

Commit 35bbd40

Browse files
Actually update extab stuff (#110)
* Update cwextab * Update * Update ppc.rs * Make fmt shut up
1 parent c1cb4b0 commit 35bbd40

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

objdiff-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ gimli = { version = "0.31", default-features = false, features = ["read-all"], o
6060

6161
# ppc
6262
cwdemangle = { version = "1.0", optional = true }
63-
cwextab = { version = "0.2", optional = true }
63+
cwextab = { version = "0.3.1", optional = true }
6464
ppc750cl = { version = "0.3", optional = true }
6565

6666
# mips

objdiff-core/src/arch/ppc.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,13 @@ fn decode_exception_info(file: &File<'_>) -> Result<Option<BTreeMap<usize, Excep
303303
continue;
304304
};
305305
let data = match decode_extab(extab_data) {
306-
Some(decoded_data) => decoded_data,
307-
None => {
308-
log::warn!("Exception table decoding failed for function {}", extab_func_name);
306+
Ok(decoded_data) => decoded_data,
307+
Err(e) => {
308+
log::warn!(
309+
"Exception table decoding failed for function {}, reason: {}",
310+
extab_func_name,
311+
e.to_string()
312+
);
309313
return Ok(None);
310314
}
311315
};

objdiff-gui/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ bytes = "1.7"
2929
cfg-if = "1.0"
3030
const_format = "0.2"
3131
cwdemangle = "1.0"
32-
cwextab = "0.3"
32+
cwextab = "0.3.1"
3333
dirs = "5.0"
3434
egui = "0.28"
3535
egui_extras = "0.28"

0 commit comments

Comments
 (0)