Skip to main content

detect_kaslr_offset

Function detect_kaslr_offset 

Source
pub fn detect_kaslr_offset(
    physical: &dyn PhysicalMemoryProvider,
    symbols: &dyn SymbolResolver,
) -> Result<u64>
Expand description

Detect the KASLR offset by scanning for the Linux banner string.

Returns the KASLR slide (0 if KASLR is disabled).