Skip to content

Add CSE guarded expression lift fuzzer#478

Draft
prozacchiwawa wants to merge 2 commits into
mainfrom
cursor/cse-fuzzer-8315
Draft

Add CSE guarded expression lift fuzzer#478
prozacchiwawa wants to merge 2 commits into
mainfrom
cursor/cse-fuzzer-8315

Conversation

@prozacchiwawa

@prozacchiwawa prozacchiwawa commented May 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a generated CSE fuzzer that builds typed abstract stack expressions over f, r, c, sha256, arithmetic, if, equality, strlen, and l.
  • Render the same target expression into nested if, let, let*, and assign contexts with repeated occurrences in conditions, branches, and bindings.
  • Compare optimized and unoptimized CL23 execution on both guarded-valid and guard-false inputs to catch CSE lifting expressions above protective if checks.

Testing

  • cargo test test_generated_cse_does_not_lift_past_guarding_if -- --nocapture
Open in Web Open in Cursor 

cursoragent and others added 2 commits May 13, 2026 15:38
Co-authored-by: arty <prozacchiwawa@users.noreply.github.com>
Co-authored-by: arty <prozacchiwawa@users.noreply.github.com>
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