Skip to content

Conversation

@otchlan
Copy link

@otchlan otchlan commented Dec 23, 2025

Fixes #1912

Handle edge case where offset is '0x' without digits when analyzing contracts with non-256-bit integers compiled with --via-ir --optimize. Add validation before hex-to-int conversion to prevent crash.

Fixes ConsenSysDiligence#1912

Handle edge case where offset is '0x' without digits when analyzing
contracts with non-256-bit integers compiled with --via-ir --optimize.
Add validation before hex-to-int conversion to prevent crash.
@CLAassistant
Copy link

CLAassistant commented Dec 23, 2025

CLA assistant check
All committers have signed the CLA.

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.

myth analyze: Unhandled ValueError: invalid literal for int() with base 16: '0x'

2 participants