From 2c35ac62355b09a8dc4db97b7ddb9c8fec67bd40 Mon Sep 17 00:00:00 2001 From: Bjoern Doebel Date: Fri, 9 Aug 2013 14:57:20 +0200 Subject: [PATCH] RangeFilter: make boundaries inclusive Change-Id: Iecf7de565053bcd99a19a02722adcef458f5550b --- src/experiments/l4-sys/InstructionFilter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/experiments/l4-sys/InstructionFilter.hpp b/src/experiments/l4-sys/InstructionFilter.hpp index fd8a20ea..79c1bdbe 100644 --- a/src/experiments/l4-sys/InstructionFilter.hpp +++ b/src/experiments/l4-sys/InstructionFilter.hpp @@ -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; //