keyhog-scanner 0.2.1

High-performance secret detection engine with Hyperscan NFA, GPU pattern matching, entropy scoring, and decode-through scanning
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Multi-line string concatenation preprocessor.
//!
//! Detects and joins string concatenation patterns across lines for multiple languages.
//! This allows the scanner to detect secrets that are split across lines using various
//! concatenation syntaxes.

mod config;
mod preprocessor;

pub(crate) use config::has_concatenation_indicators;
pub use config::{LineMapping, MultilineConfig, PreprocessedText};
pub(crate) use preprocessor::extract_prefix;
pub use preprocessor::preprocess_multiline;

#[cfg(test)]
#[path = "tests.rs"]
mod tests;