blob: c52561a4298e936d9f7a5594cfd0de152f0d19e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#define MIN_INSN_SIZE 1
/* min([18 * 3,
* 4 + 18 + 15 + 18,
* 6 + 12])
* See transform_dis_* for size figures. Technically unsafe, since we don't
* check for overlong x86 instructions. */
#define TD_MAX_REWRITTEN_SIZE 55
#define ARCH_MAX_CODE_ALIGNMENT 1
struct arch_pcrel_info {
int reg;
bool is_jump;
};
struct arch_dis_ctx {};
static inline void arch_dis_ctx_init(UNUSED struct arch_dis_ctx *ctx) {}
|