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.
Theodosius/include/obf/passes/reloc_transform_pass.hpp

15 lines
364 B

#pragma once
#include <obf/pass.hpp>
namespace theo::obf {
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