pub fn apply_asm<F>(rva: usize, build: F) -> Result<Patch, PatchError>Expand description
Applies an assembly patch at a relative virtual address (RVA)
§Type Parameters
F- The closure that builds the assembly instructions
§Arguments
rva- The relative virtual address to patchbuild- A closure that takes anAarch64InstructionBuilderand appends instructions
§Returns
Result<Patch, PatchError>- The applied patch or an error