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.
15 lines
364 B
15 lines
364 B
3 years ago
|
#pragma once
|
||
3 years ago
|
#include <obf/pass.hpp>
|
||
3 years ago
|
|
||
3 years ago
|
namespace theo::obf {
|
||
3 years ago
|
class reloc_transform_pass_t : public pass_t {
|
||
|
explicit reloc_transform_pass_t() : pass_t(decomp::sym_type_t::inst_split){};
|
||
|
|
||
|
public:
|
||
|
static reloc_transform_pass_t* get();
|
||
|
void run(decomp::symbol_t* sym);
|
||
|
|
||
|
private:
|
||
|
bool has_legit_reloc(decomp::symbol_t* sym);
|
||
|
};
|
||
|
} // namespace theo::comp::obf
|