Skip to content

Commit 742f83d

Browse files
committed
Reference data display improvment issue
1 parent d676972 commit 742f83d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

objdiff-core/src/arch/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ pub enum DataType {
3434

3535
impl DataType {
3636
pub fn display_bytes<Endian: ByteOrder>(&self, bytes: &[u8]) -> Option<String> {
37+
// TODO: Attempt to interpret large symbols as arrays of a smaller type,
38+
// fallback to intrepreting it as bytes.
39+
// https://github.com/encounter/objdiff/issues/124
3740
if self.required_len().is_some_and(|l| bytes.len() != l) {
3841
return None;
3942
}

0 commit comments

Comments
 (0)