enum PointerEscapeKind
Description
Describes the different reasons a pointer escapes during analysis.
Declared at: clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:78
Enumerators
Name | Value | Comment |
---|---|---|
PSK_EscapeOnBind | 0 | A pointer escapes due to binding its value to a location that the analyzer cannot track. |
PSK_DirectEscapeOnCall | 1 | The pointer has been passed to a function call directly. |
PSK_IndirectEscapeOnCall | 2 | The pointer has been passed to a function indirectly. For example, the pointer is accessible through an argument to a function. |
PSK_EscapeOutParameters | 3 | Escape for a new symbol that was generated into a region that the analyzer cannot follow during a conservative call. |
PSK_EscapeOther | 4 | The reason for pointer escape is unknown. For example, a region containing this pointer is invalidated. |