Go to the source code of this file.
static bool printMemFnName (raw_ostream &os, CheckerContext &C, const Expr *E) Print names of allocators and deallocators.const;
Represents an abstract call to a function or method along a particular path.
Definition at line 418 of file MallocChecker.cpp.
◆ REGISTER_CHECKER #define REGISTER_CHECKER ( name ) Value:MallocChecker *checker = mgr.
getChecker<MallocChecker>(); \
checker->ChecksEnabled[MallocChecker::CK_##name] = true; \
checker->CheckNames[MallocChecker::CK_##name] = \
} \
\
boolento::shouldRegister##name(
const CheckerManager&mgr) {
return true; }
CheckerNameRef getCurrentCheckerName() const
Definition at line 3931 of file MallocChecker.cpp.
◆ checkIfNewOrNewArrayFamily() ◆ didPreviousFreeFail() ◆ findFailedReallocSymbol() ◆ getDeepPointeeType() ◆ getFreeWhenDoneArg() ◆ hasNonTrivialConstructorCall() ◆ isFromStdNamespace() ◆ isGRealloc() ◆ isKnownDeallocObjCMethodName() ◆ isReferenceCountingPointerDestructor() ◆ isReleased() ◆ isStandardDelete() [1/2] ◆ isStandardDelete() [2/2] ◆ isStandardNew() [1/2] ◆ isStandardNew() [2/2] ◆ isStandardNewDelete()template<typename T >
static bool isStandardNewDelete ( const T & FD ) static ◆ isStandardRealloc() ◆ MallocUpdateRefState()Update the RefState to reflect the new memory allocation.
The optional RetVal
parameter specifies the newly allocated pointer value; if unspecified, the value of expression E
is used.
Definition at line 1941 of file MallocChecker.cpp.
◆ printExpectedAllocName() static void printExpectedAllocName ( raw_ostream & os, AllocationFamily Family ) staticPrint expected name of an allocator based on the deallocator's family derived from the DeallocExpr.
Definition at line 2086 of file MallocChecker.cpp.
◆ printExpectedDeallocName() static void printExpectedDeallocName ( raw_ostream & os, AllocationFamily Family ) staticPrint expected name of a deallocator based on the allocator's family.
Definition at line 2113 of file MallocChecker.cpp.
◆ printMemFnName() ◆ printOwnershipTakesList() static void printOwnershipTakesList ( raw_ostream & os, CheckerContext & C, const Expr * E ) staticRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4