Skip to content

Commit 581fcf4

Browse files
committed
Log failure to display a symbol's value
1 parent 742f83d commit 581fcf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

objdiff-core/src/arch/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ impl DataType {
3838
// fallback to intrepreting it as bytes.
3939
// https://github.com/encounter/objdiff/issues/124
4040
if self.required_len().is_some_and(|l| bytes.len() != l) {
41+
log::warn!("Failed to display a symbol value for a symbol whose size doesn't match the instruction referencing it.");
4142
return None;
4243
}
4344

0 commit comments

Comments
 (0)