Skip to content

Fix suitableForSymExec precedence inversion#1580

Open
elopez wants to merge 5 commits into
masterfrom
symexec-filter
Open

Fix suitableForSymExec precedence inversion#1580
elopez wants to merge 5 commits into
masterfrom
symexec-filter

Conversation

@elopez

@elopez elopez commented Jun 11, 2026

Copy link
Copy Markdown
Member

not $ null m.inputs && ... parsed as not (null m.inputs && ...), negating the whole conjunction: the dynamic-argument guard never fired (so bytes/string/dynamic-array methods were handed to the symbolic encoder, which throws).
Bind not to the emptiness check alone so the filter means what it says: explore methods that have arguments, none dynamic, not opted out.

`not $ null m.inputs && ...` parsed as `not (null m.inputs && ...)`,
negating the whole conjunction: the dynamic-argument guard never fired
(so bytes/string/dynamic-array methods were handed to the symbolic
encoder, which throws).
Bind `not` to the emptiness check alone so the filter means what it
says: explore methods that have arguments, none dynamic, not opted out.
@gustavo-grieco

Copy link
Copy Markdown
Collaborator

Blocked by argotorg/hevm#1057. Once that's merged, we will change/remove this check to allow dynamic-argument inputs

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