svf-lib 1.0.1884 → 1.0.1885
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-linux/Release-build/bin/ae +0 -0
- package/SVF-linux/Release-build/bin/cfl +0 -0
- package/SVF-linux/Release-build/bin/dvf +0 -0
- package/SVF-linux/Release-build/bin/llvm2svf +0 -0
- package/SVF-linux/Release-build/bin/mta +0 -0
- package/SVF-linux/Release-build/bin/saber +0 -0
- package/SVF-linux/Release-build/bin/svf-ex +0 -0
- package/SVF-linux/Release-build/bin/wpa +0 -0
- package/SVF-linux/Release-build/include/SVF-LLVM/LLVMModule.h +11 -1
- package/SVF-linux/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
|
|
@@ -328,7 +328,17 @@ public:
|
|
|
328
328
|
|
|
329
329
|
Module* getMainLLVMModule() const
|
|
330
330
|
{
|
|
331
|
-
|
|
331
|
+
assert(!empty() && "empty LLVM module!!");
|
|
332
|
+
for (size_t i = 0; i < getModuleNum(); ++i)
|
|
333
|
+
{
|
|
334
|
+
Module& module = getModuleRef(i);
|
|
335
|
+
if (module.getName().str() != ExtAPI::getExtAPI()->getExtBcPath())
|
|
336
|
+
{
|
|
337
|
+
return &module;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
assert(false && "no main module found!");
|
|
341
|
+
return nullptr;
|
|
332
342
|
}
|
|
333
343
|
|
|
334
344
|
LLVMContext& getContext() const
|
|
Binary file
|