Home
last modified time | relevance | path

Searched refs:DynamicTypeInfo (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicType.cpp27 clang::ento::DynamicTypeInfo)
38 clang::ento::DynamicTypeInfo)
43 DynamicTypeInfo getDynamicTypeInfo(ProgramStateRef State, const MemRegion *MR) { in getDynamicTypeInfo()
47 if (const DynamicTypeInfo *DTI = State->get<DynamicTypeMap>(MR)) in getDynamicTypeInfo()
52 return DynamicTypeInfo(TR->getLocationType(), /*CanBeSub=*/false); in getDynamicTypeInfo()
56 return DynamicTypeInfo(Sym->getType()); in getDynamicTypeInfo()
62 const DynamicTypeInfo *getRawDynamicTypeInfo(ProgramStateRef State, in getRawDynamicTypeInfo()
92 DynamicTypeInfo getClassObjectDynamicTypeInfo(ProgramStateRef State, in getClassObjectDynamicTypeInfo()
94 const DynamicTypeInfo *DTI = State->get<DynamicClassObjectMap>(Sym); in getClassObjectDynamicTypeInfo()
95 return DTI ? *DTI : DynamicTypeInfo{}; in getClassObjectDynamicTypeInfo()
[all …]
H A DCallEvent.cpp766 DynamicTypeInfo DynType = getDynamicTypeInfo(getState(), R); in getDeclForDynamicType()
1314 DynamicTypeInfo DTI = getDynamicTypeInfo(getState(), Receiver); in getRuntimeDefinition()
1344 DynamicTypeInfo DTI = in getRuntimeDefinition()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_type_hash_win.cpp45 __ubsan::DynamicTypeInfo
54 return DynamicTypeInfo(0, 0, 0); in getDynamicTypeInfoFromVtable()
59 return DynamicTypeInfo(0, 0, 0); in getDynamicTypeInfoFromVtable()
69 return DynamicTypeInfo(0, 0, 0); in getDynamicTypeInfoFromVtable()
72 return DynamicTypeInfo(0, 0, 0); in getDynamicTypeInfoFromVtable()
76 return DynamicTypeInfo(tinfo->name(), obj_locator->offset_to_top, in getDynamicTypeInfoFromVtable()
H A Dubsan_type_hash.h23 class DynamicTypeInfo {
29 DynamicTypeInfo(const char *MDTN, sptr Offset, const char *STN) in DynamicTypeInfo() function
43 DynamicTypeInfo getDynamicTypeInfoFromObject(void *Object);
46 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
H A Dubsan_type_hash_itanium.cpp259 __ubsan::DynamicTypeInfo
263 return DynamicTypeInfo(nullptr, 0, nullptr); in getDynamicTypeInfoFromVtable()
265 return DynamicTypeInfo(nullptr, Vtable->Offset, nullptr); in getDynamicTypeInfoFromVtable()
269 return DynamicTypeInfo(Vtable->TypeInfo->name(), -Vtable->Offset, in getDynamicTypeInfoFromVtable()
H A Dubsan_handlers_cxx.cpp41 DynamicTypeInfo DTI = getDynamicTypeInfoFromObject((void*)Pointer); in HandleDynamicTypeCacheMiss()
107 DynamicTypeInfo DTI = ValidVtable in __ubsan_handle_cfi_bad_type()
109 : DynamicTypeInfo(0, 0, 0); in __ubsan_handle_cfi_bad_type()
H A Dubsan_type_hash.cpp28 __ubsan::DynamicTypeInfo __ubsan::getDynamicTypeInfoFromObject(void *Object) { in getDynamicTypeInfoFromObject()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DDynamicTypeInfo.h19 class DynamicTypeInfo {
21 DynamicTypeInfo() {} in DynamicTypeInfo() function
23 DynamicTypeInfo(QualType Ty, bool CanBeSub = true)
38 bool operator==(const DynamicTypeInfo &RHS) const {
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp88 DynamicTypeInfo TrackedType = getDynamicTypeInfo(State, Reg); in VisitNode()
89 DynamicTypeInfo TrackedTypePrev = getDynamicTypeInfo(StatePrev, Reg); in VisitNode()
157 DynamicTypeInfo DynTypeInfo = getDynamicTypeInfo(State, Region); in checkPostStmt()
H A DDynamicTypePropagation.cpp172 if (DynamicTypeInfo DTI = getDynamicTypeInfo(State, ReceiverRegion)) { in inferReceiverType()
186 if (DynamicTypeInfo DTI = in inferReceiverType()
347 DynamicTypeInfo RecDynType = getDynamicTypeInfo(State, RecReg); in checkPostCall()