mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-18 20:15:14 +02:00
feat: Implement dynamic verification layer with harness generation and payload orchestration
This commit is contained in:
parent
fb698d2c27
commit
56e934656c
10 changed files with 582 additions and 0 deletions
36
src/dynamic/mod.rs
Normal file
36
src/dynamic/mod.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
//! Dynamic verification layer (feature-gated: `dynamic`).
|
||||
//!
|
||||
//! Static analysis confirms a flow exists. Dynamic execution confirms it fires.
|
||||
//! This module turns a [`crate::commands::scan::Diag`] into a runnable harness,
|
||||
//! injects a payload from a per-cap corpus, executes inside a sandbox, and
|
||||
//! reports back whether the sink actually triggered.
|
||||
//!
|
||||
//! Pipeline:
|
||||
//!
|
||||
//! ```text
|
||||
//! Diag --> HarnessSpec --> Harness (generated source/binary)
|
||||
//! |
|
||||
//! v
|
||||
//! Sandbox::run(payload)
|
||||
//! |
|
||||
//! v
|
||||
//! VerifyResult
|
||||
//! ```
|
||||
//!
|
||||
//! All submodules are read-only consumers of the static engine's output.
|
||||
//! Nothing in this tree mutates SSA, taint, or label state.
|
||||
//!
|
||||
//! Off by default. Enable with `--features dynamic`. Heavy deps (container
|
||||
//! runtime client, fuzzer harness) live behind the same gate.
|
||||
|
||||
pub mod corpus;
|
||||
pub mod harness;
|
||||
pub mod report;
|
||||
pub mod runner;
|
||||
pub mod sandbox;
|
||||
pub mod spec;
|
||||
pub mod verify;
|
||||
|
||||
pub use report::{VerifyResult, VerifyStatus};
|
||||
pub use spec::HarnessSpec;
|
||||
pub use verify::{verify_finding, VerifyOptions};
|
||||
Loading…
Add table
Add a link
Reference in a new issue