disable_code_restoration_at

Function disable_code_restoration_at 

Source
pub unsafe fn disable_code_restoration_at(
    program: &Program<'_>,
    rva: u32,
) -> Result<(), Box<dyn Error>>
Expand description

Disables the arxan code restoration routine at the given RVA.

ยงSafety

Caller must ensure that:

  • Specified program/module has not unloaded.
  • The RVA is a valid conditional jump like we see with arxans code restoration routines.
  • The RVA points to writeable memory (ala VirtualProtect).
  • Nothing else is writing to the memory at specified RVA.