Fare9 / KUNAI-static-analyzer

Tool aimed to provide a binary analysis of different file formats through the use of an Intermmediate Representation.
https://fare9.github.io/KUNAI-static-analyzer/
MIT License
135 stars 17 forks source link

C++ Improvement: Remove unnecessary checks #17

Closed Fare9 closed 1 year ago

Fare9 commented 2 years ago

In case a variable is a constant value, or previously there's always an assignment to that variable, remove unnecessary checks for null values or nullptr values