core/
Dependency-light data layer (stdlib plus numpy, which entropy and variance use for vectorized math). Every other subsystem imports core.*.
Key modules:
models— dataclasses:CryptoSecret,KeyOccurrence,DumpFile,RunDirectory,ComparisonRegion.discovery—RunDiscoverywalks a dataset and materializes run-directory records;DatasetScannersummarizes a dataset root.dataset_metadata— parses a run’smeta.jsonintoDatasetMeta(load_run_metareturnsNonefor legacy runs without one).dump_io—DumpReaderwith mmap-backed page iteration.dump_source—open_dumpfactory withViewMode(raw,vas,va), theDumpSourceprotocol and the priority-orderedregister_dump_sourceregistry; concrete gcore / gdb_raw / lldb_raw sources live indump_sources/.needle—parse_needleturns typed search input (hex, UTF-8 text, UTF-16LE, base64, or a u32/u64 integer such as a pointer) into the bytes to search for.entropy— Shannon entropy, sliding-window profile, incremental O(1) updates.variance— chunked two-pass + online Welford estimator;classify_variancewith the 4-class threshold ladder (INVARIANT,STRUCTURAL,POINTER,KEY_CANDIDATE).region_align— ASLR-invariant region alignment,AlignedSlice,align_dumps.phase_normalizer— canonicalizes per-library phase naming differences.kdf_base+kdf+kdf_registry+kdf_tls+kdf_ssh— auto-discovered KDF plugin system (BaseKDFsubclasses incore/kdf_*.py; TLS 1.2 PRF, TLS 1.3 HKDF, SSH2 KDF; add your own).plugin_discovery— shared subclass-scanning and entry-point loading used by the algorithm, KDF, format, dump-source, pipeline-stage and oracle registries.keylog+keylog_templates— CSV/NSS keylog parsing with per-library templates.binary_formats/— Kaitai Struct adapters for ELF, Mach-O, PE, and a compiled-parser cache; theFormatDescriptorregistry (format_descriptor.py); mmap-only ELF-core and Windows minidump readers.artifact_util—register_artifact/sha256_streamedshared by the TaskManager worker runners.process_guard— parent-death watchdog (install_parent_death_watchdog,start_guarded_sync_manager) so spawned worker/Manager processes do not outlive a killed server.