Findhittrace

OllyDbg Plugin API

Findhittrace

Looks whether hit trace information is available starting from specified address. Returns pointer to hit trace information corresponding to given address and optionally sets *ptracecopy to copy of original code and *psize to size of remaining data. Returns NULL and sets *psize to 0 if there is no decoding information. Hit trace information is an array of bytes that are the combination of bits TR_xxx.

char *Findhittrace(ulong addr,char **ptracecopy,ulong *psize);

Parameters:

addr - address of first byte of the code in the address space of debugged application;

ptracecopy - pointer to variable that receives pointer to statical copy of original code, may be NULL;

psize - pointer to variable that receives size of hit trace and copy data, may be NULL.

See also: Modifyhittrace, Runtracesize