MCPcopy Create free account
hub / github.com/MagnetForensics/dumpit-linux / Args

Class Args

src/main.rs:63–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61#[derive(Parser)]
62#[clap(about, long_about = None, author="Copyright (c) 2022, Magnet Forensics, Inc.", version = CRATE_VERSION)]
63struct Args {
64 /// Write to stdout instead of a file.
65 #[clap(short='0', long)]
66 to_stdout: bool,
67 /// Create a single core dump file instead of a compressed archive.
68 #[clap(short, long)]
69 raw: bool,
70 /// Print extra output while parsing
71 #[clap(short, long)]
72 verbose: bool,
73 /// Writes output to a named pipe. Note that if DumpIt is set to write an archive, it will write the archive to the pipe
74 #[clap(short, long)]
75 pipe: bool,
76 /// Path to the output archive, file, or named pipe.
77 #[clap(value_name = "Output Path")]
78 output_path: Option<String>,
79}
80
81const PAGE_SIZE: usize = 0x1000;
82const ELF_ALIGN: usize = 4;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected