Module Dataflow
Provides a simple data flow analysis to find expressions that are definitely null or that may be null.
Import path
import semmle.code.cpp.controlflow.Dataflow
Imports
Dereferenced |
Provides predicates for detecting whether an expression dereferences a pointer. |
Nullness |
Provides classes and predicates for working with null values and checks for nullness. |
cpp |
Provides classes and predicates for working with C/C++ code. |
Predicates
callByReference |
Holds if |
definitelyNull |
Holds if a simple data-flow analysis determines that |
deref |
Holds if evaluation of |
maybeNull |
Holds if a simple data-flow analysis determines that |
Classes
DataflowAnnotation |
INTERNAL: Do not use. A string that identifies a data flow analysis along with a set of member predicates that implement this analysis. |
NullnessAnnotation |
INTERNAL: Do not use. Two analyses relating to nullness: |