MCPcopy Index your code
hub / github.com/MagnetForensics/dumpit-linux / init

Method init

src/main.rs:181–186  ·  view source on GitHub ↗

Initialize the data we need prior writing a new memory dump.

(&mut self)

Source from the content-addressed store, hash-verified

179
180 // Initialize the data we need prior writing a new memory dump.
181 fn init(&mut self) -> Result<()> {
182 self.get_vmcoreinfo_syms()?;
183 self.parse_kcore()?;
184
185 Ok(())
186 }
187
188 // Read data inside /proc/kcore at a given file offset.
189 fn read_offset(&self, offset: u64, size: usize) -> Result<Vec<u8>> {

Callers 1

mainFunction · 0.80

Calls 2

get_vmcoreinfo_symsMethod · 0.80
parse_kcoreMethod · 0.80

Tested by

no test coverage detected