svf-lib 1.0.2715 → 1.0.2716
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-aarch64/bin/ae +0 -0
- package/SVF-linux-aarch64/bin/cfl +0 -0
- package/SVF-linux-aarch64/bin/dvf +0 -0
- package/SVF-linux-aarch64/bin/llvm2svf +0 -0
- package/SVF-linux-aarch64/bin/mta +0 -0
- package/SVF-linux-aarch64/bin/saber +0 -0
- package/SVF-linux-aarch64/bin/svf-ex +0 -0
- package/SVF-linux-aarch64/bin/wpa +0 -0
- package/SVF-linux-aarch64/include/MemoryModel/PointerAnalysis.h +0 -3
- package/SVF-linux-aarch64/include/SVFIR/SVFVariables.h +1 -1
- package/SVF-linux-aarch64/include/Util/SVFUtil.h +15 -0
- package/SVF-linux-aarch64/include/Util/config.h +1 -1
- package/SVF-linux-aarch64/include/WPA/TypeAnalysis.h +1 -1
- package/SVF-linux-aarch64/lib/cmake/SVF/SVFTargets.cmake +1 -1
- package/SVF-linux-aarch64/lib/libSvfCore.so.3.4 +0 -0
- package/SVF-linux-aarch64/lib/libSvfLLVM.so.3.4 +0 -0
- package/package.json +1 -1
package/SVF-linux-aarch64/bin/ae
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -39,6 +39,12 @@
|
|
|
39
39
|
#include "Util/NodeIDAllocator.h"
|
|
40
40
|
#include "Util/ThreadAPI.h"
|
|
41
41
|
|
|
42
|
+
#ifdef _MSC_VER
|
|
43
|
+
# define SVF_WEAK inline
|
|
44
|
+
#else
|
|
45
|
+
# define SVF_WEAK __attribute__((weak))
|
|
46
|
+
#endif
|
|
47
|
+
|
|
42
48
|
namespace SVF
|
|
43
49
|
{
|
|
44
50
|
|
|
@@ -101,6 +107,15 @@ bool getMemoryUsageKB(u32_t* vmrss_kb, u32_t* vmsize_kb);
|
|
|
101
107
|
/// Increase the stack size limit
|
|
102
108
|
void increaseStackSize();
|
|
103
109
|
|
|
110
|
+
/// Check whether a file exists at the given path
|
|
111
|
+
bool fileExists(const std::string& path);
|
|
112
|
+
|
|
113
|
+
/// Execute a shell command and capture its stdout output
|
|
114
|
+
std::string getStdoutFromCommand(const std::string& command);
|
|
115
|
+
|
|
116
|
+
/// Return the absolute path of the current module/executable
|
|
117
|
+
std::string getCurrentSOPath();
|
|
118
|
+
|
|
104
119
|
/*!
|
|
105
120
|
* Compare two PointsTo according to their size and points-to elements.
|
|
106
121
|
* 1. PointsTo with smaller size is smaller than the other;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
// use-cases; should not be used directly by end users!
|
|
37
37
|
#define SVF_BUILD_EXTAPI_BC "/home/runner/work/SVF/SVF/Release-build/lib/extapi.bc"
|
|
38
38
|
#define SVF_SOURCE_DIR "/home/runner/work/SVF/SVF"
|
|
39
|
-
#define SVF_BUILD_DIR ""
|
|
39
|
+
#define SVF_BUILD_DIR "/home/runner/work/SVF/SVF/Release-build"
|
|
40
40
|
|
|
41
41
|
// Define fallback for installed extapi.bc location to build tree's extapi.bc
|
|
42
42
|
#ifndef SVF_INSTALL_EXTAPI_BC
|
|
@@ -94,7 +94,7 @@ endif()
|
|
|
94
94
|
add_library(SVF::SvfLLVM SHARED IMPORTED)
|
|
95
95
|
|
|
96
96
|
set_target_properties(SVF::SvfLLVM PROPERTIES
|
|
97
|
-
INTERFACE_LINK_LIBRARIES "SVF::SvfFlags;SVF::SvfCore;
|
|
97
|
+
INTERFACE_LINK_LIBRARIES "SVF::SvfFlags;SVF::SvfCore;LLVMAnalysis;LLVMBitWriter;LLVMCore;LLVMInstCombine;LLVMInstrumentation;LLVMipo;LLVMIRReader;LLVMLinker;LLVMScalarOpts;LLVMSupport;LLVMTarget;LLVMTransformUtils;LLVMDemangle;LLVMPasses"
|
|
98
98
|
)
|
|
99
99
|
|
|
100
100
|
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
|
Binary file
|
|
Binary file
|