libTriton  version 0.6 build 1372
Modules | Namespaces | Classes | Functions | Variables
Pintool
Collaboration diagram for Pintool:

Modules

 Options
 
 Callback
 
 Context
 

Namespaces

 tracer::pintool::options
 The Options namespace.
 
 tracer::pintool::callbacks
 The Callbacks namespace.
 
 tracer::pintool::context
 The Context namespace.
 

Classes

class  tracer::pintool::Snapshot
 the snapshot class. More...
 
class  tracer::pintool::Trigger
 

Functions

bool tracer::pintool::execScript (const char *fileName)
 The python script which will be executed by Pin.
 
void tracer::pintool::initBindings (int argc, char *argv[])
 The initialization of the Pin's Python env.
 
triton::__uint tracer::pintool::getBaseAddress (triton::__uint address)
 Returns the base address from a given address.
 
triton::__uint tracer::pintool::getInsOffset (triton::__uint address)
 Returns the instruction offset from a given address.
 
std::string tracer::pintool::getImageName (triton::__uint address)
 Returns the image name from a given address.
 
std::string tracer::pintool::getRoutineName (triton::__uint address)
 Returns the routine name from a given address.
 

Variables

triton::API tracer::pintool::api
 Global triton API for pintools. More...
 
Trigger tracer::pintool::analysisTrigger = Trigger()
 Lock / Unlock InsertCall.
 
Snapshot tracer::pintool::snapshot = Snapshot()
 Snapshot engine.
 
PyMethodDef tracer::pintool::pintoolCallbacks []
 Python callbacks of the pintool module. More...
 

Detailed Description

Variable Documentation

◆ api

triton::API tracer::pintool::api

Global triton API for pintools.

The triton api for the pintool.

Definition at line 16 of file api.cpp.

◆ pintoolCallbacks

PyMethodDef tracer::pintool::pintoolCallbacks
Initial value:
= {
{"checkReadAccess", pintool_checkReadAccess, METH_O, ""},
{"checkWriteAccess", pintool_checkWriteAccess, METH_O, ""},
{"detachProcess", pintool_detachProcess, METH_NOARGS, ""},
{"disableSnapshot", pintool_disableSnapshot, METH_NOARGS, ""},
{"getCurrentMemoryValue", pintool_getCurrentMemoryValue, METH_VARARGS, ""},
{"getCurrentRegisterValue", pintool_getCurrentRegisterValue, METH_O, ""},
{"getImageName", pintool_getImageName, METH_O, ""},
{"getRoutineName", pintool_getRoutineName, METH_O, ""},
{"getSyscallArgument", pintool_getSyscallArgument, METH_VARARGS, ""},
{"getSyscallNumber", pintool_getSyscallNumber, METH_O, ""},
{"getSyscallReturn", pintool_getSyscallReturn, METH_O, ""},
{"getTritonContext", pintool_getTritonContext, METH_NOARGS, ""},
{"insertCall", pintool_insertCall, METH_VARARGS, ""},
{"isSnapshotEnabled", pintool_isSnapshotEnabled, METH_NOARGS, ""},
{"restoreSnapshot", pintool_restoreSnapshot, METH_NOARGS, ""},
{"runProgram", pintool_runProgram, METH_NOARGS, ""},
{"setCurrentMemoryValue", pintool_setCurrentMemoryValue, METH_VARARGS, ""},
{"setCurrentRegisterValue", pintool_setCurrentRegisterValue, METH_VARARGS, ""},
{"setupImageBlacklist", pintool_setupImageBlacklist, METH_O, ""},
{"setupImageWhitelist", pintool_setupImageWhitelist, METH_O, ""},
{"startAnalysisFromAddress", pintool_startAnalysisFromAddress, METH_O, ""},
{"startAnalysisFromEntry", pintool_startAnalysisFromEntry, METH_NOARGS, ""},
{"startAnalysisFromOffset", pintool_startAnalysisFromOffset, METH_O, ""},
{"startAnalysisFromSymbol", pintool_startAnalysisFromSymbol, METH_O, ""},
{"stopAnalysisFromAddress", pintool_stopAnalysisFromAddress, METH_O, ""},
{"stopAnalysisFromOffset", pintool_stopAnalysisFromOffset, METH_O, ""},
{"takeSnapshot", pintool_takeSnapshot, METH_NOARGS, ""},
{nullptr, nullptr, 0, nullptr}
}

Python callbacks of the pintool module.

Definition at line 569 of file bindings.cpp.