Skip to main content

open_dump_with_raw_fallback

Function open_dump_with_raw_fallback 

Source
pub fn open_dump_with_raw_fallback(
    path: &Path,
) -> Result<Box<dyn PhysicalMemoryProvider>>
Expand description

Like open_dump, but accepts the raw format as a last resort.

Useful when the caller has already confirmed the file is a memory dump (e.g., extracted from an archive with known dump extensions). Without this, raw dumps fail detection because the raw plugin scores 5, below open_dump’s minimum threshold of 20.