mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-10 22:17:51 +00:00
Various fixes
This commit is contained in:
@@ -285,9 +285,7 @@ fn push_args(
|
||||
} else {
|
||||
arg_cb(InstructionPart::Arg(InstructionArg::Value(
|
||||
InstructionArgValue::Opaque(
|
||||
op.display(instruction, display_flags, None::<&str>)
|
||||
.to_string()
|
||||
.into(),
|
||||
op.display(instruction, display_flags, None::<&str>).to_string().into(),
|
||||
),
|
||||
)))?;
|
||||
}
|
||||
|
||||
@@ -107,11 +107,7 @@ fn diff_data_relocs_for_range<'left, 'right>(
|
||||
if reloc_eq(left_obj, right_obj, &left_reloc, &right_reloc) {
|
||||
diffs.push((DataDiffKind::None, Some(left_reloc), Some(right_reloc)));
|
||||
} else {
|
||||
diffs.push((
|
||||
DataDiffKind::Replace,
|
||||
Some(left_reloc),
|
||||
Some(right_reloc),
|
||||
));
|
||||
diffs.push((DataDiffKind::Replace, Some(left_reloc), Some(right_reloc)));
|
||||
}
|
||||
}
|
||||
for right_reloc in right_section.relocations.iter() {
|
||||
|
||||
Reference in New Issue
Block a user