Home
last modified time | relevance | path

Searched refs:CallEvent (Results 1 – 25 of 34) sorted by relevance

12

/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h49 class CallEvent; variable
52 template<typename T = CallEvent>
113 class CallEvent {
122 void operator=(const CallEvent &) LLVM_DELETED_FUNCTION;
143 CallEvent(const Expr *E, ProgramStateRef state, const LocationContext *lctx) in CallEvent() function
146 CallEvent(const Decl *D, ProgramStateRef state, const LocationContext *lctx) in CallEvent() function
150 CallEvent(const CallEvent &Original) in CallEvent() function
170 virtual ~CallEvent() {} in ~CallEvent()
325 return cloneWithState<CallEvent>(NewState); in cloneWithState()
380 class AnyFunctionCall : public CallEvent {
[all …]
DExprEngine.h45 class CallEvent; variable
283 const CallEvent *Call) override;
493 const CallEvent *Call,
520 ProgramStateRef bindReturnValue(const CallEvent &Call,
527 const CallEvent &Call);
531 const CallEvent &Call);
556 bool shouldInlineCall(const CallEvent &Call, const Decl *D,
559 bool inlineCall(const CallEvent &Call, const Decl *D, NodeBuilder &Bldr,
564 void conservativeEvalCall(const CallEvent &Call, NodeBuilder &Bldr,
570 const CallEvent &Call, const Decl *D, NodeBuilder &Bldr,
[all …]
DSubEngine.h119 const CallEvent *Call) = 0;
136 const CallEvent *Call,
DStore.h33 class CallEvent; variable
188 const CallEvent *Call,
197 const CallEvent &Call,
DProgramState.h39 class CallEvent; variable
241 const CallEvent *Call = nullptr,
248 const CallEvent *Call = nullptr,
253 ProgramStateRef enterStackFrame(const CallEvent &Call,
429 const CallEvent *Call) const;
/external/clang/lib/StaticAnalyzer/Checkers/
DSimpleStreamChecker.cpp63 const CallEvent &Call,
70 bool guaranteedNotToCloseFile(const CallEvent &Call) const;
76 void checkPostCall(const CallEvent &Call, CheckerContext &C) const;
78 void checkPreCall(const CallEvent &Call, CheckerContext &C) const;
85 const CallEvent *Call,
121 void SimpleStreamChecker::checkPostCall(const CallEvent &Call, in checkPostCall()
142 void SimpleStreamChecker::checkPreCall(const CallEvent &Call, in checkPreCall()
209 const CallEvent &Call, in reportDoubleClose()
239 bool SimpleStreamChecker::guaranteedNotToCloseFile(const CallEvent &Call) const{ in guaranteedNotToCloseFile()
259 const CallEvent *Call, in checkPointerEscape()
DCheckerDocumentation.cpp108 void checkPreCall(const CallEvent &Call, CheckerContext &C) const {} in checkPreCall()
114 void checkPostCall(const CallEvent &Call, CheckerContext &C) const {} in checkPostCall()
254 const CallEvent *Call) const { in checkRegionChanges()
273 const CallEvent *Call, in checkPointerEscape()
284 const CallEvent *Call, in checkConstPointerEscape()
DTraversalChecker.cpp67 void checkPreCall(const CallEvent &Call, CheckerContext &C) const;
68 void checkPostCall(const CallEvent &Call, CheckerContext &C) const;
72 void CallDumper::checkPreCall(const CallEvent &Call, CheckerContext &C) const { in checkPreCall()
85 void CallDumper::checkPostCall(const CallEvent &Call, CheckerContext &C) const { in checkPostCall()
DDynamicTypePropagation.cpp39 void checkPreCall(const CallEvent &Call, CheckerContext &C) const;
40 void checkPostCall(const CallEvent &Call, CheckerContext &C) const;
60 void DynamicTypePropagation::checkPreCall(const CallEvent &Call, in checkPreCall()
104 void DynamicTypePropagation::checkPostCall(const CallEvent &Call, in checkPostCall()
DNonNullParamChecker.cpp37 void checkPreCall(const CallEvent &Call, CheckerContext &C) const;
46 void NonNullParamChecker::checkPreCall(const CallEvent &Call, in checkPreCall()
56 CallEvent::param_type_iterator TyI = Call.param_type_begin(), in checkPreCall()
DNoReturnFunctionChecker.cpp35 void checkPostCall(const CallEvent &CE, CheckerContext &C) const;
41 void NoReturnFunctionChecker::checkPostCall(const CallEvent &CE, in checkPostCall()
DObjCSelfInitChecker.cpp79 void checkPreCall(const CallEvent &CE, CheckerContext &C) const;
80 void checkPostCall(const CallEvent &CE, CheckerContext &C) const;
239 void ObjCSelfInitChecker::checkPreCall(const CallEvent &CE, in checkPreCall()
267 void ObjCSelfInitChecker::checkPostCall(const CallEvent &CE, in checkPostCall()
DCallAndMessageChecker.cpp63 void checkPreCall(const CallEvent &Call, CheckerContext &C) const;
68 bool CheckUninitFields, const CallEvent &Call,
107 static StringRef describeUninitializedArgumentInCall(const CallEvent &Call, in describeUninitializedArgumentInCall()
186 const CallEvent &Call, in PreVisitProcessArg()
353 void CallAndMessageChecker::checkPreCall(const CallEvent &Call, in checkPreCall()
DReturnUndefChecker.cpp47 QualType RT = CallEvent::getDeclaredResultType(SFC->getDecl()); in checkPreStmt()
DMallocChecker.cpp179 void checkPreCall(const CallEvent &Call, CheckerContext &C) const;
194 const CallEvent *Call,
198 const CallEvent *Call,
307 bool mayFreeAnyEscapedMemoryOrIsModeledExplicitly(const CallEvent *Call,
314 const CallEvent *Call,
1853 void MallocChecker::checkPreCall(const CallEvent &Call, in checkPreCall()
2039 const CallEvent *Call, in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2200 const CallEvent *Call, in checkPointerEscape()
2207 const CallEvent *Call, in checkConstPointerEscape()
2215 const CallEvent *Call, in checkPointerEscapeAux()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp27 QualType CallEvent::getResultType() const { in getResultType()
81 bool CallEvent::hasNonZeroCallbackArg() const { in hasNonZeroCallbackArg()
90 for (CallEvent::param_type_iterator I = param_type_begin(), in hasNonZeroCallbackArg()
103 bool CallEvent::isGlobalCFunction(StringRef FunctionName) const { in isGlobalCFunction()
128 const CallEvent &Call) { in findPtrToConstParams()
130 for (CallEvent::param_type_iterator I = Call.param_type_begin(), in findPtrToConstParams()
138 ProgramStateRef CallEvent::invalidateRegions(unsigned BlockCount, in invalidateRegions()
178 ProgramPoint CallEvent::getProgramPoint(bool IsPreVisit, in getProgramPoint()
195 SVal CallEvent::getArgSVal(unsigned Index) const { in getArgSVal()
202 SourceRange CallEvent::getArgSourceRange(unsigned Index) const { in getArgSourceRange()
[all …]
DExprEngineCallAndReturn.cpp252 CallEvent::getDeclaredResultType(calleeCtx->getDecl()); in processCallExit()
416 bool ExprEngine::inlineCall(const CallEvent &Call, const Decl *D, in REGISTER_TRAIT_WITH_PROGRAMSTATE()
511 const CallEvent &Call) { in evalCall()
535 ProgramStateRef ExprEngine::bindReturnValue(const CallEvent &Call, in bindReturnValue()
574 void ExprEngine::conservativeEvalCall(const CallEvent &Call, NodeBuilder &Bldr, in conservativeEvalCall()
590 static CallInlinePolicy mayInlineCallKind(const CallEvent &Call, in mayInlineCallKind()
746 if (CallEvent::isVariadic(CalleeADC->getDecl())) in mayInlineDecl()
800 bool ExprEngine::shouldInlineCall(const CallEvent &Call, const Decl *D, in shouldInlineCall()
886 static bool isTrivialObjectAssignment(const CallEvent &Call) { in isTrivialObjectAssignment()
901 const CallEvent &CallTemplate) { in defaultEvalCall()
[all …]
DCheckerManager.cpp225 const CallEvent &Call;
232 const CallEvent &call, ExprEngine &eng, in CheckCallContext()
251 const CallEvent &Call, in runCheckersForCallEvent()
475 const CallEvent *Call) { in runCheckersForRegionChanges()
491 const CallEvent *Call, in runCheckersForPointerEscape()
526 const CallEvent &Call, in runCheckersForEvalCall()
DCMakeLists.txt11 CallEvent.cpp
DAndroid.mk20 CallEvent.cpp \
DStore.cpp29 const CallEvent &Call, in enterStackFrame()
33 SmallVector<CallEvent::FrameBindingTy, 16> InitialBindings; in enterStackFrame()
36 for (CallEvent::BindingsTy::iterator I = InitialBindings.begin(), in enterStackFrame()
DProgramState.cpp144 const CallEvent *Call, in invalidateRegions()
161 const CallEvent *Call, in invalidateRegions()
175 const CallEvent *Call) const { in invalidateRegionsImpl()
228 ProgramState::enterStackFrame(const CallEvent &Call, in enterStackFrame()
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h290 const CallEvent &Call, ExprEngine &Eng) { in runCheckersForPreCall()
296 const CallEvent &Call, ExprEngine &Eng,
305 const CallEvent &Call, ExprEngine &Eng,
377 const CallEvent *Call);
397 const CallEvent *Call,
410 const CallEvent &CE, ExprEngine &Eng);
452 typedef CheckerFn<void (const CallEvent &, CheckerContext &)>
482 const CallEvent *Call)>
489 const CallEvent *Call,
DChecker.h155 static void _checkCall(void *checker, const CallEvent &msg, in _checkCall()
170 static void _checkCall(void *checker, const CallEvent &msg, in _checkCall()
299 const CallEvent *Call) { in _checkRegionChanges()
326 const CallEvent *Call, in _checkPointerEscape()
369 const CallEvent *Call, in _checkConstPointerEscape()
/external/clang/docs/analyzer/
DIPA.txt246 The basis of devirtualization is CallEvent's getRuntimeDefinition() method,
254 In the case of dynamic dispatch where our information is not perfect, CallEvent
365 CallEvent
368 A CallEvent represents a specific call to a function, method, or other body of
374 NOTE: For those familiar with Cocoa, CallEvent is roughly equivalent to
377 CallEvent should be used whenever there is logic dealing with function calls

12