Skip to content

fix(checks): avoid false positives for storage writes and admin guards - #941

Open
jiangyuer018 wants to merge 1 commit into
SorobanGuard:mainfrom
jiangyuer018:fix/issue-510-511-followup
Open

jiangyuer018 wants to merge 1 commit into
SorobanGuard:mainfrom
jiangyuer018:fix/issue-510-511-followup

Conversation

@jiangyuer018

Copy link
Copy Markdown

Follow-up to the fixes for #510 and #511.

  • Reuse the shared storage-mutation predicate in missing-nonce, so local Vec::push and push_back are not treated as persistent state writes.
  • Require unprotected-admin conditional exemptions to reference tracked storage/address values and to actually diverge; no-op if statements remain findings.
  • Align the missing-nonce documentation with the implementation.

This restores the divergence guard that was lost when the later #697 work was merged into main.

Validation: git diff --check passes. Local Rust tests reach compilation but cannot link on this Windows host because link.exe is unavailable; remote CI is required for final build validation.

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.

1 participant