Findsorteddataindex

OllyDbg Plugin API

Findsorteddataindex

Searches for the first element of sorted data containing address within the specified range. Returns index of found item on success and -1 on error or when there is no such item. Index is valid till the next operation that adds or removes data.

int Findsorteddataindex(t_sorted *sd,ulong addr0,ulong addr1);

Parameters:

sd - pointer to descriptor of sorted data;

addr0 - start of address range in the address space of specified sorted data (included);

addr1 - end of address range in the address space of specified sorted data (not included).

See also: Findsorteddata, Findsorteddatarange, Getsortedbyselection