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:
@@ -170,6 +170,7 @@ pub trait Arch: Send + Sync + Debug {
|
||||
address: u64,
|
||||
code: &[u8],
|
||||
section_index: usize,
|
||||
relocations: &[Relocation],
|
||||
diff_config: &DiffObjConfig,
|
||||
) -> Result<Vec<ScannedInstruction>>;
|
||||
|
||||
@@ -301,6 +302,7 @@ impl Arch for ArchDummy {
|
||||
_address: u64,
|
||||
_code: &[u8],
|
||||
_section_index: usize,
|
||||
_relocations: &[Relocation],
|
||||
_diff_config: &DiffObjConfig,
|
||||
) -> Result<Vec<ScannedInstruction>> {
|
||||
Ok(Vec::new())
|
||||
|
||||
Reference in New Issue
Block a user