clang 24.0.0git
BoundsChecking.cpp File Reference

Go to the source code of this file.

Functions

static std::pair< NonLoc, nonloc::ConcreteIntgetSimplifiedOffsets (NonLoc offset, nonloc::ConcreteInt extent, SValBuilder &svalBuilder)
static bool isNegative (SValBuilder &SVB, ProgramStateRef State, NonLoc Value)
static bool isUnsigned (SValBuilder &SVB, NonLoc Value)
static std::pair< ProgramStateRef, ProgramStateRefcompareValueToThreshold (ProgramStateRef State, NonLoc Value, NonLoc Threshold, SValBuilder &SVB, bool CheckEquality=false)

Function Documentation

◆ compareValueToThreshold()

◆ getSimplifiedOffsets()

◆ isNegative()

bool isNegative ( SValBuilder & SVB,
ProgramStateRef State,
NonLoc Value )
static

Definition at line 69 of file BoundsChecking.cpp.

References clang::ento::SValBuilder::getMaxValue().

Referenced by compareValueToThreshold().

◆ isUnsigned()