Skip to content

Commit 27be661

Browse files
author
Martin Mory
committed
remove phasar plugin feature
1 parent e67be90 commit 27be661

44 files changed

Lines changed: 9 additions & 2167 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ endif()
125125
find_package(Threads)
126126

127127
# Boost
128-
find_package(Boost 1.65.1 COMPONENTS graph system program_options log ${BOOST_THREAD} REQUIRED)
129-
#find_package(Boost 1.72.0 COMPONENTS graph system program_options log ${BOOST_THREAD} REQUIRED)
128+
find_package(Boost 1.65.1 COMPONENTS graph program_options log ${BOOST_THREAD} REQUIRED)
129+
#find_package(Boost 1.72.0 COMPONENTS graph program_options log ${BOOST_THREAD} REQUIRED)
130130
include_directories(${Boost_INCLUDE_DIRS})
131131

132132
# Disable clang-tidy for the external projects
@@ -290,8 +290,6 @@ llvm_map_components_to_libnames(llvm_libs
290290
# phasar-based binaries
291291
add_subdirectory(tools)
292292

293-
set(PHASAR_PLUGINS_LIB phasar_plugins)
294-
295293
# Add Phasar unittests and build all IR test code
296294
if (PHASAR_BUILD_UNITTESTS)
297295
message("Phasar unittests")
@@ -409,7 +407,6 @@ set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MIN
409407
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
410408
# set(CPACK_DEBIAN_PACKAGE_DEPENDS "libboost_program_options (>= 1.66.0),
411409
# libboost_graph (>= 1.66.0),
412-
# libboost_system (>= 1.66.0),
413410
# libboost_log (>= 1.66.0),
414411
# libboost_thread (>= 1.66.0),
415412
# libsqlite3 (>= 4.5.0),

cmake/phasar_macros.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ function(add_phasar_unittest test_name)
2626
phasar_experimental
2727
# phasar_clang
2828
phasar_passes
29-
# FIXME: cmake variable ${PHASAR_PLUGINS_LIB} is empty although it should contain phasar_plugins
30-
phasar_plugins
31-
# ${PHASAR_PLUGINS_LIB}
3229
phasar_pointer
3330
phasar_typehierarchy
3431
phasar_taintconfig

examples/plugins/Makefile

Lines changed: 0 additions & 21 deletions
This file was deleted.

examples/plugins/MyIFDSProblem.cxx

Lines changed: 0 additions & 126 deletions
This file was deleted.

examples/plugins/MyIFDSProblem.h

Lines changed: 0 additions & 74 deletions
This file was deleted.

include/phasar/Controller/AnalysisController.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class AnalysisController {
5252
LLVMTypeHierarchy TH;
5353
LLVMPointsToSet PT;
5454
LLVMBasedICFG ICF;
55-
std::vector<DataFlowAnalysisKind> DataFlowAnalyses;
55+
std::vector<DataFlowAnalysisType> DataFlowAnalyses;
5656
std::vector<std::string> AnalysisConfigs;
5757
std::set<std::string> EntryPoints;
5858
[[maybe_unused]] AnalysisStrategy Strategy;
@@ -115,7 +115,7 @@ class AnalysisController {
115115

116116
public:
117117
AnalysisController(ProjectIRDB &IRDB,
118-
std::vector<DataFlowAnalysisKind> DataFlowAnalyses,
118+
std::vector<DataFlowAnalysisType> DataFlowAnalyses,
119119
std::vector<std::string> AnalysisConfigs,
120120
PointerAnalysisType PTATy, CallGraphAnalysisType CGTy,
121121
Soundness SoundnessLevel, bool AutoGlobalSupport,

include/phasar/PhasarLLVM/DataFlowSolver/IfdsIde/EdgeFact.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
namespace psr {
1616

1717
/// A common superclass of edge-facts used by non-template IDETabulationProblems
18-
/// (for example in plugins)
1918
class EdgeFact {
2019
public:
2120
virtual ~EdgeFact() = default;

include/phasar/PhasarLLVM/DataFlowSolver/IfdsIde/FlowFact.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace psr {
1717

1818
/// A common superclass of dataflow-facts used by non-template tabulation
19-
/// problems (for example in plugins)
19+
/// problems
2020
class FlowFact {
2121
public:
2222
virtual ~FlowFact() = default;

include/phasar/PhasarLLVM/Plugins/AnalysisPluginController.h

Lines changed: 0 additions & 36 deletions
This file was deleted.

include/phasar/PhasarLLVM/Plugins/Interfaces/ControlFlow/ICFGPlugin.h

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)