Getproclimits

OllyDbg Plugin API

Getproclimits

Calculates limits of the procedure that includes specified address. Returns 0 on success and -1 on error, for example, when module is not analyzed or address points to no procedure.

int Getproclimits(ulong addr,ulong *start,ulong *end);

Parameters:

addr - address of any command within the procedure;

start - pointer to variable that receives start address of the procedure;

end - pointer to variable that receives address of the last command in the procedure.

See also: Findprocbegin, Findprocend, Findprevproc, Findnextproc