Addprotocolrange

int Addprotocolrange(ulong addr0,ulong addr1);

Adds range of addresses (addr1 is not included) to the list of ranges protocolled by run trace. New range may intersect with any number of existing ranges. If the list is inactive, activates it and removes old contents. Returns 0 on success, 1 if the list of ranges is full and -1 on any other error.


Parameters:

addr0
First address of the range in the memory of the debugged application
addr1
Last address of the range in the memory of the debugged application (not included), addr1>addr0


Return values:

Returns 0 on success (range is added), 1 if the list of ranges is full (already contains 63 distinct ranges) and -1 on any other error


See also:
Run trace, Findruntracerecord(), Getruntrace()