Skip to content

fix(ssa-interpreter): Ignore index overflow when side effects are disabled#10183

Merged
TomAFrench merged 3 commits intomasterfrom
af/10180-ssa-inter-index-overflow-disabled
Oct 14, 2025
Merged

fix(ssa-interpreter): Ignore index overflow when side effects are disabled#10183
TomAFrench merged 3 commits intomasterfrom
af/10180-ssa-inter-index-overflow-disabled

Conversation

@aakoshh
Copy link
Contributor

@aakoshh aakoshh commented Oct 14, 2025

Description

Problem*

Resolves #10180

Summary*

Fixes the logic introduced in #10110 to not fail interpret_array_get if the index overflows, but we are under a disabled predicate. (interpret_array_set didn't even look up the index when side effects were disabled, so it needed no fix).

Additional Context

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@aakoshh aakoshh requested a review from a team October 14, 2025 13:09
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Test Suite Duration'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: 5a1dc6e Previous: d5d7c2a Ratio
test_report_zkpassport_noir-ecdsa_ 3 s 1 s 3

This comment was automatically generated by workflow using github-action-benchmark.

CC: @TomAFrench

@TomAFrench TomAFrench added this pull request to the merge queue Oct 14, 2025
Merged via the queue into master with commit f8b6e72 Oct 14, 2025
135 checks passed
@TomAFrench TomAFrench deleted the af/10180-ssa-inter-index-overflow-disabled branch October 14, 2025 15:02
github-merge-queue bot pushed a commit to AztecProtocol/aztec-packages that referenced this pull request Oct 15, 2025
Automated pull of nightly from the
[noir](https://github.com/noir-lang/noir) programming language, a
dependency of Aztec.
BEGIN_COMMIT_OVERRIDE
feat(ACIR): exact element_type_sizes_array
(noir-lang/noir#10188)
chore: add unit test for keep_last_store
(noir-lang/noir#10177)
fix(ssa-interpreter): Ignore index overflow when side effects are
disabled (noir-lang/noir#10183)
fix: emit error on oracle functions with function bodies
(noir-lang/noir#10132)
chore: bump bb version (noir-lang/noir#10181)
END_COMMIT_OVERRIDE
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.

SSA interpreter: Array index 4669808561 is out of bounds for array of length 6

3 participants