We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d676972 commit 742f83dCopy full SHA for 742f83d
objdiff-core/src/arch/mod.rs
@@ -34,6 +34,9 @@ pub enum DataType {
34
35
impl DataType {
36
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
40
if self.required_len().is_some_and(|l| bytes.len() != l) {
41
return None;
42
}
0 commit comments