enum PointerEscapeKind

Description

Describes the different reasons a pointer escapes during analysis.

Declared at: clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:78

Enumerators

NameValueComment
PSK_EscapeOnBind0A pointer escapes due to binding its value to a location that the analyzer cannot track.
PSK_DirectEscapeOnCall1The pointer has been passed to a function call directly.
PSK_IndirectEscapeOnCall2The pointer has been passed to a function indirectly. For example, the pointer is accessible through an argument to a function.
PSK_EscapeOutParameters3Escape for a new symbol that was generated into a region that the analyzer cannot follow during a conservative call.
PSK_EscapeOther4The reason for pointer escape is unknown. For example, a region containing this pointer is invalidated.