(
&self,
bv: &BinaryView,
arch: &CoreArchitecture,
reloc: &Relocation,
dest: &mut [u8],
)
| 341 | } |
| 342 | |
| 343 | fn apply_relocation( |
| 344 | &self, |
| 345 | bv: &BinaryView, |
| 346 | arch: &CoreArchitecture, |
| 347 | reloc: &Relocation, |
| 348 | dest: &mut [u8], |
| 349 | ) -> bool { |
| 350 | unsafe { |
| 351 | BNRelocationHandlerApplyRelocation( |
| 352 | self.0, |
| 353 | bv.handle, |
| 354 | arch.handle, |
| 355 | reloc.0, |
| 356 | dest.as_mut_ptr(), |
| 357 | dest.len(), |
| 358 | ) |
| 359 | } |
| 360 | } |
| 361 | |
| 362 | fn get_operand_for_external_relocation( |
| 363 | &self, |
no test coverage detected