llvm-project/clang/lib/StaticAnalyzer/Core
George Karpenkov 9ff67a9dda [analyzer] Resolve the crash in ReturnUndefChecker
By making sure the returned value from getKnownSVal is consistent with
the value used inside expression engine.

PR38427

Differential Revision: https://reviews.llvm.org/D51252

llvm-svn: 340965
2018-08-29 20:29:59 +00:00
..
APSIntType.cpp
AnalysisManager.cpp [analyzer] Add ASTContext to CheckerManager 2018-08-06 23:09:07 +00:00
AnalyzerOptions.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
BasicValueFactory.cpp [StaticAnalyzer] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-02 23:11:49 +00:00
BlockCounter.cpp
BugReporter.cpp Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
BugReporterVisitors.cpp [analyzer] Moved all CSA code from the SMT API to a new header, `SMTConv.h`. NFC. 2018-08-23 13:21:31 +00:00
CMakeLists.txt [analyzer] Templatefy SMTConstraintManager so more generic code can be moved from solver specific implementations. NFC. 2018-08-23 13:21:00 +00:00
CallEvent.cpp [analyzer] Improve `CallDescription` to handle c++ method. 2018-08-22 13:30:46 +00:00
Checker.cpp
CheckerContext.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
CheckerHelpers.cpp Model type attributes as regular Attrs. 2018-08-20 21:47:29 +00:00
CheckerManager.cpp [analyzer] Make checkEndFunction() give access to the return statement. 2018-07-16 20:47:45 +00:00
CheckerRegistry.cpp [StaticAnalyzer] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-04-03 21:31:50 +00:00
CommonBugCategories.cpp [analyzer] Fix memory error bug category capitalization. 2017-05-03 11:47:13 +00:00
ConstraintManager.cpp [StaticAnalyzer] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-02-28 01:10:04 +00:00
CoreEngine.cpp [analyzer] Obtain a ReturnStmt from a CFGAutomaticObjDtor. 2018-08-02 22:31:03 +00:00
DynamicTypeMap.cpp [StaticAnalyzer] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-02-28 01:10:04 +00:00
Environment.cpp [analyzer] [NFC] A convenient getter for getting a current stack frame 2018-06-27 01:51:55 +00:00
ExplodedGraph.cpp [StaticAnalyzer] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-02-26 23:15:52 +00:00
ExprEngine.cpp [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default 2018-08-29 20:29:17 +00:00
ExprEngineC.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
ExprEngineCXX.cpp [analyzer] Add support for constructors of arguments. 2018-08-15 00:33:55 +00:00
ExprEngineCallAndReturn.cpp Silence "unused variable" warning. 2018-08-15 01:06:30 +00:00
ExprEngineObjC.cpp [analyzer] Add support for constructors of arguments. 2018-08-15 00:33:55 +00:00
FunctionSummary.cpp [StaticAnalyzer] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-02-28 01:10:04 +00:00
HTMLDiagnostics.cpp [analyzer] Fix keyboard navigation for .msgNote events 2018-08-11 01:47:41 +00:00
IssueHash.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
LoopUnrolling.cpp [analyzer] Unroll the loop when it has a unsigned counter. 2018-03-31 12:46:46 +00:00
LoopWidening.cpp [analyzer] Avoid querying this-pointers for static-methods. 2018-08-07 23:13:28 +00:00
MemRegion.cpp [analyzer] [NFC] A convenient getter for getting a current stack frame 2018-06-27 01:51:55 +00:00
PathDiagnostic.cpp Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
PlistDiagnostics.cpp Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
PrettyStackTraceLocationContext.h [CSA] [NFC] Move AnalysisContext.h to AnalysisDeclContext.h 2017-09-06 21:45:03 +00:00
ProgramState.cpp [analyzer] [NFC] Simplify some visitors by giving a convenient getter from state to analysis manager 2018-07-30 22:18:47 +00:00
RangeConstraintManager.cpp [analyzer] pr38273: Legalize Loc<>NonLoc comparison symbols. 2018-07-23 23:09:44 +00:00
RangedConstraintManager.cpp [analyzer] Fix constraint being dropped when analyzing a program without taint tracking enabled 2018-07-16 13:14:46 +00:00
RegionStore.cpp [analyzer] [NFC] Follow the convention when naming classes 2018-08-29 20:28:13 +00:00
RetainSummaryManager.cpp [analyzer] Better retain count rules for OSObjects 2018-08-29 20:28:33 +00:00
SValBuilder.cpp [analyzer] [NFC] Remove unused "state" argument from makeSymExprValNN 2018-08-29 20:28:54 +00:00
SVals.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
SimpleConstraintManager.cpp [analyzer] Refactor and simplify SimpleConstraintManager 2017-02-25 04:51:31 +00:00
SimpleSValBuilder.cpp [analyzer] Resolve the crash in ReturnUndefChecker 2018-08-29 20:29:59 +00:00
Store.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
SubEngine.cpp
SymbolManager.cpp [analyzer] Memoize complexity of SymExpr 2018-07-19 17:03:12 +00:00
WorkList.cpp [analyzer] [NFC] A convenient getter for getting a current stack frame 2018-06-27 01:51:55 +00:00
Z3ConstraintManager.cpp [analyzer] Moved all CSA code from the SMT API to a new header, `SMTConv.h`. NFC. 2018-08-23 13:21:31 +00:00