clang 23.0.0git
UseAfterLifetimeEnd.cpp File Reference

Go to the source code of this file.

Functions

static ProgramStateRef bindValues (ProgramStateRef State, SVal RetVal, const MemRegion *Source)
static bool hasDanglingSource (const MemRegion *Source, ProgramStateRef State, CheckerContext &C)

Function Documentation

◆ bindValues()

ProgramStateRef bindValues ( ProgramStateRef State,
SVal RetVal,
const MemRegion * Source )
static

Definition at line 34 of file UseAfterLifetimeEnd.cpp.

References clang::Set.

◆ hasDanglingSource()

bool hasDanglingSource ( const MemRegion * Source,
ProgramStateRef State,
CheckerContext & C )
static

Definition at line 78 of file UseAfterLifetimeEnd.cpp.

References clang::C, and clang::StackFrame::isParentOf().