blob: 6db26ab5d857e1bf7c9345e0764ece56a484f020 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef X86_DECODE_H__
#define X86_DECODE_H__
namespace playground {
enum {
REX_B = 0x01,
REX_X = 0x02,
REX_R = 0x04,
REX_W = 0x08
};
unsigned short next_inst(const char **ip, bool is64bit, bool *has_prefix = 0,
char **rex_ptr = 0, char **mod_rm_ptr = 0,
char **sib_ptr = 0, bool *is_group = 0);
} // namespace
#endif // X86_DECODE_H__
|