Skip to content

Enhance UnsafeMathDetector: Support for Assign Operations (+=, -=, *=, /=) - #31

Merged
maxkup19 merged 2 commits into
Ackee-Blockchain:mainfrom
SergZen:add-check-assign-arithmetic-operations
Oct 9, 2025
Merged

Enhance UnsafeMathDetector: Support for Assign Operations (+=, -=, *=, /=)#31
maxkup19 merged 2 commits into
Ackee-Blockchain:mainfrom
SergZen:add-check-assign-arithmetic-operations

Conversation

@SergZen

@SergZen SergZen commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

Description

This PR extends the functionality of UnsafeMathDetector to detect arithmetic assignment operations as potentially unsafe. These include:

+= (AddAssign)
-= (SubAssign)
*= (MulAssign)
/= (DivAssign)

@maxkup19
maxkup19 merged commit ae4bf2a into Ackee-Blockchain:main Oct 9, 2025
1 of 2 checks passed
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