diff options
Diffstat (limited to 'tester/covoar/CoverageMapBase.cc')
-rw-r--r-- | tester/covoar/CoverageMapBase.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tester/covoar/CoverageMapBase.cc b/tester/covoar/CoverageMapBase.cc index ad0080d..6ca5cf7 100644 --- a/tester/covoar/CoverageMapBase.cc +++ b/tester/covoar/CoverageMapBase.cc @@ -142,6 +142,11 @@ namespace Coverage { return size; } + uint32_t CoverageMapBase::getSizeOfRange( size_t index ) const + { + return Ranges.at(index).size(); + } + bool CoverageMapBase::getBeginningOfInstruction( uint32_t address, uint32_t* beginning @@ -178,6 +183,11 @@ namespace Coverage { return Ranges.front().lowAddress; } + uint32_t CoverageMapBase::getLowAddressOfRange( size_t index ) const + { + return Ranges.at(index).lowAddress; + } + bool CoverageMapBase::getRange( uint32_t address, AddressRange& range ) const { for ( auto r : Ranges ) { |