Skip to main content

open_dump

Function open_dump 

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

Open a dump file by probing all registered format plugins.

Reads the first 4096 bytes and asks each plugin for a confidence score. Returns the provider from the highest-confidence plugin (>=80 returns immediately; otherwise the best score >=50 wins).