diff options
author | comex | 2015-02-08 22:06:56 -0500 |
---|---|---|
committer | comex | 2015-02-08 22:06:56 -0500 |
commit | fdad44c4ccb219454c698645d4f2cb9726826c06 (patch) | |
tree | 6c4fd37dd9181f7ba336a16637999da714e17b23 /lib/x86/misc.h | |
parent | right, going to bed (diff) | |
download | substitute-fdad44c4ccb219454c698645d4f2cb9726826c06.tar.gz |
starting x86 support
Diffstat (limited to '')
-rw-r--r-- | lib/x86/misc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/x86/misc.h b/lib/x86/misc.h new file mode 100644 index 0000000..c8eee19 --- /dev/null +++ b/lib/x86/misc.h @@ -0,0 +1,9 @@ +#pragma once +#define TARGET_DIS_SUPPORTED +#define TARGET_DIS_HEADER "x86/dis-x86.inc.h" +#define TARGET_JUMP_PATCH_HDR "x86/jump-patch.h" +#define MIN_INSN_SIZE 1 +#define TD_MAX_REWRITTEN_SIZE 100 /* XXX */ + +struct arch_dis_ctx {}; +static inline void arch_dis_ctx_init(UNUSED struct arch_dis_ctx *ctx) {} |