4 from .
import copy_ctypes_list
5 from .x86_const
import *
10 (
'segment', ctypes.c_uint),
11 (
'base', ctypes.c_uint),
12 (
'index', ctypes.c_uint),
13 (
'scale', ctypes.c_int),
14 (
'disp', ctypes.c_int64),
19 (
'reg', ctypes.c_uint),
20 (
'imm', ctypes.c_int64),
26 (
'type', ctypes.c_uint),
27 (
'value', X86OpValue),
28 (
'size', ctypes.c_uint8),
29 (
'access', ctypes.c_uint8),
30 (
'avx_bcast', ctypes.c_uint),
31 (
'avx_zero_opmask', ctypes.c_bool),
49 (
'modrm_offset', ctypes.c_uint8),
50 (
'disp_offset', ctypes.c_uint8),
51 (
'disp_size', ctypes.c_uint8),
52 (
'imm_offset', ctypes.c_uint8),
53 (
'imm_size', ctypes.c_uint8),
58 (
'prefix', ctypes.c_uint8 * 4),
59 (
'opcode', ctypes.c_uint8 * 4),
60 (
'rex', ctypes.c_uint8),
61 (
'addr_size', ctypes.c_uint8),
62 (
'modrm', ctypes.c_uint8),
63 (
'sib', ctypes.c_uint8),
64 (
'disp', ctypes.c_int64),
65 (
'sib_index', ctypes.c_uint),
66 (
'sib_scale', ctypes.c_int8),
67 (
'sib_base', ctypes.c_uint),
68 (
'xop_cc', ctypes.c_uint),
69 (
'sse_cc', ctypes.c_uint),
70 (
'avx_cc', ctypes.c_uint),
71 (
'avx_sae', ctypes.c_bool),
72 (
'avx_rm', ctypes.c_uint),
73 (
'eflags', ctypes.c_uint64),
74 (
'op_count', ctypes.c_uint8),
75 (
'operands', X86Op * 8),
76 (
'encoding', CsX86Encoding),
80 return (a.prefix[:], a.opcode[:], a.rex, a.addr_size, \
81 a.modrm, a.sib, a.disp, a.sib_index, a.sib_scale, \
82 a.sib_base, a.xop_cc, a.sse_cc, a.avx_cc, a.avx_sae, a.avx_rm, a.eflags, \
83 a.encoding.modrm_offset, a.encoding.disp_offset, a.encoding.disp_size, a.encoding.imm_offset, a.encoding.imm_size, \
def copy_ctypes_list(src)