|
libTriton version 1.0 build 1599
|
The Python namespace. More...
Classes | |
| struct | AstContext_Object |
| pyAstContext object. More... | |
| struct | AstNode_Object |
| pyAstNode object. More... | |
| struct | BasicBlock_Object |
| pyBasicBlock object. More... | |
| struct | BitsVector_Object |
| pyBitsVector object. More... | |
| struct | Immediate_Object |
| pyImmediate object. More... | |
| struct | Instruction_Object |
| pyInstruction object. More... | |
| struct | MemoryAccess_Object |
| pyMemory object. More... | |
| struct | PathConstraint_Object |
| pyPathConstraint object. More... | |
| struct | Register_Object |
| pyRegister object. More... | |
| struct | SolverModel_Object |
| pySolverModel object. More... | |
| struct | SymbolicExpression_Object |
| pySymbolicExpression object. More... | |
| struct | SymbolicVariable_Object |
| pySymbolicVariable object. More... | |
| struct | TritonContext_Object |
| pyTritonContext object. More... | |
Functions | |
| PyMODINIT_FUNC | inittriton (void) |
| Entry point python bindings (Py2/3). | |
| PyObject * | PyInit_triton (void) |
| void | initArchNamespace (PyObject *archDict) |
| Initializes the ARCH python namespace. | |
| void | initAstNodeNamespace (PyObject *astNodeDict) |
| Initializes the AST_NODE python namespace. | |
| void | initAstRepresentationNamespace (PyObject *astRepresentationDict) |
| Initializes the AST_REPRESENTATION python namespace. | |
| void | initCallbackNamespace (PyObject *callbackDict) |
| Initializes the CALLBACK python namespace. | |
| void | initConditionsNamespace (PyObject *conditionsDict) |
| Initializes the CONDITION python namespace. | |
| void | initCpuSizeNamespace (PyObject *cpuSizeDict) |
| Initializes the CPUSIZE python namespace. | |
| void | initExceptionNamespace (PyObject *exceptionDict) |
| Initializes the EXCEPTION python namespace. | |
| void | initExtendNamespace (PyObject *extendDict) |
| Initializes the EXTEND python namespace. | |
| void | initModeNamespace (PyObject *modeDict) |
| Initializes the MODE python namespace. | |
| void | initOpcodesNamespace (PyObject *opcodeDict) |
| Initializes the OPCODE python namespace. | |
| void | initOperandNamespace (PyObject *operandDict) |
| Initializes the OPERAND python namespace. | |
| void | initPrefixesNamespace (PyObject *prefixDict) |
| Initializes the PREFIX python namespace. | |
| void | initRegNamespace (PyObject *regDict) |
| Initializes the REG python namespace. | |
| void | initShiftsNamespace (PyObject *shiftDict) |
| Initializes the SHIFT python namespace. | |
| void | initSolverNamespace (PyObject *solverDict) |
| Initializes the SOLVER python namespace. | |
| void | initSolverStateNamespace (PyObject *solverStateDict) |
| Initializes the SOLVER_STATE python namespace. | |
| void | initStubsNamespace (PyObject *stubsDict) |
| Initializes the STUBS python namespace. | |
| void | initSymbolicNamespace (PyObject *symbolicDict) |
| Initializes the SYMBOLIC python namespace. | |
| void | initVASNamespace (PyObject *vasDict) |
| Initializes the VAS python namespace. | |
| void | initVersionNamespace (PyObject *versionDict) |
| Initializes the VERSION python namespace. | |
| void | AstContext_dealloc (PyObject *self) |
| AstContext destructor. | |
| PyObject * | PyAstContext (const triton::ast::SharedAstContext &actx) |
| Creates an AstContext python class. | |
| void | AstNode_dealloc (PyObject *self) |
| AstNode destructor. | |
| PyObject * | PyAstNode (const triton::ast::SharedAbstractNode &node) |
| Creates the AstNode python class. | |
| void | BasicBlock_dealloc (PyObject *self) |
| BasicBlock destructor. | |
| PyObject * | PyBasicBlock (const triton::arch::BasicBlock &block) |
| Creates the BasicBlock python class. | |
| PyObject * | PyBasicBlock (std::vector< triton::arch::Instruction > &insts) |
| Creates the BasicBlock python class. | |
| PyObject * | PyBasicBlock (void) |
| Creates the BasicBlock python class. | |
| void | BitsVector_dealloc (PyObject *self) |
| BitsVector destructor. | |
| template PyObject * | PyBitsVector (const triton::arch::Immediate &op) |
| template PyObject * | PyBitsVector (const triton::arch::MemoryAccess &op) |
| template PyObject * | PyBitsVector (const triton::arch::Register &op) |
| template<typename T > | |
| PyObject * | PyBitsVector (const T &op) |
| Creates the BitsVector python class. | |
| void | Immediate_dealloc (PyObject *self) |
| Immediate destructor. | |
| PyObject * | PyImmediate (const triton::arch::Immediate &imm) |
| Creates the Immediate python class. | |
| void | Instruction_dealloc (PyObject *self) |
| Instruction destructor. | |
| PyObject * | PyInstruction (void) |
| Creates the Instruction python class. | |
| PyObject * | PyInstruction (const triton::arch::Instruction &inst) |
| Creates the Instruction python class. | |
| PyObject * | PyInstruction (const void *opcodes, triton::uint32 opSize) |
| Creates the Instruction python class. | |
| PyObject * | PyInstruction (triton::uint64 addr, const void *opcodes, triton::uint32 opSize) |
| Creates the Instruction python class. | |
| void | MemoryAccess_dealloc (PyObject *self) |
| MemoryAccess destructor. | |
| PyObject * | PyMemoryAccess (const triton::arch::MemoryAccess &mem) |
| Creates the Memory python class. | |
| void | PathConstraint_dealloc (PyObject *self) |
| PathConstraint destructor. | |
| PyObject * | PyPathConstraint (const triton::engines::symbolic::PathConstraint &pc) |
| Creates the PathConstraint python class. | |
| void | Register_dealloc (PyObject *self) |
| Register destructor. | |
| PyObject * | PyRegister (const triton::arch::Register ®) |
| Creates the Register python class. | |
| void | SolverModel_dealloc (PyObject *self) |
| SolverModel destructor. | |
| PyObject * | PySolverModel (const triton::engines::solver::SolverModel &model) |
| Creates the SolverModel python class. | |
| void | SymbolicExpression_dealloc (PyObject *self) |
| SymbolicExpression destructor. | |
| PyObject * | PySymbolicExpression (const triton::engines::symbolic::SharedSymbolicExpression &expr) |
| Creates the SymbolicExpression python class. | |
| void | SymbolicVariable_dealloc (PyObject *self) |
| SymbolicVariable destructor. | |
| PyObject * | PySymbolicVariable (const triton::engines::symbolic::SharedSymbolicVariable &symVar) |
| Creates the SymbolicVariable python class. | |
| PyObject * | PyTritonContext (void) |
| Creates the new TritonContext python class. | |
| PyObject * | PyTritonContext (triton::arch::architecture_e arch) |
| Creates the new TritonContext python class. | |
| PyObject * | PyTritonContextRef (triton::Context &ctx) |
| Creates a TritonContext python class which is a reference to another Context. | |
| PyObject * | xPyDict_New (void) |
| Creates a PyDict and raises an exception if it fails. | |
| PyObject * | xPyList_New (Py_ssize_t len) |
| Creates a PyList and raises an exception if it fails. | |
| PyObject * | xPyTuple_New (Py_ssize_t len) |
| Creates a PyTuple and raises an exception if it fails. | |
| PyObject * | xPyString_FromString (const char *v) |
| Creates a PyString and raises an exception if it fails. | |
| PyObject * | xPyClass_New (PyObject *b, PyObject *d, PyObject *n) |
| Creates a PyClass and raises an exception if it fails. dict is copied in Py3 ! All references are decremented. | |
| int | xPyDict_SetItemString (PyObject *p, const char *key, PyObject *val) |
| Same as PyDict_SetItemString but decrements reference on object. | |
| int | xPyDict_SetItem (PyObject *p, PyObject *key, PyObject *val) |
| Same as PyDict_SetItem but decrements reference on object and key. | |
| bool | PyLong_AsBool (PyObject *obj) |
| Returns a bool from a pyObject. | |
| triton::__uint | PyLong_AsUint (PyObject *obj) |
| Returns a triton::__uint from a pyObject. | |
| triton::usize | PyLong_AsUsize (PyObject *obj) |
| Returns a triton::usize from a pyObject. | |
| triton::uint32 | PyLong_AsUint32 (PyObject *obj) |
| Returns a triton::uint32 from a pyObject. | |
| triton::uint64 | PyLong_AsUint64 (PyObject *obj) |
| Returns a triton::uint64 from a pyObject. | |
| triton::uint128 | PyLong_AsUint128 (PyObject *obj) |
| Returns a triton::uint128 from a pyObject. | |
| triton::uint256 | PyLong_AsUint256 (PyObject *obj) |
| Returns a triton::uint256 from a pyObject. | |
| triton::uint512 | PyLong_AsUint512 (PyObject *obj) |
| Returns a triton::uint512 from a pyObject. | |
| PyObject * | PyLong_FromUint (triton::__uint value) |
| Returns a pyObject from a triton::__uint. | |
| PyObject * | PyLong_FromUsize (triton::usize value) |
| Returns a pyObject from a triton::usize. | |
| PyObject * | PyLong_FromUint32 (triton::uint32 value) |
| Returns a pyObject from a triton::uint32. | |
| PyObject * | PyLong_FromUint64 (triton::uint64 value) |
| Returns a pyObject from a triton::uint64. | |
| PyObject * | PyLong_FromUint128 (triton::uint128 value) |
| Returns a pyObject from a triton::uint128. | |
| PyObject * | PyLong_FromUint256 (triton::uint256 value) |
| Returns a pyObject from a triton::uint256. | |
| PyObject * | PyLong_FromUint512 (triton::uint512 value) |
| Returns a pyObject from a triton::uint512. | |
Variables | |
| PyObject * | tritonModule = nullptr |
| triton python module. | |
| PyModuleDef | tritonModuleDef |
| triton python module definition. | |
| PyMethodDef | tritonCallbacks [] |
| triton python methods. | |
| PyMethodDef | AstContext_callbacks [] |
| AstContext methods. | |
| PyTypeObject | AstContext_Type |
| Python description for an ast context. | |
| PyMethodDef | AstNode_callbacks [] |
| AstNode methods. | |
| PyNumberMethods | AstNode_NumberMethods |
| AstNode operator methods. | |
| PyTypeObject | AstNode_Type |
| pyAstNode type. | |
| PyMethodDef | BasicBlock_callbacks [] |
| BasicBlock methods. | |
| PyTypeObject | BasicBlock_Type |
| pyBasicBlock type. | |
| PyMethodDef | BitsVector_callbacks [] |
| BitsVector methods. | |
| PyTypeObject | BitsVector_Type |
| pyBitsVector type. | |
| PyMethodDef | Immediate_callbacks [] |
| Immediate methods. | |
| PyTypeObject | Immediate_Type |
| pyImmediate type. | |
| PyMethodDef | Instruction_callbacks [] |
| Instruction methods. | |
| PyTypeObject | Instruction_Type |
| pyInstruction type. | |
| PyMethodDef | MemoryAccess_callbacks [] |
| MemoryAccess methods. | |
| PyTypeObject | MemoryAccess_Type |
| pyMemory type. | |
| PyMethodDef | PathConstraint_callbacks [] |
| PathConstraint methods. | |
| PyTypeObject | PathConstraint_Type |
| pyPathConstraint type. | |
| PyMethodDef | Register_callbacks [] |
| Register methods. | |
| PyTypeObject | Register_Type |
| pyRegister type. | |
| PyMethodDef | SolverModel_callbacks [] |
| SolverModel methods. | |
| PyTypeObject | SolverModel_Type |
| pySolverModel type. | |
| PyMethodDef | SymbolicExpression_callbacks [] |
| SymbolicExpression methods. | |
| PyTypeObject | SymbolicExpression_Type |
| pySymbolicExpression type. | |
| PyMethodDef | SymbolicVariable_callbacks [] |
| SymbolicVariable methods. | |
| PyTypeObject | SymbolicVariable_Type |
| pySymbolicVariable type. | |
| PyMethodDef | TritonContext_callbacks [] |
| TritonContext methods. | |
| PyTypeObject | TritonContext_Type |
| Description of the python representation of a TritonContext. | |
| PyTypeObject | TritonContextObject_Type |
| pyRegister type. | |
| PyTypeObject | AstContextObject_Type |
| pyRegister type. | |
The Python namespace.
| void triton::bindings::python::AstContext_dealloc | ( | PyObject * | self | ) |
AstContext destructor.
Definition at line 367 of file pyAstContext.cpp.
| void triton::bindings::python::AstNode_dealloc | ( | PyObject * | self | ) |
AstNode destructor.
Definition at line 150 of file pyAstNode.cpp.
| void triton::bindings::python::BasicBlock_dealloc | ( | PyObject * | self | ) |
BasicBlock destructor.
Definition at line 135 of file pyBasicBlock.cpp.
| void triton::bindings::python::BitsVector_dealloc | ( | PyObject * | self | ) |
BitsVector destructor.
Definition at line 75 of file pyBitsVector.cpp.
| void triton::bindings::python::Immediate_dealloc | ( | PyObject * | self | ) |
Immediate destructor.
Definition at line 121 of file pyImmediate.cpp.
| void triton::bindings::python::Instruction_dealloc | ( | PyObject * | self | ) |
Instruction destructor.
Definition at line 247 of file pyInstruction.cpp.
| void triton::bindings::python::MemoryAccess_dealloc | ( | PyObject * | self | ) |
MemoryAccess destructor.
Definition at line 158 of file pyMemoryAccess.cpp.
| void triton::bindings::python::PathConstraint_dealloc | ( | PyObject * | self | ) |
PathConstraint destructor.
Definition at line 113 of file pyPathConstraint.cpp.
| void triton::bindings::python::Register_dealloc | ( | PyObject * | self | ) |
Register destructor.
Definition at line 147 of file pyRegister.cpp.
| void triton::bindings::python::SolverModel_dealloc | ( | PyObject * | self | ) |
SolverModel destructor.
Definition at line 90 of file pySolverModel.cpp.
| void triton::bindings::python::SymbolicExpression_dealloc | ( | PyObject * | self | ) |
SymbolicExpression destructor.
Definition at line 141 of file pySymbolicExpression.cpp.
| void triton::bindings::python::SymbolicVariable_dealloc | ( | PyObject * | self | ) |
SymbolicVariable destructor.
Definition at line 89 of file pySymbolicVariable.cpp.
| PyMethodDef triton::bindings::python::AstContext_callbacks[] |
AstContext methods.
Definition at line 1777 of file pyAstContext.cpp.
| PyTypeObject triton::bindings::python::AstContext_Type |
Python description for an ast context.
Definition at line 1847 of file pyAstContext.cpp.
| PyMethodDef triton::bindings::python::AstNode_callbacks[] |
AstNode methods.
Definition at line 839 of file pyAstNode.cpp.
| PyNumberMethods triton::bindings::python::AstNode_NumberMethods |
AstNode operator methods.
Definition at line 863 of file pyAstNode.cpp.
| PyMethodDef triton::bindings::python::BasicBlock_callbacks[] |
BasicBlock methods.
Definition at line 236 of file pyBasicBlock.cpp.
| PyMethodDef triton::bindings::python::BitsVector_callbacks[] |
BitsVector methods.
Definition at line 141 of file pyBitsVector.cpp.
| PyMethodDef triton::bindings::python::Immediate_callbacks[] |
Immediate methods.
Definition at line 253 of file pyImmediate.cpp.
| PyMethodDef triton::bindings::python::Instruction_callbacks[] |
Instruction methods.
Definition at line 738 of file pyInstruction.cpp.
| PyMethodDef triton::bindings::python::MemoryAccess_callbacks[] |
MemoryAccess methods.
Definition at line 411 of file pyMemoryAccess.cpp.
| PyMethodDef triton::bindings::python::PathConstraint_callbacks[] |
PathConstraint methods.
Definition at line 220 of file pyPathConstraint.cpp.
| PyMethodDef triton::bindings::python::Register_callbacks[] |
Register methods.
Definition at line 368 of file pyRegister.cpp.
| PyMethodDef triton::bindings::python::SolverModel_callbacks[] |
SolverModel methods.
Definition at line 146 of file pySolverModel.cpp.
| PyMethodDef triton::bindings::python::SymbolicExpression_callbacks[] |
SymbolicExpression methods.
Definition at line 330 of file pySymbolicExpression.cpp.
| PyMethodDef triton::bindings::python::SymbolicVariable_callbacks[] |
SymbolicVariable methods.
Definition at line 267 of file pySymbolicVariable.cpp.
| PyMethodDef triton::bindings::python::TritonContext_callbacks[] |
TritonContext methods.
Definition at line 3584 of file pyTritonContext.cpp.
| PyTypeObject triton::bindings::python::TritonContext_Type |
Description of the python representation of a TritonContext.
Definition at line 3692 of file pyTritonContext.cpp.