Skip to content

Commit 71cc57a

Browse files
authored
Remove unused files (#536)
* Remove unnecessary stuff * Clean examples * Remove empty IFDSLinearConstantAnalysis * Remove (almost) empty phasar-clang tool * Remove phasar_experimental + some empty unittests * Remove out-commented DBConn and empty BiDiICFG * minor
1 parent 9c39fd8 commit 71cc57a

File tree

65 files changed

+68
-3860
lines changed

Some content is hidden

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

65 files changed

+68
-3860
lines changed

cmake/phasar_macros.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ function(add_phasar_unittest test_name)
2323
phasar_utils
2424
phasar_mono
2525
phasar_db
26-
phasar_experimental
27-
2826
# phasar_clang
2927
phasar_passes
3028
phasar_pointer

examples/llvm-hello-world/main.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#include <memory>
22
#include <string>
33

4-
#include "llvm/IR/CallSite.h"
5-
#include "llvm/IR/Constants.h"
64
#include "llvm/IR/DebugLoc.h"
75
#include "llvm/IR/Function.h"
86
#include "llvm/IR/Instruction.h"
@@ -24,11 +22,11 @@ int main(int argc, char **argv) {
2422
}
2523
// parse an IR file into an LLVM module
2624
llvm::SMDiagnostic Diag;
27-
std::unique_ptr<llvm::LLVMContext> C(new llvm::LLVMContext);
28-
std::unique_ptr<llvm::Module> M = llvm::parseIRFile(argv[1], Diag, *C);
25+
llvm::LLVMContext C;
26+
std::unique_ptr<llvm::Module> M = llvm::parseIRFile(argv[1], Diag, C);
2927
// check if the module is alright
3028
bool broken_debug_info = false;
31-
if (M.get() == nullptr ||
29+
if (M == nullptr ||
3230
llvm::verifyModule(*M, &llvm::errs(), &broken_debug_info)) {
3331
llvm::errs() << "error: module not valid\n";
3432
return 1;
@@ -76,6 +74,5 @@ int main(int argc, char **argv) {
7674
// C++'s classical 'dynamic_cast'.
7775
}
7876
}
79-
llvm::llvm_shutdown();
8077
return 0;
8178
}

examples/use-phasar-as-library/myphasartool.cpp

Lines changed: 0 additions & 67 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../tools/example-tool/myphasartool.cpp

include/phasar/Config/ContainerConfiguration.h

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

include/phasar/Controller/AnalysisController.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ class AnalysisController {
9494
void executeIFDSTaint();
9595
void executeIFDSType();
9696
void executeIFDSSolverTest();
97-
void executeIFDSLinearConst();
9897
void executeIFDSFieldSensTaint();
9998
void executeIDEXTaint();
10099
void executeIDEOpenSSLTS();

include/phasar/DB/DBConn.h

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

include/phasar/Experimental/Experimental.h

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

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

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

0 commit comments

Comments
 (0)