Principle:0sec labs 0 Dedup Emission
| Knowledge Sources | |
|---|---|
| Domains | Binary_Analysis, Variant_Analysis, Reporting |
| Last Updated | 2026-10-30 00:00 GMT |
Overview
Technique for deduplicating confirmed variants by crash/sink signature with fuzzy frame merge, emitting labeled-PoV dataset records, and reporting fleet economics (1 seed → N candidates → M confirmed).
Description
Deduplication and emission is the final stage of fleet variant analysis. Confirmed variants are deduplicated by crash/sink signature so the same vulnerability found in multiple functions is reported once, with fuzzy frame merge handling minor variations. Labeled-PoV NDJSON records are optionally appended to a dataset path for training and evaluation. The sweep convenience function provides a one-call entry point: build the seed, ingest the fleet, and run the full detect→confirm→dedup→emit pipeline. The FleetReport carries the economics — members, candidates, confirmations, and records written — so an operator can assess the sweep's cost-effectiveness.
Usage
Use this principle when a variant analysis sweep needs to produce clean, deduplicated results and optionally contribute to a labeled dataset. The economics report enables cost-benefit analysis of the sweep.
Theoretical Basis
The dedup+emit pipeline:
# Abstract algorithm (NOT real implementation)
for member in members:
candidates = detect_variants(seed, member)
confirmations = [confirm_variant(seed, member, c) for c in candidates]
confirmations = dedup_by_crash_signature(confirmations)
member_results.append(MemberResult(member, candidates, confirmations))
# dedup: same crash signature across members = one finding
# fuzzy merge: minor stack frame variations don't block dedup
report = FleetReport(seed, member_results)
if dataset_path:
report.records_written = emit_labeled_povs(report, dataset_path)
# Economics: 1 seed → N candidates → M confirmed
# n_members, n_candidates, n_confirmed, n_hypotheses
The dataset emission produces labeled-PoV NDJSON records: one line per confirmed variant with the bug class, function, sink, PoV input, and crash class. These records are gitignored and stored only where the operator points the dataset path.