Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SE: Add support for shift operators for Binary operations and compound assignment #7284

Open
1 task
antonioaversa opened this issue May 26, 2023 · 0 comments
Open
1 task
Labels
Area: C# C# rules related issues. Area: CFG/SE CFG and SE related issues. Area: VB.NET VB.NET rules related issues. Type: SE Improve SE engine

Comments

@antonioaversa
Copy link
Contributor

Continuation of #7267

  • Support <<, >>, >>>.

See CBDE implementation below for reference.

CBDE implementation of operations: RangeConstraint.cpp
CBDE UTs: RangeConstraintTest.cpp

@antonioaversa antonioaversa added Type: Improvement Area: CFG/SE CFG and SE related issues. Area: VB.NET VB.NET rules related issues. Area: C# C# rules related issues. labels May 26, 2023
@antonioaversa antonioaversa changed the title SE: Add BinaryOperation for literals: division, remainder and xor SE: Add BinaryOperation for literals: shifts May 26, 2023
@mary-georgiou-sonarsource mary-georgiou-sonarsource changed the title SE: Add BinaryOperation for literals: shifts SE: Add support for shift operators for Binary operations and compound assignment Aug 31, 2023
@pavel-mikula-sonarsource pavel-mikula-sonarsource added Type: SE Improve SE engine and removed Type: Improvement labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: C# C# rules related issues. Area: CFG/SE CFG and SE related issues. Area: VB.NET VB.NET rules related issues. Type: SE Improve SE engine
Projects
None yet
Development

No branches or pull requests

3 participants