mirror of
https://github.com/encounter/objdiff.git
synced 2026-07-10 12:18:36 -07:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a5d9d8282e | |||
| 3287a0f65c | |||
| fab9c62dfb |
Generated
+110
-117
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -13,7 +13,7 @@ strip = "debuginfo"
|
|||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "2.2.1"
|
version = "2.2.2"
|
||||||
authors = ["Luke Street <luke@street.dev>"]
|
authors = ["Luke Street <luke@street.dev>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ gimli = { version = "0.31", default-features = false, features = ["read-all"], o
|
|||||||
|
|
||||||
# ppc
|
# ppc
|
||||||
cwdemangle = { version = "1.0", optional = true }
|
cwdemangle = { version = "1.0", optional = true }
|
||||||
cwextab = { version = "0.3", optional = true }
|
cwextab = { version = "1.0.2", optional = true }
|
||||||
ppc750cl = { version = "0.3", optional = true }
|
ppc750cl = { version = "0.3", optional = true }
|
||||||
|
|
||||||
# mips
|
# mips
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ bytes = "1.7"
|
|||||||
cfg-if = "1.0"
|
cfg-if = "1.0"
|
||||||
const_format = "0.2"
|
const_format = "0.2"
|
||||||
cwdemangle = "1.0"
|
cwdemangle = "1.0"
|
||||||
cwextab = "0.3.1"
|
cwextab = "1.0.2"
|
||||||
dirs = "5.0"
|
dirs = "5.0"
|
||||||
egui = "0.29"
|
egui = "0.29"
|
||||||
egui_extras = "0.29"
|
egui_extras = "0.29"
|
||||||
@@ -43,7 +43,7 @@ objdiff-core = { path = "../objdiff-core", features = ["all"] }
|
|||||||
open = "5.3"
|
open = "5.3"
|
||||||
png = "0.17"
|
png = "0.17"
|
||||||
pollster = "0.3"
|
pollster = "0.3"
|
||||||
regex = "1.10"
|
regex = "1.11"
|
||||||
rfd = { version = "0.15" } #, default-features = false, features = ['xdg-portal']
|
rfd = { version = "0.15" } #, default-features = false, features = ['xdg-portal']
|
||||||
rlwinmdec = "1.0"
|
rlwinmdec = "1.0"
|
||||||
ron = "0.8"
|
ron = "0.8"
|
||||||
@@ -51,7 +51,7 @@ serde = { version = "1.0", features = ["derive"] }
|
|||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
shell-escape = "0.1"
|
shell-escape = "0.1"
|
||||||
strum = { version = "0.26", features = ["derive"] }
|
strum = { version = "0.26", features = ["derive"] }
|
||||||
tempfile = "3.12"
|
tempfile = "3.13"
|
||||||
time = { version = "0.3", features = ["formatting", "local-offset"] }
|
time = { version = "0.3", features = ["formatting", "local-offset"] }
|
||||||
|
|
||||||
# Keep version in sync with egui
|
# Keep version in sync with egui
|
||||||
|
|||||||
@@ -26,17 +26,17 @@ fn find_symbol(obj: &ObjInfo, selected_symbol: &SymbolRefByName) -> Option<Symbo
|
|||||||
fn decode_extab(extab: &ExceptionInfo) -> String {
|
fn decode_extab(extab: &ExceptionInfo) -> String {
|
||||||
let mut text = String::from("");
|
let mut text = String::from("");
|
||||||
|
|
||||||
let mut dtor_names: Vec<&str> = vec![];
|
let mut dtor_names: Vec<String> = vec![];
|
||||||
for dtor in &extab.dtors {
|
for dtor in &extab.dtors {
|
||||||
//For each function name, use the demangled name by default,
|
//For each function name, use the demangled name by default,
|
||||||
//and if not available fallback to the original name
|
//and if not available fallback to the original name
|
||||||
let name = match &dtor.demangled_name {
|
let name: String = match &dtor.demangled_name {
|
||||||
Some(demangled_name) => demangled_name,
|
Some(demangled_name) => demangled_name.to_string(),
|
||||||
None => &dtor.name,
|
None => dtor.name.clone(),
|
||||||
};
|
};
|
||||||
dtor_names.push(name.as_str());
|
dtor_names.push(name);
|
||||||
}
|
}
|
||||||
if let Some(decoded) = extab.data.to_string(&dtor_names) {
|
if let Some(decoded) = extab.data.to_string(dtor_names) {
|
||||||
text += decoded.as_str();
|
text += decoded.as_str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user