core.models
Data structures for memory dump analysis.
- deprecated_kwarg(cls, old_name, new_name)[source]
Let a dataclass constructor accept a deprecated keyword.
Map old_name to new_name when the caller supplies only the old name. If both names are supplied, leave validation to the constructor.
- class CryptoSecret[source]
Bases:
objectStore a cryptographic secret and its protocol identifier.
Equality and hashing use the secret type and value.
- TLSSecret
alias of
CryptoSecret
- class KeyOccurrence[source]
Bases:
objectA found key occurrence in a dump file.
- secret: CryptoSecret
- class DumpFile[source]
Bases:
objectIdentify a dump file, its recorded phase, and its capture format.
- class RunDirectory[source]
Bases:
objectGroup a run’s dump files, secrets, and capture status.
The metadata is optional. A capture can be present, absent, or unreadable.
- path: Path
- secrets: List[CryptoSecret]
- __init__(path, library, protocol_version, run_number, dumps=<factory>, secrets=<factory>, secret_source='none', phase_mappings=<factory>, meta=None, capture_path=None, capture_status='absent')