RangeFilter: make boundaries inclusive

Change-Id: Iecf7de565053bcd99a19a02722adcef458f5550b
This commit is contained in:
Bjoern Doebel
2013-08-09 14:57:20 +02:00
parent 5364cfefaa
commit 2c35ac6235

View File

@ -47,7 +47,7 @@ public:
* \c false otherwise
*/
bool isValidInstr(address_t ip, char const *instr) const
{ return (beginAddress < ip && ip < endAddress); }
{ return (beginAddress <= ip && ip <= endAddress); }
private:
address_t beginAddress; //<! the beginning of the address range
address_t endAddress; //<! the end of the address range