Refactor data relocation diffing to improve accuracy and fix bugs (#157)

* Data reloc hover tooltip: Show relocation source address

* Refactor data relocation diffing to improve accuracy and fix bugs
This commit is contained in:
LagoLunatic
2025-01-22 00:54:31 -05:00
committed by GitHub
parent a4fdb61f04
commit b7730b3d00
5 changed files with 160 additions and 145 deletions

View File

@@ -42,6 +42,7 @@ impl SectionDiff {
let section = &obj.sections[section_index];
let symbols = section_diff.symbols.iter().map(|d| SymbolDiff::new(obj, d)).collect();
let data = section_diff.data_diff.iter().map(|d| DataDiff::new(obj, d)).collect();
// TODO: section_diff.reloc_diff
Self {
name: section.name.to_string(),
kind: SectionKind::from(section.kind) as i32,