Findlabelbyname

OllyDbg Plugin API

Findlabelbyname

Searches for name of types NM_LABEL, NM_EXPORT, NM_IMPORT, NM_LIBRARY or NM_CONST in the specified range. If name is found, copies its address to *addr and returns type of label, otherwise returns NM_NONAME. Attention, this function is very slow, it searches name table sequentially!

int Findlabelbyname(char *name,ulong *addr,ulong addr0,ulong addr1);

Parameters:

name - pointer to output buffer of length at least TEXTLEN characters;

addr - pointer to variable that receives address of found name;

addr0 - start of address range (included);

addr1 - end of address range (not included).

See also: Findname, Findlabel, Findimportbyname