svf-lib 1.0.2444 → 1.0.2446
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-x86_64/lib/libSvfLLVM.so.3.2 +0 -0
- package/SVF-osx/bin/ae +0 -0
- package/SVF-osx/bin/cfl +0 -0
- package/SVF-osx/bin/dvf +0 -0
- package/SVF-osx/bin/llvm2svf +0 -0
- package/SVF-osx/bin/mta +0 -0
- package/SVF-osx/bin/saber +0 -0
- package/SVF-osx/bin/svf-ex +0 -0
- package/SVF-osx/bin/wpa +0 -0
- package/SVF-osx/include/CFL/CFLGraphBuilder.h +2 -4
- package/SVF-osx/include/Graphs/WTO.h +2 -2
- package/SVF-osx/include/SVF-LLVM/DCHG.h +1 -2
- package/SVF-osx/include/SVFIR/SVFStatements.h +2 -4
- package/SVF-osx/include/Util/Casting.h +4 -4
- package/SVF-osx/lib/cmake/SVF/SVFTargets.cmake +1 -1
- package/SVF-osx/lib/libSvfCore.3.2.dylib +0 -0
- package/SVF-osx/lib/libSvfLLVM.3.2.dylib +0 -0
- package/package.json +1 -1
|
Binary file
|
package/SVF-osx/bin/ae
CHANGED
|
Binary file
|
package/SVF-osx/bin/cfl
CHANGED
|
Binary file
|
package/SVF-osx/bin/dvf
CHANGED
|
Binary file
|
package/SVF-osx/bin/llvm2svf
CHANGED
|
Binary file
|
package/SVF-osx/bin/mta
CHANGED
|
Binary file
|
package/SVF-osx/bin/saber
CHANGED
|
Binary file
|
package/SVF-osx/bin/svf-ex
CHANGED
|
Binary file
|
package/SVF-osx/bin/wpa
CHANGED
|
Binary file
|
|
@@ -117,8 +117,7 @@ public:
|
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
/// AliasCFLGraphBuilder: a CFLGraphBuilder specialized for handling aliasing
|
|
120
|
-
class AliasCFLGraphBuilder :
|
|
121
|
-
public CFLGraphBuilder
|
|
120
|
+
class AliasCFLGraphBuilder : public CFLGraphBuilder
|
|
122
121
|
{
|
|
123
122
|
public:
|
|
124
123
|
/// Builds a bidirectional CFL graph by copying nodes and edges from a const graph that inherits from GenericGraph
|
|
@@ -140,8 +139,7 @@ private:
|
|
|
140
139
|
};
|
|
141
140
|
|
|
142
141
|
/// VFCFLGraphBuilder: a CFLGraphBuilder specialized for handling value-flow
|
|
143
|
-
class VFCFLGraphBuilder :
|
|
144
|
-
public CFLGraphBuilder
|
|
142
|
+
class VFCFLGraphBuilder : public CFLGraphBuilder
|
|
145
143
|
{
|
|
146
144
|
public:
|
|
147
145
|
/// Builds a bidirectional CFL graph by copying nodes and edges from a const graph that inherits from SVFG
|
|
@@ -494,7 +494,7 @@ public:
|
|
|
494
494
|
|
|
495
495
|
/// Copy assignment operator
|
|
496
496
|
WTOComponentVisitor& operator=(const WTOComponentVisitor&) noexcept =
|
|
497
|
-
|
|
497
|
+
default;
|
|
498
498
|
|
|
499
499
|
/// Move assignment operator
|
|
500
500
|
WTOComponentVisitor& operator=(WTOComponentVisitor&&) noexcept = default;
|
|
@@ -701,7 +701,7 @@ protected:
|
|
|
701
701
|
WTOCycleDepthPtr previous_cycleDepth = _wtoCycleDepth;
|
|
702
702
|
_nodeToWTOCycleDepth.insert(std::make_pair(head, _wtoCycleDepth));
|
|
703
703
|
_wtoCycleDepth =
|
|
704
|
-
|
|
704
|
+
std::make_shared<GraphTWTOCycleDepth>(*_wtoCycleDepth);
|
|
705
705
|
_wtoCycleDepth->add(head);
|
|
706
706
|
for (auto it = cycle.begin(), et = cycle.end(); it != et; ++it)
|
|
707
707
|
{
|
|
@@ -203,8 +203,7 @@ private:
|
|
|
203
203
|
};
|
|
204
204
|
|
|
205
205
|
/// Dwarf based CHG.
|
|
206
|
-
class DCHGraph :
|
|
207
|
-
public CommonCHGraph, public GenericGraph<DCHNode, DCHEdge>
|
|
206
|
+
class DCHGraph : public CommonCHGraph, public GenericGraph<DCHNode, DCHEdge>
|
|
208
207
|
{
|
|
209
208
|
public:
|
|
210
209
|
/// Returns the DIType beneath the qualifiers. Does not strip away "DW_TAG_members".
|
|
@@ -1184,8 +1184,7 @@ public:
|
|
|
1184
1184
|
/*!
|
|
1185
1185
|
* Thread Fork
|
|
1186
1186
|
*/
|
|
1187
|
-
class TDForkPE:
|
|
1188
|
-
public CallPE
|
|
1187
|
+
class TDForkPE: public CallPE
|
|
1189
1188
|
{
|
|
1190
1189
|
|
|
1191
1190
|
private:
|
|
@@ -1222,8 +1221,7 @@ public:
|
|
|
1222
1221
|
/*!
|
|
1223
1222
|
* Thread Join
|
|
1224
1223
|
*/
|
|
1225
|
-
class TDJoinPE:
|
|
1226
|
-
public RetPE
|
|
1224
|
+
class TDJoinPE: public RetPE
|
|
1227
1225
|
{
|
|
1228
1226
|
|
|
1229
1227
|
private:
|
|
@@ -217,8 +217,8 @@ struct isa_impl_wrap
|
|
|
217
217
|
static bool doit(const From &Val)
|
|
218
218
|
{
|
|
219
219
|
return isa_impl_wrap<To, SimpleFrom,
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
typename simplify_type<SimpleFrom>::SimpleType>::doit(
|
|
221
|
+
simplify_type<const From>::getSimplifiedValue(Val));
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
|
|
@@ -325,8 +325,8 @@ template<class To, class From, class SimpleFrom> struct cast_convert_val
|
|
|
325
325
|
static typename cast_retty<To, From>::ret_type doit(From &Val)
|
|
326
326
|
{
|
|
327
327
|
return cast_convert_val<To, SimpleFrom,
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
typename simplify_type<SimpleFrom>::SimpleType>::doit(
|
|
329
|
+
simplify_type<From>::getSimplifiedValue(Val));
|
|
330
330
|
}
|
|
331
331
|
};
|
|
332
332
|
|
|
@@ -7,7 +7,7 @@ if(CMAKE_VERSION VERSION_LESS "3.0.0")
|
|
|
7
7
|
message(FATAL_ERROR "CMake >= 3.0.0 required")
|
|
8
8
|
endif()
|
|
9
9
|
cmake_policy(PUSH)
|
|
10
|
-
cmake_policy(VERSION 3.0.0...
|
|
10
|
+
cmake_policy(VERSION 3.0.0...4.0)
|
|
11
11
|
#----------------------------------------------------------------
|
|
12
12
|
# Generated CMake target import file.
|
|
13
13
|
#----------------------------------------------------------------
|
|
Binary file
|
|
Binary file
|