selfpatch-slr/pinpoint/stage1/stage1.h

19 lines
287 B
C++

#pragma once
#include <stage0.h>
#include <safe-gimple.h>
struct S1Separator {
enum ARCH {
NONE, X86_64
} arch;
UID target;
std::size_t offset;
};
struct asm_offset_pass : gimple_opt_pass {
asm_offset_pass(gcc::context* ctxt);
unsigned int execute(function* fn) override;
};