libTriton version 1.0 build 1592
|
Functions | |
void | triton::bindings::python::initArchNamespace (PyObject *archDict) |
Initializes the ARCH python namespace. | |
void | triton::bindings::python::initAstNodeNamespace (PyObject *astNodeDict) |
Initializes the AST_NODE python namespace. | |
void | triton::bindings::python::initAstRepresentationNamespace (PyObject *astRepresentationDict) |
Initializes the AST_REPRESENTATION python namespace. | |
void | triton::bindings::python::initCallbackNamespace (PyObject *callbackDict) |
Initializes the CALLBACK python namespace. | |
void | triton::bindings::python::initConditionsNamespace (PyObject *conditionsDict) |
Initializes the CONDITION python namespace. | |
void | triton::bindings::python::initCpuSizeNamespace (PyObject *cpuSizeDict) |
Initializes the CPUSIZE python namespace. | |
void | triton::bindings::python::initOpcodesNamespace (PyObject *opcodeDict) |
Initializes the OPCODE python namespace. | |
void | triton::bindings::python::initPrefixesNamespace (PyObject *prefixDict) |
Initializes the PREFIX python namespace. | |
void | triton::bindings::python::initOperandNamespace (PyObject *operandDict) |
Initializes the OPERAND python namespace. | |
void | triton::bindings::python::initShiftsNamespace (PyObject *shiftDict) |
Initializes the SHIFT python namespace. | |
void | triton::bindings::python::initExceptionNamespace (PyObject *exceptionDict) |
Initializes the EXCEPTION python namespace. | |
void | triton::bindings::python::initExtendNamespace (PyObject *extendDict) |
Initializes the EXTEND python namespace. | |
void | triton::bindings::python::initVASNamespace (PyObject *vasDict) |
Initializes the VAS python namespace. | |
void | triton::bindings::python::initRegNamespace (PyObject *regDict) |
Initializes the REG python namespace. | |
void | triton::bindings::python::initModeNamespace (PyObject *modeDict) |
Initializes the MODE python namespace. | |
void | triton::bindings::python::initSolverNamespace (PyObject *solverDict) |
Initializes the SOLVER python namespace. | |
void | triton::bindings::python::initSolverStateNamespace (PyObject *solverStateDict) |
Initializes the SOLVER_STATE python namespace. | |
void | triton::bindings::python::initStubsNamespace (PyObject *stubsDict) |
Initializes the STUBS python namespace. | |
void | triton::bindings::python::initSymbolicNamespace (PyObject *symbolicDict) |
Initializes the SYMBOLIC python namespace. | |
void | triton::bindings::python::initVersionNamespace (PyObject *versionDict) |
Initializes the VERSION python namespace. | |
PyMODINIT_FUNC | triton::bindings::python::inittriton (void) |
Entry point python bindings (Py2/3). | |
PyObject * | triton::bindings::python::PyInit_triton (void) |
PyObject * | triton::bindings::python::PyAstNode (const triton::ast::SharedAbstractNode &node) |
Creates the AstNode python class. | |
template<typename T > | |
PyObject * | triton::bindings::python::PyBitsVector (const T &op) |
Creates the BitsVector python class. | |
PyObject * | triton::bindings::python::PyImmediate (const triton::arch::Immediate &imm) |
Creates the Immediate python class. | |
PyObject * | triton::bindings::python::PyBasicBlock (void) |
Creates the BasicBlock python class. | |
PyObject * | triton::bindings::python::PyBasicBlock (const triton::arch::BasicBlock &block) |
Creates the BasicBlock python class. | |
PyObject * | triton::bindings::python::PyBasicBlock (std::vector< triton::arch::Instruction > &insts) |
Creates the BasicBlock python class. | |
PyObject * | triton::bindings::python::PyInstruction (void) |
Creates the Instruction python class. | |
PyObject * | triton::bindings::python::PyInstruction (const triton::arch::Instruction &inst) |
Creates the Instruction python class. | |
PyObject * | triton::bindings::python::PyInstruction (const void *opcodes, triton::uint32 opSize) |
Creates the Instruction python class. | |
PyObject * | triton::bindings::python::PyInstruction (triton::uint64 addr, const void *opcodes, triton::uint32 opSize) |
Creates the Instruction python class. | |
PyObject * | triton::bindings::python::PyMemoryAccess (const triton::arch::MemoryAccess &mem) |
Creates the Memory python class. | |
PyObject * | triton::bindings::python::PyPathConstraint (const triton::engines::symbolic::PathConstraint &pc) |
Creates the PathConstraint python class. | |
PyObject * | triton::bindings::python::PyTritonContext (void) |
Creates the new TritonContext python class. | |
PyObject * | triton::bindings::python::PyTritonContext (triton::arch::architecture_e arch) |
Creates the new TritonContext python class. | |
PyObject * | triton::bindings::python::PyTritonContextRef (triton::Context &ctx) |
Creates a TritonContext python class which is a reference to another Context. | |
PyObject * | triton::bindings::python::PyAstContext (const triton::ast::SharedAstContext &actx) |
Creates an AstContext python class. | |
PyObject * | triton::bindings::python::PyRegister (const triton::arch::Register ®) |
Creates the Register python class. | |
PyObject * | triton::bindings::python::PySolverModel (const triton::engines::solver::SolverModel &model) |
Creates the SolverModel python class. | |
PyObject * | triton::bindings::python::PySymbolicExpression (const triton::engines::symbolic::SharedSymbolicExpression &expr) |
Creates the SymbolicExpression python class. | |
PyObject * | triton::bindings::python::PySymbolicVariable (const triton::engines::symbolic::SharedSymbolicVariable &symVar) |
Creates the SymbolicVariable python class. | |
bool | triton::bindings::python::PyLong_AsBool (PyObject *obj) |
Returns a bool from a pyObject. | |
triton::__uint | triton::bindings::python::PyLong_AsUint (PyObject *obj) |
Returns a triton::__uint from a pyObject. | |
triton::usize | triton::bindings::python::PyLong_AsUsize (PyObject *obj) |
Returns a triton::usize from a pyObject. | |
triton::uint32 | triton::bindings::python::PyLong_AsUint32 (PyObject *obj) |
Returns a triton::uint32 from a pyObject. | |
triton::uint64 | triton::bindings::python::PyLong_AsUint64 (PyObject *obj) |
Returns a triton::uint64 from a pyObject. | |
triton::uint128 | triton::bindings::python::PyLong_AsUint128 (PyObject *obj) |
Returns a triton::uint128 from a pyObject. | |
triton::uint256 | triton::bindings::python::PyLong_AsUint256 (PyObject *obj) |
Returns a triton::uint256 from a pyObject. | |
triton::uint512 | triton::bindings::python::PyLong_AsUint512 (PyObject *obj) |
Returns a triton::uint512 from a pyObject. | |
PyObject * | triton::bindings::python::PyLong_FromUint (triton::__uint value) |
Returns a pyObject from a triton::__uint. | |
PyObject * | triton::bindings::python::PyLong_FromUsize (triton::usize value) |
Returns a pyObject from a triton::usize. | |
PyObject * | triton::bindings::python::PyLong_FromUint32 (triton::uint32 value) |
Returns a pyObject from a triton::uint32. | |
PyObject * | triton::bindings::python::PyLong_FromUint64 (triton::uint64 value) |
Returns a pyObject from a triton::uint64. | |
PyObject * | triton::bindings::python::PyLong_FromUint128 (triton::uint128 value) |
Returns a pyObject from a triton::uint128. | |
PyObject * | triton::bindings::python::PyLong_FromUint256 (triton::uint256 value) |
Returns a pyObject from a triton::uint256. | |
PyObject * | triton::bindings::python::PyLong_FromUint512 (triton::uint512 value) |
Returns a pyObject from a triton::uint512. | |
PyObject * | triton::bindings::python::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. | |
PyObject * | triton::bindings::python::xPyDict_New (void) |
Creates a PyDict and raises an exception if it fails. | |
PyObject * | triton::bindings::python::xPyList_New (Py_ssize_t len) |
Creates a PyList and raises an exception if it fails. | |
PyObject * | triton::bindings::python::xPyString_FromString (const char *v) |
Creates a PyString and raises an exception if it fails. | |
PyObject * | triton::bindings::python::xPyTuple_New (Py_ssize_t len) |
Creates a PyTuple and raises an exception if it fails. | |
int | triton::bindings::python::xPyDict_SetItemString (PyObject *p, const char *key, PyObject *val) |
Same as PyDict_SetItemString but decrements reference on object. | |
int | triton::bindings::python::xPyDict_SetItem (PyObject *p, PyObject *key, PyObject *val) |
Same as PyDict_SetItem but decrements reference on object and key. | |
Variables | |
PyObject * | triton::bindings::python::tritonModule = nullptr |
triton python module. | |
PyModuleDef | triton::bindings::python::tritonModuleDef |
triton python module definition. | |
PyMethodDef | triton::bindings::python::tritonCallbacks [] |
triton python methods. | |
PyTypeObject | triton::bindings::python::AstNode_Type |
pyAstNode type. | |
PyTypeObject | triton::bindings::python::BitsVector_Type |
pyBitsVector type. | |
PyTypeObject | triton::bindings::python::BasicBlock_Type |
pyBasicBlock type. | |
PyTypeObject | triton::bindings::python::Immediate_Type |
pyImmediate type. | |
PyTypeObject | triton::bindings::python::Instruction_Type |
pyInstruction type. | |
PyTypeObject | triton::bindings::python::MemoryAccess_Type |
pyMemory type. | |
PyTypeObject | triton::bindings::python::PathConstraint_Type |
pyPathConstraint type. | |
PyTypeObject | triton::bindings::python::Register_Type |
pyRegister type. | |
PyTypeObject | triton::bindings::python::TritonContextObject_Type |
pyRegister type. | |
PyTypeObject | triton::bindings::python::AstContextObject_Type |
pyRegister type. | |
PyTypeObject | triton::bindings::python::SolverModel_Type |
pySolverModel type. | |
PyTypeObject | triton::bindings::python::SymbolicExpression_Type |
pySymbolicExpression type. | |
PyTypeObject | triton::bindings::python::SymbolicVariable_Type |
pySymbolicVariable type. | |
void triton::bindings::python::initArchNamespace | ( | PyObject * | archDict | ) |
Initializes the ARCH python namespace.
Definition at line 43 of file initArchNamespace.cpp.
void triton::bindings::python::initAstNodeNamespace | ( | PyObject * | astNodeDict | ) |
Initializes the AST_NODE python namespace.
Definition at line 93 of file initAstNodeNamespace.cpp.
void triton::bindings::python::initAstRepresentationNamespace | ( | PyObject * | astRepresentationDict | ) |
Initializes the AST_REPRESENTATION python namespace.
Definition at line 105 of file initAstRepresentationNamespace.cpp.
void triton::bindings::python::initCallbackNamespace | ( | PyObject * | callbackDict | ) |
Initializes the CALLBACK python namespace.
Definition at line 63 of file initCallbackNamespace.cpp.
void triton::bindings::python::initConditionsNamespace | ( | PyObject * | conditionsDict | ) |
Initializes the CONDITION python namespace.
Definition at line 84 of file initConditionsNamespace.cpp.
void triton::bindings::python::initCpuSizeNamespace | ( | PyObject * | cpuSizeDict | ) |
Initializes the CPUSIZE python namespace.
Definition at line 84 of file initCpuSizeNamespace.cpp.
void triton::bindings::python::initExceptionNamespace | ( | PyObject * | exceptionDict | ) |
Initializes the EXCEPTION python namespace.
Definition at line 51 of file initExceptionNamespace.cpp.
void triton::bindings::python::initExtendNamespace | ( | PyObject * | extendDict | ) |
Initializes the EXTEND python namespace.
Definition at line 63 of file initExtendNamespace.cpp.
void triton::bindings::python::initModeNamespace | ( | PyObject * | modeDict | ) |
Initializes the MODE python namespace.
Definition at line 78 of file initModeNamespace.cpp.
void triton::bindings::python::initOpcodesNamespace | ( | PyObject * | opcodesDict | ) |
Initializes the OPCODE python namespace.
Definition at line 2366 of file initOpcodesNamespace.cpp.
void triton::bindings::python::initOperandNamespace | ( | PyObject * | operandDict | ) |
Initializes the OPERAND python namespace.
Definition at line 41 of file initOperandNamespace.cpp.
void triton::bindings::python::initPrefixesNamespace | ( | PyObject * | prefixesDict | ) |
Initializes the PREFIX python namespace.
Definition at line 43 of file initPrefixesNamespace.cpp.
void triton::bindings::python::initRegNamespace | ( | PyObject * | registersDict | ) |
Initializes the REG python namespace.
Definition at line 86 of file initRegNamespace.cpp.
void triton::bindings::python::initShiftsNamespace | ( | PyObject * | shiftsDict | ) |
Initializes the SHIFT python namespace.
Definition at line 69 of file initShiftsNamespace.cpp.
void triton::bindings::python::initSolverNamespace | ( | PyObject * | solverDict | ) |
Initializes the SOLVER python namespace.
Definition at line 39 of file initSolverNamespace.cpp.
void triton::bindings::python::initSolverStateNamespace | ( | PyObject * | solverStateDict | ) |
Initializes the SOLVER_STATE python namespace.
Definition at line 42 of file initSolverStateNamespace.cpp.
void triton::bindings::python::initStubsNamespace | ( | PyObject * | stubsDict | ) |
Initializes the STUBS python namespace.
Definition at line 136 of file initStubsNamespace.cpp.
void triton::bindings::python::initSymbolicNamespace | ( | PyObject * | symbolicDict | ) |
Initializes the SYMBOLIC python namespace.
Definition at line 43 of file initSymbolicNamespace.cpp.
PyMODINIT_FUNC triton::bindings::python::inittriton | ( | void | ) |
void triton::bindings::python::initVASNamespace | ( | PyObject * | vasDict | ) |
Initializes the VAS python namespace.
Definition at line 63 of file initVASNamespace.cpp.
void triton::bindings::python::initVersionNamespace | ( | PyObject * | versionDict | ) |
Initializes the VERSION python namespace.
Definition at line 44 of file initVersionNamespace.cpp.
PyObject * triton::bindings::python::PyAstContext | ( | const triton::ast::SharedAstContext & | actx | ) |
Creates an AstContext python class.
Definition at line 1909 of file pyAstContext.cpp.
PyObject * triton::bindings::python::PyAstNode | ( | const triton::ast::SharedAbstractNode & | node | ) |
Creates the AstNode python class.
Definition at line 988 of file pyAstNode.cpp.
PyObject * triton::bindings::python::PyBasicBlock | ( | const triton::arch::BasicBlock & | block | ) |
Creates the BasicBlock python class.
Definition at line 313 of file pyBasicBlock.cpp.
PyObject * triton::bindings::python::PyBasicBlock | ( | std::vector< triton::arch::Instruction > & | insts | ) |
Creates the BasicBlock python class.
Definition at line 325 of file pyBasicBlock.cpp.
PyObject * triton::bindings::python::PyBasicBlock | ( | void | ) |
Creates the BasicBlock python class.
Definition at line 337 of file pyBasicBlock.cpp.
PyObject * triton::bindings::python::PyBitsVector | ( | const T & | op | ) |
Creates the BitsVector python class.
Definition at line 220 of file pyBitsVector.cpp.
PyObject * triton::bindings::python::PyImmediate | ( | const triton::arch::Immediate & | imm | ) |
Creates the Immediate python class.
Definition at line 333 of file pyImmediate.cpp.
PyObject * triton::bindings::python::PyInstruction | ( | const triton::arch::Instruction & | inst | ) |
Creates the Instruction python class.
Definition at line 852 of file pyInstruction.cpp.
PyObject * triton::bindings::python::PyInstruction | ( | const void * | opcode, |
triton::uint32 | opSize ) |
Creates the Instruction python class.
Definition at line 864 of file pyInstruction.cpp.
PyObject * triton::bindings::python::PyInstruction | ( | triton::uint64 | addr, |
const void * | opcode, | ||
triton::uint32 | opSize ) |
Creates the Instruction python class.
Definition at line 876 of file pyInstruction.cpp.
PyObject * triton::bindings::python::PyInstruction | ( | void | ) |
Creates the Instruction python class.
Definition at line 840 of file pyInstruction.cpp.
bool triton::bindings::python::PyLong_AsBool | ( | PyObject * | obj | ) |
triton::__uint triton::bindings::python::PyLong_AsUint | ( | PyObject * | vv | ) |
Returns a triton::__uint from a pyObject.
triton::uint128 triton::bindings::python::PyLong_AsUint128 | ( | PyObject * | vv | ) |
Returns a triton::uint128 from a pyObject.
triton::uint256 triton::bindings::python::PyLong_AsUint256 | ( | PyObject * | vv | ) |
Returns a triton::uint256 from a pyObject.
triton::uint32 triton::bindings::python::PyLong_AsUint32 | ( | PyObject * | vv | ) |
Returns a triton::uint32 from a pyObject.
triton::uint512 triton::bindings::python::PyLong_AsUint512 | ( | PyObject * | vv | ) |
Returns a triton::uint512 from a pyObject.
triton::uint64 triton::bindings::python::PyLong_AsUint64 | ( | PyObject * | vv | ) |
Returns a triton::uint64 from a pyObject.
triton::usize triton::bindings::python::PyLong_AsUsize | ( | PyObject * | vv | ) |
Returns a triton::usize from a pyObject.
PyObject * triton::bindings::python::PyLong_FromUint | ( | triton::__uint | value | ) |
Returns a pyObject from a triton::__uint.
PyObject * triton::bindings::python::PyLong_FromUint128 | ( | triton::uint128 | value | ) |
Returns a pyObject from a triton::uint128.
PyObject * triton::bindings::python::PyLong_FromUint256 | ( | triton::uint256 | value | ) |
Returns a pyObject from a triton::uint256.
PyObject * triton::bindings::python::PyLong_FromUint32 | ( | triton::uint32 | value | ) |
Returns a pyObject from a triton::uint32.
PyObject * triton::bindings::python::PyLong_FromUint512 | ( | triton::uint512 | value | ) |
Returns a pyObject from a triton::uint512.
PyObject * triton::bindings::python::PyLong_FromUint64 | ( | triton::uint64 | value | ) |
Returns a pyObject from a triton::uint64.
PyObject * triton::bindings::python::PyLong_FromUsize | ( | triton::usize | value | ) |
Returns a pyObject from a triton::usize.
PyObject * triton::bindings::python::PyMemoryAccess | ( | const triton::arch::MemoryAccess & | mem | ) |
Creates the Memory python class.
Definition at line 499 of file pyMemoryAccess.cpp.
PyObject * triton::bindings::python::PyPathConstraint | ( | const triton::engines::symbolic::PathConstraint & | pc | ) |
Creates the PathConstraint python class.
Definition at line 295 of file pyPathConstraint.cpp.
PyObject * triton::bindings::python::PyRegister | ( | const triton::arch::Register & | reg | ) |
Creates the Register python class.
Definition at line 453 of file pyRegister.cpp.
PyObject * triton::bindings::python::PySolverModel | ( | const triton::engines::solver::SolverModel & | model | ) |
Creates the SolverModel python class.
Definition at line 220 of file pySolverModel.cpp.
PyObject * triton::bindings::python::PySymbolicExpression | ( | const triton::engines::symbolic::SharedSymbolicExpression & | symExpr | ) |
Creates the SymbolicExpression python class.
Definition at line 414 of file pySymbolicExpression.cpp.
PyObject * triton::bindings::python::PySymbolicVariable | ( | const triton::engines::symbolic::SharedSymbolicVariable & | symVar | ) |
Creates the SymbolicVariable python class.
Definition at line 347 of file pySymbolicVariable.cpp.
PyObject * triton::bindings::python::PyTritonContext | ( | triton::arch::architecture_e | arch | ) |
Creates the new TritonContext python class.
Definition at line 3737 of file pyTritonContext.cpp.
PyObject * triton::bindings::python::PyTritonContext | ( | void | ) |
Creates the new TritonContext python class.
Definition at line 3723 of file pyTritonContext.cpp.
PyObject * triton::bindings::python::PyTritonContextRef | ( | triton::Context & | ctx | ) |
Creates a TritonContext python class which is a reference to another Context.
Definition at line 3751 of file pyTritonContext.cpp.
PyObject * triton::bindings::python::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.
Definition at line 53 of file pyXFunctions.cpp.
PyObject * triton::bindings::python::xPyDict_New | ( | void | ) |
Creates a PyDict and raises an exception if it fails.
Definition at line 21 of file pyXFunctions.cpp.
int triton::bindings::python::xPyDict_SetItem | ( | PyObject * | p, |
PyObject * | key, | ||
PyObject * | val ) |
Same as PyDict_SetItem but decrements reference on object and key.
Definition at line 79 of file pyXFunctions.cpp.
int triton::bindings::python::xPyDict_SetItemString | ( | PyObject * | p, |
const char * | key, | ||
PyObject * | val ) |
Same as PyDict_SetItemString but decrements reference on object.
Definition at line 72 of file pyXFunctions.cpp.
PyObject * triton::bindings::python::xPyList_New | ( | Py_ssize_t | len | ) |
Creates a PyList and raises an exception if it fails.
Definition at line 29 of file pyXFunctions.cpp.
PyObject * triton::bindings::python::xPyString_FromString | ( | const char * | v | ) |
Creates a PyString and raises an exception if it fails.
Definition at line 45 of file pyXFunctions.cpp.
PyObject * triton::bindings::python::xPyTuple_New | ( | Py_ssize_t | len | ) |
Creates a PyTuple and raises an exception if it fails.
Definition at line 37 of file pyXFunctions.cpp.
PyTypeObject triton::bindings::python::AstNode_Type |
pyAstNode type.
Definition at line 918 of file pyAstNode.cpp.
PyTypeObject triton::bindings::python::BasicBlock_Type |
pyBasicBlock type.
Definition at line 247 of file pyBasicBlock.cpp.
PyTypeObject triton::bindings::python::BitsVector_Type |
pyBitsVector type.
Definition at line 150 of file pyBitsVector.cpp.
PyTypeObject triton::bindings::python::Immediate_Type |
pyImmediate type.
Definition at line 267 of file pyImmediate.cpp.
PyTypeObject triton::bindings::python::Instruction_Type |
pyInstruction type.
Definition at line 774 of file pyInstruction.cpp.
PyTypeObject triton::bindings::python::MemoryAccess_Type |
pyMemory type.
Definition at line 433 of file pyMemoryAccess.cpp.
PyTypeObject triton::bindings::python::PathConstraint_Type |
pyPathConstraint type.
Definition at line 233 of file pyPathConstraint.cpp.
PyTypeObject triton::bindings::python::Register_Type |
pyRegister type.
Definition at line 387 of file pyRegister.cpp.
PyTypeObject triton::bindings::python::SolverModel_Type |
pySolverModel type.
Definition at line 154 of file pySolverModel.cpp.
PyTypeObject triton::bindings::python::SymbolicExpression_Type |
pySymbolicExpression type.
Definition at line 348 of file pySymbolicExpression.cpp.
PyTypeObject triton::bindings::python::SymbolicVariable_Type |
pySymbolicVariable type.
Definition at line 281 of file pySymbolicVariable.cpp.
PyMethodDef triton::bindings::python::tritonCallbacks |
triton python methods.
Definition at line 234 of file tritonCallbacks.cpp.
PyObject * triton::bindings::python::tritonModule = nullptr |
PyModuleDef triton::bindings::python::tritonModuleDef |
triton python module definition.