svf-lib 1.0.1910 → 1.0.1912
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/AE/Core/BoundedZ3Expr.h +2 -0
- package/SVF-linux/Release-build/include/AE/Core/IntervalValue.h +1 -1
- package/SVF-linux/Release-build/include/AE/Core/NumericLiteral.h +6 -0
- package/SVF-linux/Release-build/include/AE/Core/RelationSolver.h +1 -1
- package/SVF-linux/Release-build/include/Util/Options.h +3 -0
- package/SVF-linux/Release-build/include/Util/Z3Expr.h +9 -2
- package/SVF-linux/Release-build/lib/libSvfCore.a +0 -0
- 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/AE/Core/BoundedZ3Expr.h +2 -0
- package/SVF-osx/Release-build/include/AE/Core/IntervalValue.h +1 -1
- package/SVF-osx/Release-build/include/AE/Core/NumericLiteral.h +6 -0
- package/SVF-osx/Release-build/include/AE/Core/RelationSolver.h +1 -1
- package/SVF-osx/Release-build/include/Util/Options.h +3 -0
- package/SVF-osx/Release-build/include/Util/Z3Expr.h +9 -2
- 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
|
|
@@ -53,6 +53,8 @@ public:
|
|
|
53
53
|
|
|
54
54
|
BoundedZ3Expr(s64_t i) : Z3Expr(getContext().int_val((int64_t)i)) {}
|
|
55
55
|
|
|
56
|
+
BoundedZ3Expr(double i) : Z3Expr(getContext().real_val(std::to_string(i).c_str())) {}
|
|
57
|
+
|
|
56
58
|
BoundedZ3Expr(const BoundedZ3Expr &z3Expr) : Z3Expr(z3Expr) {}
|
|
57
59
|
|
|
58
60
|
inline BoundedZ3Expr &operator=(const BoundedZ3Expr &rhs)
|
|
@@ -101,7 +101,7 @@ public:
|
|
|
101
101
|
|
|
102
102
|
explicit IntervalValue(u32_t n) : IntervalValue((s64_t) n) {}
|
|
103
103
|
|
|
104
|
-
explicit IntervalValue(double n) :
|
|
104
|
+
explicit IntervalValue(double n) : AbstractValue(AbstractValue::IntervalK), _lb(n), _ub(n) {}
|
|
105
105
|
|
|
106
106
|
explicit IntervalValue(NumericLiteral n) : IntervalValue(n, n) {}
|
|
107
107
|
|
|
@@ -54,7 +54,7 @@ public:
|
|
|
54
54
|
|
|
55
55
|
IntervalESBase abstract_consequence(const IntervalESBase &lower, const IntervalESBase &upper, const IntervalESBase &domain) const;
|
|
56
56
|
|
|
57
|
-
IntervalESBase beta(const Map<u32_t,
|
|
57
|
+
IntervalESBase beta(const Map<u32_t, s32_t> &sigma, const IntervalESBase &exeState) const;
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
/// Return Z3 expression lazily based on SVFVar ID
|
|
@@ -44,8 +44,7 @@ public:
|
|
|
44
44
|
private:
|
|
45
45
|
z3::expr e;
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
Z3Expr(double f); // placeholder don't support floating point expression
|
|
47
|
+
|
|
49
48
|
|
|
50
49
|
public:
|
|
51
50
|
|
|
@@ -65,6 +64,14 @@ public:
|
|
|
65
64
|
{
|
|
66
65
|
}
|
|
67
66
|
|
|
67
|
+
Z3Expr(float f) : Z3Expr((double) f)
|
|
68
|
+
{
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
Z3Expr(double f): e(getContext().real_val(std::to_string(f).c_str()))
|
|
72
|
+
{
|
|
73
|
+
}
|
|
74
|
+
|
|
68
75
|
virtual ~Z3Expr() = default;
|
|
69
76
|
|
|
70
77
|
inline Z3Expr &operator=(const Z3Expr &rhs)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -53,6 +53,8 @@ public:
|
|
|
53
53
|
|
|
54
54
|
BoundedZ3Expr(s64_t i) : Z3Expr(getContext().int_val((int64_t)i)) {}
|
|
55
55
|
|
|
56
|
+
BoundedZ3Expr(double i) : Z3Expr(getContext().real_val(std::to_string(i).c_str())) {}
|
|
57
|
+
|
|
56
58
|
BoundedZ3Expr(const BoundedZ3Expr &z3Expr) : Z3Expr(z3Expr) {}
|
|
57
59
|
|
|
58
60
|
inline BoundedZ3Expr &operator=(const BoundedZ3Expr &rhs)
|
|
@@ -101,7 +101,7 @@ public:
|
|
|
101
101
|
|
|
102
102
|
explicit IntervalValue(u32_t n) : IntervalValue((s64_t) n) {}
|
|
103
103
|
|
|
104
|
-
explicit IntervalValue(double n) :
|
|
104
|
+
explicit IntervalValue(double n) : AbstractValue(AbstractValue::IntervalK), _lb(n), _ub(n) {}
|
|
105
105
|
|
|
106
106
|
explicit IntervalValue(NumericLiteral n) : IntervalValue(n, n) {}
|
|
107
107
|
|
|
@@ -54,7 +54,7 @@ public:
|
|
|
54
54
|
|
|
55
55
|
IntervalESBase abstract_consequence(const IntervalESBase &lower, const IntervalESBase &upper, const IntervalESBase &domain) const;
|
|
56
56
|
|
|
57
|
-
IntervalESBase beta(const Map<u32_t,
|
|
57
|
+
IntervalESBase beta(const Map<u32_t, s32_t> &sigma, const IntervalESBase &exeState) const;
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
/// Return Z3 expression lazily based on SVFVar ID
|
|
@@ -44,8 +44,7 @@ public:
|
|
|
44
44
|
private:
|
|
45
45
|
z3::expr e;
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
Z3Expr(double f); // placeholder don't support floating point expression
|
|
47
|
+
|
|
49
48
|
|
|
50
49
|
public:
|
|
51
50
|
|
|
@@ -65,6 +64,14 @@ public:
|
|
|
65
64
|
{
|
|
66
65
|
}
|
|
67
66
|
|
|
67
|
+
Z3Expr(float f) : Z3Expr((double) f)
|
|
68
|
+
{
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
Z3Expr(double f): e(getContext().real_val(std::to_string(f).c_str()))
|
|
72
|
+
{
|
|
73
|
+
}
|
|
74
|
+
|
|
68
75
|
virtual ~Z3Expr() = default;
|
|
69
76
|
|
|
70
77
|
inline Z3Expr &operator=(const Z3Expr &rhs)
|
|
Binary file
|
|
Binary file
|