svf-tools 1.0.848 → 1.0.849

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/CMakeLists.txt CHANGED
@@ -1,7 +1,7 @@
1
- cmake_minimum_required(VERSION 3.13.4)
1
+ cmake_minimum_required(VERSION 3.23)
2
2
 
3
3
  project(SVF
4
- VERSION 2.7.1
4
+ VERSION 2.9
5
5
  DESCRIPTION "SVF is a static value-flow analysis tool for LLVM-based languages"
6
6
  HOMEPAGE_URL "https://github.com/SVF-tools/SVF"
7
7
  LANGUAGES C CXX
package/Dockerfile CHANGED
@@ -14,19 +14,26 @@ ENV HOME=/home/SVF-tools
14
14
 
15
15
  # Define dependencies.
16
16
  ENV lib_deps="make g++-8 gcc-8 git zlib1g-dev libncurses5-dev build-essential libssl-dev libpcre2-dev zip vim libtinfo5"
17
- ENV build_deps="wget xz-utils cmake-3.2.3 python git gdb tcl"
17
+ ENV build_deps="wget xz-utils python git gdb tcl"
18
18
 
19
19
  # Fetch dependencies.
20
20
  RUN apt-get update --fix-missing
21
21
  RUN apt-get install -y $build_deps $lib_deps
22
22
 
23
+ # Install cmake and setup PATH
24
+ ENV cmake_version="3.28.1"
25
+ ENV arch="x86_64"
26
+ RUN wget https://github.com/Kitware/CMake/releases/download/v$cmake_version/cmake-$cmake_version-linux-$arch.tar.gz -O cmake.tar.gz
27
+ RUN tar -xf cmake.tar.gz -C /home && rm -f cmake.tar.gz
28
+ ENV PATH=/home/cmake-${cmake_version}-linux-${arch}/bin:${PATH}
29
+
23
30
  # Fetch and build SVF source.
24
31
  RUN echo "Downloading LLVM and building SVF to " ${HOME}
25
32
  WORKDIR ${HOME}
26
33
  RUN git clone "https://github.com/SVF-tools/SVF.git"
27
34
  WORKDIR ${HOME}/SVF
28
35
  RUN echo "Building SVF ..."
29
- RUN bash ./build.sh
36
+ RUN bash ./build.sh
30
37
 
31
38
  # Export SVF, llvm, z3 paths
32
39
  ENV PATH=${HOME}/SVF/Release-build/bin:$PATH
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-tools",
3
- "version": "1.0.848",
3
+ "version": "1.0.849",
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": {