Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
This allow do in code like this:
var1 = param1;
var2 = var1;
if (var2)
{
// do some work with param1 or var1 or var2
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and report if variable must be checked for null
|
|
|
|
|
|
|
|
|
|
Also detect component variable name with field type VAR_DECL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It works like NOP node.
|
|
|
|
Add reverse linked vars map.
|
|
This allow fix some false positives.
|
|
|
|
|
|
|
|
This allow detect null pointers like this: ptr->function();
|
|
Ignored example: arr.push_back(ptr);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|