mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-20 02:15:24 +00:00
x86: Support inline data for jumptables
This commit is contained in:
@@ -14,7 +14,7 @@ use crate::{
|
||||
arch::Arch,
|
||||
diff::{ArmArchVersion, ArmR9Usage, DiffObjConfig, display::InstructionPart},
|
||||
obj::{
|
||||
InstructionRef, RelocationFlags, ResolvedInstructionRef, ResolvedRelocation,
|
||||
InstructionRef, Relocation, RelocationFlags, ResolvedInstructionRef, ResolvedRelocation,
|
||||
ScannedInstruction, SymbolFlag, SymbolFlagSet, SymbolKind,
|
||||
},
|
||||
};
|
||||
@@ -183,6 +183,7 @@ impl Arch for ArchArm {
|
||||
address: u64,
|
||||
code: &[u8],
|
||||
section_index: usize,
|
||||
_relocations: &[Relocation],
|
||||
diff_config: &DiffObjConfig,
|
||||
) -> Result<Vec<ScannedInstruction>> {
|
||||
let start_addr = address as u32;
|
||||
|
||||
Reference in New Issue
Block a user