svf-tools 1.0.883 → 1.0.884
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/.config.cmake.in +12 -2
- package/CMakeLists.txt +0 -10
- package/package.json +1 -1
- package/svf/CMakeLists.txt +0 -7
- package/svf-llvm/CMakeLists.txt +0 -6
package/.config.cmake.in
CHANGED
|
@@ -3,7 +3,17 @@
|
|
|
3
3
|
set_and_check(SVF_INSTALL_ROOT "@PACKAGE_SVF_INSTALL_ROOT@")
|
|
4
4
|
set_and_check(SVF_INSTALL_BIN_DIR "@PACKAGE_SVF_INSTALL_BIN_DIR@")
|
|
5
5
|
set_and_check(SVF_INSTALL_LIB_DIR "@PACKAGE_SVF_INSTALL_LIB_DIR@")
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
set(SVF_INCLUDE_PATH "@PACKAGE_SVF_INSTALL_ROOT@/../svf/include")
|
|
8
|
+
set(SVF_LLVM_INCLUDE_PATH "@PACKAGE_SVF_INSTALL_ROOT@/../svf-llvm/include")
|
|
9
|
+
|
|
10
|
+
if(EXISTS ${SVF_INCLUDE_PATH} AND EXISTS ${SVF_LLVM_INCLUDE_PATH})
|
|
11
|
+
set(SVF_INSTALL_INCLUDE_DIR "${SVF_INCLUDE_PATH};${SVF_LLVM_INCLUDE_PATH};@PACKAGE_SVF_INSTALL_INCLUDE_DIR@")
|
|
12
|
+
else()
|
|
13
|
+
set_and_check(SVF_INSTALL_INCLUDE_DIR "@PACKAGE_SVF_INSTALL_INCLUDE_DIR@")
|
|
14
|
+
endif()
|
|
15
|
+
|
|
16
|
+
message(STATUS "SVF_INSTALL_INCLUDE_DIR is set to: ${SVF_INSTALL_INCLUDE_DIR}")
|
|
7
17
|
|
|
8
18
|
set_and_check(SVF_INSTALL_EXTAPI_DIR "@PACKAGE_SVF_INSTALL_EXTAPI_DIR@")
|
|
9
19
|
set_and_check(SVF_INSTALL_EXTAPI_FILE "@PACKAGE_SVF_INSTALL_EXTAPI_FILE@")
|
|
@@ -21,4 +31,4 @@ set(SVF_CXX_STANDARD "@CMAKE_CXX_STANDARD@")
|
|
|
21
31
|
set(SVF_ENABLE_RTTI "@SVF_ENABLE_RTTI@")
|
|
22
32
|
set(SVF_ENABLE_EXCEPTIONS "@SVF_ENABLE_EXCEPTIONS@")
|
|
23
33
|
|
|
24
|
-
|
|
34
|
+
|
package/CMakeLists.txt
CHANGED
|
@@ -175,13 +175,3 @@ install(
|
|
|
175
175
|
${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/SVF/SVFConfigVersion.cmake
|
|
176
176
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/SVF
|
|
177
177
|
)
|
|
178
|
-
|
|
179
|
-
# Install CMake targets from different SVF subprojects so they can be found by find_package(SVF)
|
|
180
|
-
install(
|
|
181
|
-
EXPORT SVFTargets
|
|
182
|
-
FILE SVFTargets.cmake
|
|
183
|
-
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/SVF
|
|
184
|
-
)
|
|
185
|
-
|
|
186
|
-
# Export targets added to SVFTargets (set by install() command)
|
|
187
|
-
export(EXPORT SVFTargets FILE "${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/SVF/SVFTargets.cmake")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svf-tools",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.884",
|
|
4
4
|
"description": "* <b>[TypeClone](https://github.com/SVF-tools/SVF/wiki/TypeClone) published in our [ECOOP paper](https://yuleisui.github.io/publications/ecoop20.pdf) is now available in SVF </b> * <b>SVF now uses a single script for its build. Just type [`source ./build.sh`](https://github.com/SVF-tools/SVF/blob/master/build.sh) in your terminal, that's it!</b> * <b>SVF now supports LLVM-10.0.0! </b> * <b>We thank [bsauce](https://github.com/bsauce) for writing a user manual of SVF ([link1](https://www.jianshu.com/p/068a08ec749c) and [link2](https://www.jianshu.com/p/777c30d4240e)) in Chinese </b> * <b>SVF now supports LLVM-9.0.0 (Thank [Byoungyoung Lee](https://github.com/SVF-tools/SVF/issues/142) for his help!). </b> * <b>SVF now supports a set of [field-sensitive pointer analyses](https://yuleisui.github.io/publications/sas2019a.pdf). </b> * <b>[Use SVF as an external lib](https://github.com/SVF-tools/SVF/wiki/Using-SVF-as-a-lib-in-your-own-tool) for your own project (Contributed by [Hongxu Chen](https://github.com/HongxuChen)). </b> * <b>SVF now supports LLVM-7.0.0. </b> * <b>SVF now supports Docker. [Try SVF in Docker](https://github.com/SVF-tools/SVF/wiki/Try-SVF-in-Docker)! </b> * <b>SVF now supports [LLVM-6.0.0](https://github.com/svf-tools/SVF/pull/38) (Contributed by [Jack Anthony](https://github.com/jackanth)). </b> * <b>SVF now supports [LLVM-4.0.0](https://github.com/svf-tools/SVF/pull/23) (Contributed by Jared Carlson. Thank [Jared](https://github.com/jcarlson23) and [Will](https://github.com/dtzWill) for their in-depth [discussions](https://github.com/svf-tools/SVF/pull/18) about updating SVF!) </b> * <b>SVF now supports analysis for C++ programs.</b> <br />",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
package/svf/CMakeLists.txt
CHANGED
|
@@ -21,11 +21,6 @@ target_sources(SvfCore PRIVATE ${SVF_CORE_SOURCES})
|
|
|
21
21
|
# Get all of the public header files (i.e. all *.h/*.hpp files) for SVF's subprojects and add them
|
|
22
22
|
file(GLOB_RECURSE SVF_CORE_HEADERS include/*.h include/*.hpp)
|
|
23
23
|
|
|
24
|
-
add_custom_target(CopySVFIncludeFiles ALL
|
|
25
|
-
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
|
26
|
-
${CMAKE_CURRENT_SOURCE_DIR}/include/
|
|
27
|
-
${CMAKE_BINARY_DIR}/include)
|
|
28
|
-
|
|
29
24
|
target_sources(SvfCore
|
|
30
25
|
PUBLIC
|
|
31
26
|
FILE_SET HEADERS
|
|
@@ -33,8 +28,6 @@ target_sources(SvfCore
|
|
|
33
28
|
FILES ${SVF_CORE_HEADERS}
|
|
34
29
|
)
|
|
35
30
|
|
|
36
|
-
add_dependencies(SvfCore CopySVFIncludeFiles)
|
|
37
|
-
|
|
38
31
|
# Install the headers and compiled libraries (associate SvfCore with the SVF package's targets)
|
|
39
32
|
install(
|
|
40
33
|
TARGETS SvfCore
|
package/svf-llvm/CMakeLists.txt
CHANGED
|
@@ -88,10 +88,6 @@ target_sources(SvfLLVM PRIVATE ${SVF_LLVM_SOURCES})
|
|
|
88
88
|
|
|
89
89
|
# Get all of the public header files (i.e. all *.h/*.hpp files) for SVF's subprojects and add them
|
|
90
90
|
file(GLOB_RECURSE SVF_LLVM_HEADERS include/*.h include/*.hpp)
|
|
91
|
-
add_custom_target(CopySVFLLVMIncludeFiles ALL
|
|
92
|
-
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
|
93
|
-
${CMAKE_CURRENT_SOURCE_DIR}/include/
|
|
94
|
-
${CMAKE_BINARY_DIR}/include)
|
|
95
91
|
|
|
96
92
|
target_sources(SvfLLVM
|
|
97
93
|
PUBLIC
|
|
@@ -100,8 +96,6 @@ target_sources(SvfLLVM
|
|
|
100
96
|
FILES ${SVF_LLVM_HEADERS}
|
|
101
97
|
)
|
|
102
98
|
|
|
103
|
-
add_dependencies(SvfCore CopySVFLLVMIncludeFiles CopySVFIncludeFiles)
|
|
104
|
-
|
|
105
99
|
# Add intrinsics_gen target if we're building as part of LLVM source build
|
|
106
100
|
if(TARGET intrinsics_gen)
|
|
107
101
|
add_dependencies(SvfLLVM intrinsics_gen)
|