aboutsummaryrefslogtreecommitdiff
path: root/src/third_party/libdisasm/ia32_modrm.h
blob: 765cb0833b428d19e75e4366aaaf8cb8a9b5053a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef IA32_MODRM_H
#define IA32_MODRM_H

#include "libdis.h"
#include "ia32_insn.h"

size_t ia32_modrm_decode( unsigned char *buf, unsigned int buf_len,
			    x86_op_t *op, x86_insn_t *insn,
			    size_t gen_regs );

void ia32_reg_decode( unsigned char byte, x86_op_t *op, size_t gen_regs );

#endif