forked from blankwall/Python_Pin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINS.h
130 lines (125 loc) · 8.09 KB
/
INS.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
#ifndef G_H
#define G_H
PyObject* Python_INS_Category(PyObject* self, PyObject* args);
PyObject* Python_INS_Extension(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryOperandSize(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryWriteSize(PyObject* self, PyObject* args);
PyObject* Python_INS_GetPredicate(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryReadSize(PyObject* self, PyObject* args);
PyObject* Python_INS_IsMemoryRead(PyObject* self, PyObject* args);
PyObject* Python_INS_IsMemoryWrite(PyObject* self, PyObject* args);
PyObject* Python_INS_HasMemoryRead2(PyObject* self, PyObject* args);
PyObject* Python_INS_HasFallThrough(PyObject* self, PyObject* args);
PyObject* Python_INS_IsLea(PyObject* self, PyObject* args);
PyObject* Python_INS_IsNop(PyObject* self, PyObject* args);
PyObject* Python_OPCODE_StringShort(PyObject* self, PyObject* args);
PyObject* Python_INS_Mnemonic(PyObject* self, PyObject* args);
PyObject* Python_INS_InsertCall(PyObject* self, PyObject* args);
PyObject* Python_INS_IsBranch(PyObject* self, PyObject* args);
PyObject* Python_INS_IsDirectBranch(PyObject* self, PyObject* args);
PyObject* Python_INS_IsDirectCall(PyObject* self, PyObject* args);
PyObject* Python_INS_IsDirectBranchOrCall(PyObject* self, PyObject* args);
PyObject* Python_INS_IsBranchOrCall(PyObject* self, PyObject* args);
PyObject* Python_INS_Stutters(PyObject* self, PyObject* args);
PyObject* Python_INS_IsCall(PyObject* self, PyObject* args);
PyObject* Python_INS_IsProcedureCall(PyObject* self, PyObject* args);
PyObject* Python_INS_IsRet(PyObject* self, PyObject* args);
PyObject* Python_INS_IsSysret(PyObject* self, PyObject* args);
PyObject* Python_INS_IsPrefetch(PyObject* self, PyObject* args);
PyObject* Python_INS_IsAtomicUpdate(PyObject* self, PyObject* args);
PyObject* Python_INS_IsIndirectBranchOrCall(PyObject* self, PyObject* args);
PyObject* Python_INS_RegR(PyObject* self, PyObject* args);
PyObject* Python_INS_RegW(PyObject* self, PyObject* args);
PyObject* Python_INS_Opcode(PyObject* self, PyObject* args);
PyObject* Python_CATEGORY_StringShort(PyObject* self, PyObject* args);
PyObject* Python_EXTENSION_StringShort(PyObject* self, PyObject* args);
PyObject* Python_INS_MaxNumRRegs(PyObject* self, PyObject* args);
PyObject* Python_INS_MaxNumWRegs(PyObject* self, PyObject* args);
PyObject* Python_INS_RegRContain(PyObject* self, PyObject* args);
PyObject* Python_INS_RegWContain(PyObject* self, PyObject* args);
PyObject* Python_INS_IsStackRead(PyObject* self, PyObject* args);
PyObject* Python_INS_IsStackWrite(PyObject* self, PyObject* args);
PyObject* Python_INS_IsIpRelRead(PyObject* self, PyObject* args);
PyObject* Python_INS_IsIpRelWrite(PyObject* self, PyObject* args);
PyObject* Python_INS_IsPredicated(PyObject* self, PyObject* args);
PyObject* Python_INS_IsOriginal(PyObject* self, PyObject* args);
PyObject* Python_INS_Disassemble(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryOperandCount(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandIsAddressGenerator(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryOperandIsRead(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryOperandIsWritten(PyObject* self, PyObject* args);
PyObject* Python_INS_IsSyscall(PyObject* self, PyObject* args);
PyObject* Python_INS_SyscallStd(PyObject* self, PyObject* args);
PyObject* Python_INS_Rtn(PyObject* self, PyObject* args);
PyObject* Python_INS_Next(PyObject* self, PyObject* args);
PyObject* Python_INS_Prev(PyObject* self, PyObject* args);
PyObject* Python_INS_Invalid(PyObject* self, PyObject* args);
PyObject* Python_INS_Valid(PyObject* self, PyObject* args);
PyObject* Python_INS_Address(PyObject* self, PyObject* args);
PyObject* Python_INS_Size(PyObject* self, PyObject* args);
PyObject* Python_INS_DirectBranchOrCallTargetAddress(PyObject* self, PyObject* args);
PyObject* Python_INS_NextAddress(PyObject* self, PyObject* args);
/*AUTO GENERATED SKELETONS INSPECTION API*/
PyObject* Python_INS_EffectiveAddressWidth(PyObject* self, PyObject* args);
PyObject* Python_INS_IsSysenter(PyObject* self, PyObject* args);
PyObject* Python_INS_IsXbegin(PyObject* self, PyObject* args);
PyObject* Python_INS_IsXend(PyObject* self, PyObject* args);
PyObject* Python_INS_IsHalt(PyObject* self, PyObject* args);
PyObject* Python_INS_IsPcMaterialization(PyObject* self, PyObject* args);
PyObject* Python_INS_IsFarCall(PyObject* self, PyObject* args);
PyObject* Python_INS_IsFarJump(PyObject* self, PyObject* args);
PyObject* Python_INS_IsDirectFarJump(PyObject* self, PyObject* args);
PyObject* Python_INS_IsVgather(PyObject* self, PyObject* args);
PyObject* Python_INS_IsVscatter(PyObject* self, PyObject* args);
PyObject* Python_INS_HasMemoryVector(PyObject* self, PyObject* args);
PyObject* Python_INS_IsInterrupt(PyObject* self, PyObject* args);
PyObject* Python_INS_IsFarRet(PyObject* self, PyObject* args);
PyObject* Python_INS_IsSub(PyObject* self, PyObject* args);
PyObject* Python_INS_IsMov(PyObject* self, PyObject* args);
PyObject* Python_INS_IsMovFullRegRegSame(PyObject* self, PyObject* args);
PyObject* Python_INS_IsRDTSC(PyObject* self, PyObject* args);
PyObject* Python_INS_IsMaskMov(PyObject* self, PyObject* args);
PyObject* Python_INS_IsMaskedJump(PyObject* self, PyObject* args);
PyObject* Python_INS_RepCountRegister(PyObject* self, PyObject* args);
PyObject* Python_INS_SegmentRegPrefix(PyObject* self, PyObject* args);
PyObject* Python_INS_SegPrefixIsMemoryRead(PyObject* self, PyObject* args);
PyObject* Python_INS_SegPrefixIsMemoryWrite(PyObject* self, PyObject* args);
PyObject* Python_INS_AddressSizePrefix(PyObject* self, PyObject* args);
PyObject* Python_INS_BranchNotTakenPrefix(PyObject* self, PyObject* args);
PyObject* Python_INS_BranchTakenPrefix(PyObject* self, PyObject* args);
PyObject* Python_INS_LockPrefix(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandSizePrefix(PyObject* self, PyObject* args);
PyObject* Python_INS_RepPrefix(PyObject* self, PyObject* args);
PyObject* Python_INS_RepnePrefix(PyObject* self, PyObject* args);
PyObject* Python_INS_SegmentPrefix(PyObject* self, PyObject* args);
PyObject* Python_INS_IsXchg(PyObject* self, PyObject* args);
PyObject* Python_INS_IsStringop(PyObject* self, PyObject* args);
PyObject* Python_INS_IsIRet(PyObject* self, PyObject* args);
PyObject* Python_INS_HasRealRep(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryDisplacement(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryBaseReg(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryIndexReg(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryScale(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandCount(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandNameId(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandIsMemory(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandMemoryBaseReg(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandMemoryIndexReg(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandMemorySegmentReg(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandMemoryScale(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandMemoryDisplacement(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandIsFixedMemop(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandIsBranchDisplacement(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandIsReg(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandReg(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandIsImmediate(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandImmediate(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandIsImplicit(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandWidth(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandRead(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandWritten(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandReadOnly(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandWrittenOnly(PyObject* self, PyObject* args);
PyObject* Python_INS_OperandReadAndWritten(PyObject* self, PyObject* args);
PyObject* Python_INS_MemoryOperandIndexToOperandIndex(PyObject* self, PyObject* args);
#endif