svf-lib 1.0.2035 → 1.0.2037
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SVF-osx/Release-build/bin/ae +0 -0
- package/SVF-osx/Release-build/bin/cfl +0 -0
- package/SVF-osx/Release-build/bin/dvf +0 -0
- package/SVF-osx/Release-build/bin/llvm2svf +0 -0
- package/SVF-osx/Release-build/bin/mta +0 -0
- package/SVF-osx/Release-build/bin/saber +0 -0
- package/SVF-osx/Release-build/bin/svf-ex +0 -0
- package/SVF-osx/Release-build/bin/wpa +0 -0
- package/SVF-osx/Release-build/include/SVF-LLVM/LLVMModule.h +10 -0
- package/SVF-osx/Release-build/lib/libSvfCore.a +0 -0
- package/SVF-osx/Release-build/lib/libSvfLLVM.a +0 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -174,6 +174,11 @@ public:
|
|
|
174
174
|
}
|
|
175
175
|
inline void addGlobalValueMap(const GlobalValue* glob, SVFGlobalValue* svfglob)
|
|
176
176
|
{
|
|
177
|
+
if (auto glob_var = llvm::dyn_cast<llvm::GlobalVariable>(glob);
|
|
178
|
+
hasGlobalRep(glob_var))
|
|
179
|
+
{
|
|
180
|
+
glob = getGlobalRep(glob_var);
|
|
181
|
+
}
|
|
177
182
|
LLVMConst2SVFConst[glob] = svfglob;
|
|
178
183
|
setValueAttr(glob,svfglob);
|
|
179
184
|
}
|
|
@@ -232,6 +237,11 @@ public:
|
|
|
232
237
|
|
|
233
238
|
inline SVFGlobalValue* getSVFGlobalValue(const GlobalValue* g) const
|
|
234
239
|
{
|
|
240
|
+
if (auto glob_var = llvm::dyn_cast<llvm::GlobalVariable>(g);
|
|
241
|
+
hasGlobalRep(glob_var))
|
|
242
|
+
{
|
|
243
|
+
g = getGlobalRep(glob_var);
|
|
244
|
+
}
|
|
235
245
|
LLVMConst2SVFConstMap::const_iterator it = LLVMConst2SVFConst.find(g);
|
|
236
246
|
assert(it!=LLVMConst2SVFConst.end() && "SVF Global not found!");
|
|
237
247
|
assert(SVFUtil::isa<SVFGlobalValue>(it->second) && "not a SVFGlobal type!");
|
|
Binary file
|
|
Binary file
|