feat(cfg): bound canonical analysis work - #741
Open
Jon-Becker wants to merge 1 commit into
Open
Jon-Becker wants to merge 1 commit into
Jon-Becker wants to merge 1 commit into
Conversation
Contributor
AI Evaluation SuiteCheck the box below to run the heimdall-eval AI evaluation suite.
|
Jon-Becker
force-pushed
the
feat/bounded-canonical-analysis
branch
from
September 6, 2026 16:31
46c686e to
6054c5c
Compare
Contributor
✅ Coverage Report for 6886225
|
Jon-Becker
force-pushed
the
feat/bounded-canonical-analysis
branch
from
September 6, 2026 21:40
6054c5c to
ee5af0f
Compare
Jon-Becker
force-pushed
the
feat/bounded-canonical-analysis
branch
from
September 6, 2026 23:40
ee5af0f to
c108e20
Compare
Jon-Becker
force-pushed
the
feat/bounded-canonical-analysis
branch
from
September 14, 2026 17:43
c108e20 to
9516335
Compare
Contributor
Benchmark for 6886225Click to view benchmark
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed? Why?
Stacked on #740. Adds a deterministic contextual-analysis work budget: 250,000 block-state executions by default, configurable with
heimdall cfg --max-iterations. Completed iterations and queued points omitted at exhaustion are surfaced inContextualCfgandCfgDiagnostics; partial results are warned about rather than silently presented as complete.Notes to reviewers
Key files are
crates/vm/src/core/context.rs,crates/cfg/src/core/mod.rs, andcrates/cfg/src/interfaces/args.rs. Exhaustion returns conservative discovered structure plus explicit uncertainty. The production smoke matrix stayed below the default; Seaport was highest at 102,757 iterations.How has it been tested?
Targeted VM contextual-analysis tests, CFG zero-budget tests, workspace check, formatting, and release-mode production bytecode runs for six mainnet contracts.