MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / apply_relocation

Method apply_relocation

rust/src/relocation.rs:343–360  ·  view source on GitHub ↗
(
        &self,
        bv: &BinaryView,
        arch: &CoreArchitecture,
        reloc: &Relocation,
        dest: &mut [u8],
    )

Source from the content-addressed store, hash-verified

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,

Callers 1

cb_apply_relocationFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected