Thin bounded wrapper around Volatility3: cited Observations from process/network/injected-memory/command-line analysis, no verdicts
| Tier | infrastructure |
| Role | unclassified (baselined) |
| Path | crates/infrastructure/memory-forensics |
| Edition | 2021 |
| Targets | infrastructure_memory_forensics |
| Public items | 7 across 0 modules |
| Tests | 6 |
What it is for
Thin bounded wrapper around Volatility3 (vol): cited Observations from process, network, injected-memory, and command-line analysis of a RAM capture. No verdicts — Volatility3's own field values are cited verbatim.
The wire format below (leading blank line, one JSON object per line for -r jsonl, every row carrying a __children key) was verified against Volatility3 2.28.0's own JsonRenderer/JsonLinesRenderer source (volatility3/cli/text_renderer.py), not assumed. Exact column names per plugin were NOT verified against a live memory image (none was available), so to_observations cites every column generically (key=value, sorted) rather than selecting specific fields by name.
Capabilities
crate root
Thin bounded wrapper around Volatility3 (vol): cited Observations from process,
| Item |
|---|
fn parse_vol_jsonl(stdout : & str) -> Vec <Map <String, Value>> |
fn to_observations(rows : & Map <String, Value>, rule_id : & str) -> Vec <Observation> |
MemoryError
Thin bounded wrapper around Volatility3 (vol): cited Observations from process,
| Item |
|---|
pub enum MemoryError |
async fn process_list(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError> |
async fn network_connections(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError> |
async fn injected_memory(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError> |
async fn command_lines(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError> |
How to use it
No examples/ target and no doctest in this crate's rustdoc. The tests listed under Verification are the closest executable usage.
Module structure
No public modules: the crate root is its whole surface.
Public surface
`crate root`
| Item | What it is |
|---|---|
pub enum MemoryError | Every way a memory-analysis run can fail. |
fn parse_vol_jsonl(stdout : & str) -> Vec <Map <String, Value>> | Parse Volatility3 -r jsonl stdout into one map per row, in order |
fn to_observations(rows : & Map <String, Value>, rule_id : & str) -> Vec <Observation> | Lift parsed rows into cited Observations |
async fn process_list(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError> | vol -f <image> -r jsonl windows.pslist — process list at capture time. |
async fn network_connections(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError> | vol -f <image> -r jsonl windows.netscan — network connections at capture time. |
async fn injected_memory(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError> | vol -f <image> -r jsonl windows.malfind — injected / unbacked executable memory. |
async fn command_lines(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError> | vol -f <image> -r jsonl windows.cmdline — command line per process. |
No pub use re-exports: every item above is declared in this crate.
Boundary
Reaches into foundation.
Shares tier infrastructure with 82 other crates: infrastructure-acquire, infrastructure-adapters-google-calendar, infrastructure-adapters-google-gmail, infrastructure-adapters-google-places, infrastructure-adapters-google-trends, infrastructure-adapters-shodan, infrastructure-adapters-yelp, infrastructure-agent, … (82 total).
_What this crate deliberately does NOT own is a judgment. No committed registry records one for it, so none is stated here._
Where it sits
| Tier (ontology) | infrastructure |
| Architectural role (taxonomy) | unclassified (baselined) |
| Location | crates/infrastructure/memory-forensics |
| Vocabulary in force (lexicon) | current |
Tier flow. Which tiers this crate's own edges cross.
flowchart LR n_infrastructure["infrastructure"] --> n_foundation["foundation"]
Dependencies
Runtime, in this workspace.
| Crate | Tier | Optional | Only on |
|---|---|---|---|
| `foundation-bounded-io` | foundation | no | always |
| `infrastructure-host-forensics` | infrastructure | no | always |
Runtime, from outside the workspace.
| Crate | Requirement | Features | Optional | Only on |
|---|---|---|---|---|
serde_json | ^1 | — | no | always |
thiserror | ^2 | — | no | always |
Development, from outside the workspace.
| Crate | Requirement | Features | Optional | Only on |
|---|---|---|---|---|
tokio | ^1 | full | no | always |
Build. None.
Depended on by. Nothing in this workspace.
Signal flow — what reaches this crate, and what it reaches.
flowchart LR SELF["infrastructure-memory-forensics"] SELF -->|runtime| n_foundation_bounded_io["foundation-bounded-io"] SELF -->|runtime| n_infrastructure_host_forensics["infrastructure-host-forensics"] classDef self fill:#1f883d,stroke:#1f883d,color:#fff; class SELF self;
Feature flags
No Cargo features are defined: every capability is unconditional, so no consumer can receive a half-wired crate.
Targets
| Kind | Name | Source |
|---|---|---|
| lib | infrastructure_memory_forensics | `src/lib.rs` |
Error model
| Error type | Named by |
|---|---|
MemoryError | command_lines, injected_memory, network_connections, process_list |
Operational characteristics
| Property | Evidence |
|---|---|
| async public surface | yes |
| async runtime | none detected |
| database access | none detected |
| network I/O | none detected |
| unsafe code | none detected |
| environment variables | yes |
No unsafe block, unsafe fn, unsafe impl or unsafe trait was found by the parser anywhere in this crate's source.
Configuration
| Variable | Read in |
|---|---|
CARGO_MANIFEST_DIR | src/lib.rs |
Related capabilities
No workspace crate depends on this one.
Verification
| Kind | Count |
|---|---|
| Unit tests | 6 |
| Integration tests | 0 |
| Examples | 0 |
| Doctests | 0 |
Evidence by module. How often each public module is named by something executable.
| Module | Tests | Examples | Consumers |
|---|---|---|---|
crate root | 7 | 0 | 0 |
What the tests establish, by name:
nonzero_exit_still_produces_an_observation_not_a_silent_drop—src/lib.rsparse_vol_jsonl_empty_input_yields_no_synthesized_rows—src/lib.rsparse_vol_jsonl_skips_leading_blank_line_and_strips_children—src/lib.rsparse_vol_jsonl_skips_non_json_noise_lines—src/lib.rsprocess_list_wires_stdout_through_the_parser—src/lib.rsto_observations_cites_every_column_sorted_no_verdict_language—src/lib.rs
Documentation coverage
| Measure | Documented | Total |
|---|---|---|
| Public items with rustdoc | 7 | 7 |
Public modules with a //! block | 0 | 0 |
pie showData
title Public items with rustdoc
"Documented" : 7
"No rustdoc detected" : 0
Metrics
| Metric | Value |
|---|---|
| Rust source files | 1 |
| Source lines | 228 |
| Code lines | 172 |
| Public API items | 7 |
| Public modules | 0 |
| Tests | 6 |
| Examples | 0 |
| Cargo features | 0 |
| Direct runtime dependencies | 4 |
| Workspace reverse dependencies | 0 |
pie showData
title Public API by kind
"enum" : 1
"function" : 6
pie showData
title Rust source composition
"Code" : 172
"Blank or comment" : 56
Generation
Rendered by tools-corpus corpus readme from repository evidence alone, renderer schema 2, lexicon current. No model, network service or database was consulted. Regenerate with tools-corpus corpus readme --write; verify with --check.