clang 24.0.0git
BoundsChecking.h File Reference

Go to the source code of this file.

Classes

struct  clang::ento::bounds::CheckFlags
class  clang::ento::bounds::CheckResult

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::ento
namespace  clang::ento::bounds

Functions

CheckResult clang::ento::bounds::checkBounds (ProgramStateRef State, SValBuilder &SVB, NonLoc Offset, std::optional< NonLoc > Extent, CheckFlags Flags)
 Checks the validity of accessing a memory region with extent Extent at offset Offset.
std::pair< ProgramStateRef, ProgramStateRefclang::ento::bounds::compareValueToThreshold (ProgramStateRef State, SValBuilder &SVB, NonLoc Value, NonLoc Threshold, bool CheckEquality=false)