feat(vm): retain contextual block exit states - #743
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 Suite for 4201990Completed heimdall-eval. View workflow run.
|
Jon-Becker
force-pushed
the
feat/contextual-block-exits
branch
from
September 6, 2026 16:31
58f42e4 to
4201990
Compare
Contributor
✅ Coverage Report for 20bb3d5
|
Jon-Becker
force-pushed
the
feat/contextual-block-exits
branch
from
September 6, 2026 21:40
4201990 to
700fea1
Compare
Jon-Becker
force-pushed
the
feat/contextual-block-exits
branch
from
September 6, 2026 23:40
700fea1 to
5562213
Compare
Jon-Becker
force-pushed
the
feat/contextual-block-exits
branch
from
September 14, 2026 17:43
5562213 to
1d964c3
Compare
Contributor
Benchmark for 20bb3d5Click 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 #742. Retains fixpoint block-exit artifacts for canonical graph-to-IR lowering: post-block abstract state, consumed jump targets, and consumed branch conditions. Exit maps are available on context-free and contextual CFGs, with contextual exits keyed by full
ContextualPoint.Notes to reviewers
Key files are
crates/vm/src/core/analysis.rs,crates/vm/src/core/context.rs, andcrates/decompile/src/core/canonical.rs. Stale exits are removed if a later joined entry exposes definite stack underflow. This does not switch source lowering yet.How has it been tested?
193 VM unit tests, canonical decompiler sidecar tests, workspace check, formatting, and tests for retained jump targets, branch conditions, post-jump stack state, and sidecar entry/exit coverage.