Skip to main content

Crate sealmap_frontend

Crate sealmap_frontend 

Source
Expand description

Deprecated: renamed to sealmap_extract in sealmap 0.2.0.

This crate only re-exports sealmap-extract so existing builds keep working. Depend on sealmap-extract directly and change sealmap_frontend:: paths to sealmap_extract::.

Modules§

confidence
The confidence lattice, the external-call policy and call-edge aggregation.
fingerprint
Per-symbol fingerprints: sig_hash (the contract) and body_hash (the implementation).
ids
The symbol-id builder.
isolate
Per-file collection on big stacks with a panic guard.
labels
Label rules: how source text becomes the short strings on diagram arrows and fragments.
lower
Flow normalisation: lower a raw flow to a model Flow once calls can be resolved.
raw
The raw flow IR: what a language adapter records while walking a function body, before any name is resolved.

Structs§

Diagnostic
A non-fatal problem found while extracting (currently: files that failed to parse; they still get a module symbol so every file is represented).
Extraction
Result of a language adapter’s extraction.
RawCall
An unresolved call.

Enums§

Callee
The callee of a RawCall.
ExternalCalls
Which calls to external code are kept in flows.
RawStep
One step of an unresolved flow.
Recv
What a method is called on, as far as the walker can tell without types.

Functions§

aggregate_calls
Add one RelationKind::Calls relation per distinct (caller, target) pair found in the flows of cb, with the strongest confidence among the calls behind it.

Type Aliases§

Segs
Path segments as written, generics stripped: std::collections::HashMap is ["std", "collections", "HashMap"].