libTriton  version 0.6 build 1389
Functions | Variables
tracer::pintool::context Namespace Reference

The Context namespace. More...

Functions

triton::uint512 getCurrentRegisterValue (const triton::arch::Register &reg)
 Returns the current register value from a Register.
 
triton::uint512 getCurrentMemoryValue (const triton::arch::MemoryAccess &mem)
 Returns the current memory value from a MemoryAccess.
 
triton::uint512 getCurrentMemoryValue (triton::__uint addr)
 Returns the current memory value from an address.
 
triton::uint512 getCurrentMemoryValue (triton::__uint addr, triton::uint32 size)
 Returns the current memory value from an address with a specified readable size.
 
void setCurrentRegisterValue (const triton::arch::Register &reg, triton::uint512 value)
 Sets the current register value from a Register.
 
void setCurrentMemoryValue (const triton::arch::MemoryAccess &mem, triton::uint512 value)
 Sets the current memory value from a MemoryAccess.
 
void setCurrentMemoryValue (triton::__uint addr, triton::uint8 value)
 Sets the current memory value from an address.
 
void executeContext (void)
 Executes the new context.
 
void needConcreteRegisterValue (triton::API &api, const triton::arch::Register &reg)
 Callback to provide concrete register values only if Triton needs them - cf #376.
 
void needConcreteMemoryValue (triton::API &api, const triton::arch::MemoryAccess &mem)
 Callback to provide concrete memory values only if Triton needs them - cf #632.
 
void synchronizeContext (void)
 Synchronize weird behavior from Pin to libTriton.
 

Variables

CONTEXT * lastContext = nullptr
 The last Pin CONTEXT known.
 
bool mustBeExecuted = false
 True if the context must be executed.
 

Detailed Description

The Context namespace.