We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 376ab52 commit 39ba3a3Copy full SHA for 39ba3a3
1 file changed
src/address.rs
@@ -37,7 +37,7 @@ impl AddressLocator {
37
}
38
address = new_address;
39
40
-
+
41
Ok(address + final_offset[0])
42
43
@@ -71,7 +71,7 @@ impl Display for AddressLocator {
71
Self::PointerChain(signature, pointers) => {
72
let pointer_str = pointers
73
.iter()
74
- .map(|pointer| format!("{pointer:X}"))
+ .map(|pointer| format!("0x{pointer:X}"))
75
.collect::<Vec<_>>()
76
.join(" -> ");
77
write!(f, "{signature} {pointer_str}")
0 commit comments