You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm researching static analysis tools for C++ and I'm particularly interested in their support for detecting issues related to smart pointers (e.g., std::unique_ptr, std::shared_ptr).
Can Clang Static Analyzer detect bugs such as:
Null dereference of smart pointers
Use-after-move
Double deletion or invalid access via smart pointers
If CSA supports these, are there specific checkers, compiler flags, or patterns I should follow to improve detection? Any example reports or references to documentation would be much appreciated.