You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
319 B
18 lines
319 B
3 years ago
|
#pragma once
|
||
|
#include <algorithm>
|
||
3 years ago
|
#include <obf/pass.hpp>
|
||
3 years ago
|
#include <vector>
|
||
|
|
||
3 years ago
|
namespace theo::obf {
|
||
3 years ago
|
class engine_t {
|
||
|
explicit engine_t(){};
|
||
|
|
||
|
public:
|
||
|
static engine_t* get();
|
||
|
void add_pass(pass_t* pass);
|
||
|
void run(decomp::symbol_t* sym);
|
||
|
|
||
|
private:
|
||
|
std::vector<pass_t*> passes;
|
||
|
};
|
||
|
} // namespace theo::comp::obf
|