|
1 | 1 | ## cryptofind |
2 | 2 |
|
3 | | -Fast, low-false-positive static scanner that finds third-party cryptographic libraries and call sites across Go, Java, C, C++, Rust, Python, PHP, Swift, Objective-C, and Kotlin codebases. |
| 3 | +Fast, low-false-positive static scanner that finds third-party cryptographic libraries and call sites across 10 programming languages: Go, Java, C, C++, Rust, Python, PHP, Swift, Objective-C, and Kotlin. |
4 | 4 |
|
5 | 5 | ### Install & Run |
6 | 6 |
|
@@ -78,9 +78,22 @@ The scanner automatically detects and processes files with these extensions: |
78 | 78 | - **Aho-Corasick Prefiltering**: Fast substring matching before expensive regex operations |
79 | 79 | - **Parallel Processing**: Multi-threaded file scanning using Rayon |
80 | 80 |
|
81 | | -### Extending Detectors |
| 81 | +### Detector Architecture |
82 | 82 |
|
83 | | -Detectors are plugin-like. Add a new crate under `crates/` implementing the `Detector` trait, or extend the `patterns.toml` to cover additional libraries. See `crates/scanner-core/src/lib.rs` for the trait and pattern-driven detector. |
| 83 | +The scanner uses a modular detector architecture with dedicated crates for each language: |
| 84 | + |
| 85 | +- **detector-c**: C language support |
| 86 | +- **detector-cpp**: C++ language support |
| 87 | +- **detector-go**: Go language support |
| 88 | +- **detector-java**: Java language support |
| 89 | +- **detector-rust**: Rust language support |
| 90 | +- **detector-python**: Python language support |
| 91 | +- **detector-php**: PHP language support |
| 92 | +- **detector-swift**: Swift language support |
| 93 | +- **detector-objc**: Objective-C language support |
| 94 | +- **detector-kotlin**: Kotlin language support |
| 95 | + |
| 96 | +Each detector implements the `Detector` trait and can be extended independently. To add support for a new language, create a new detector crate under `crates/` or extend the `patterns.toml` to cover additional libraries. See `crates/scanner-core/src/lib.rs` for the trait definition and pattern-driven detector implementation. |
84 | 97 |
|
85 | 98 | ### Tests & Benchmarks |
86 | 99 |
|
|
0 commit comments