core.models
Data structures for memory dump analysis.
- deprecated_kwarg(cls, old_name, new_name)[source]
Patch a dataclass __init__ to accept a deprecated kwarg name.
When callers pass old_name as a keyword argument, it is silently mapped to new_name (unless new_name is also provided).
- TLSSecret
alias of
CryptoSecret
- class KeyOccurrence[source]
Bases:
objectA found key occurrence in a dump file.
- secret: CryptoSecret
- class DumpFile[source]
Bases:
objectMetadata for a single dump file.
kindtags the dump flavour so downstream code (discovery, API responses, UI) can branch without re-sniffing magic bytes. Valid values:"msl","gdb_raw","lldb_raw","gcore","raw".
- class RunDirectory[source]
Bases:
objectA single run directory containing dumps and keylog.
metais populated frommeta.jsonwhen present (seecore.dataset_metadata.load_run_meta()). Legacy runs without ameta.jsonleave itNone— discovery code must tolerate both.- path: Path
- secrets: List[CryptoSecret]
- __init__(path, library, protocol_version, run_number, dumps=<factory>, secrets=<factory>, secret_source='none', phase_mappings=<factory>, meta=None)