mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-20 02:15:24 +00:00
Implement context menu copy functionality for data values (#163)
* Implement context menu copy functionality for data values * Clippy fixes
This commit is contained in:
@@ -221,8 +221,12 @@ impl ObjArch for ObjArchPpc {
|
||||
guess_data_type_from_load_store_inst_op(Opcode::from(instruction.op as u8))
|
||||
}
|
||||
|
||||
fn display_data_type(&self, ty: DataType, bytes: &[u8]) -> Option<String> {
|
||||
ty.display_bytes::<BigEndian>(bytes)
|
||||
fn display_data_labels(&self, ty: DataType, bytes: &[u8]) -> Vec<String> {
|
||||
ty.display_labels::<BigEndian>(bytes)
|
||||
}
|
||||
|
||||
fn display_data_literals(&self, ty: DataType, bytes: &[u8]) -> Vec<String> {
|
||||
ty.display_literals::<BigEndian>(bytes)
|
||||
}
|
||||
|
||||
fn ppc(&self) -> Option<&ObjArchPpc> { Some(self) }
|
||||
|
||||
Reference in New Issue
Block a user