Skip to content

feat: dynamic field analysis on pures#554

Merged
andrii-a8c merged 2 commits intomainfrom
dynamic-field-extend
Mar 10, 2026
Merged

feat: dynamic field analysis on pures#554
andrii-a8c merged 2 commits intomainfrom
dynamic-field-extend

Conversation

@andrii-a8c
Copy link
Copy Markdown
Collaborator

@andrii-a8c andrii-a8c commented Mar 10, 2026

Resolves cetus acl issue


Note

Medium Risk
Touches analysis aggregation logic that affects prover assumptions globally; incorrect inclusion/exclusion could change verification results across packages.

Overview
Extends DynamicFieldAnalysisProcessor::finalize to aggregate DynamicFieldInfo not just from spec functions but also from functions marked pure (and abort-check helpers), ensuring dynamic-field usage inside pure helpers is reflected in the global environment.

Adds a new sui-prover integration fixture and snapshot (pure_dynamic_field.ok.move) to validate successful verification when a spec’s postcondition calls a #[ext(pure)] function that performs dynamic_field::exists_with_type.

Written by Cursor Bugbot for commit 10f33d5. This will update automatically on new commits. Configure here.

@andrii-a8c andrii-a8c self-assigned this Mar 10, 2026
Copy link
Copy Markdown
Contributor

@andreistefanescu andreistefanescu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add a test

@andrii-a8c andrii-a8c enabled auto-merge (squash) March 10, 2026 17:10
@andrii-a8c andrii-a8c merged commit 8976231 into main Mar 10, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants