#include <range_map.h>
|
void | AddDualRange (uint64_t addr, uint64_t size, uint64_t otheraddr, const std::string &val) |
|
void | AddRange (uint64_t addr, uint64_t size, const std::string &val) |
|
bool | AddRangeWithTranslation (uint64_t addr, uint64_t size, const std::string &val, const RangeMap &translator, bool verbose, RangeMap *other) |
|
void | Compress () |
|
bool | CoversRange (uint64_t addr, uint64_t size) const |
|
std::string | DebugString () const |
|
template<class T > |
std::string | EntryDebugString (T it) const |
|
template<class Func > |
void | ForEachRange (Func func) const |
|
template<class Func > |
void | ForEachRangeWithStart (uint64_t start, Func func) const |
|
uint64_t | GetMaxAddress () const |
|
RangeMap & | operator= (RangeMap &&other)=default |
|
RangeMap & | operator= (RangeMap &other)=delete |
|
| RangeMap ()=default |
|
| RangeMap (RangeMap &&other)=default |
|
| RangeMap (RangeMap &other)=delete |
|
bool | Translate (uint64_t addr, uint64_t *translated) const |
|
bool | TryGetLabel (uint64_t addr, std::string *label) const |
|
bool | TryGetLabelForRange (uint64_t addr, uint64_t size, std::string *label) const |
|
bool | TryGetSize (uint64_t addr, uint64_t *size) const |
|
|
template<class T > |
void | CheckConsistency (T iter) const |
|
template<class T > |
bool | EntryContains (T iter, uint64_t addr) const |
|
template<class T > |
bool | EntryContainsStrict (T iter, uint64_t addr) const |
|
Map::const_iterator | FindContaining (uint64_t addr) const |
|
Map::iterator | FindContainingOrAfter (uint64_t addr) |
|
Map::const_iterator | FindContainingOrAfter (uint64_t addr) const |
|
bool | IterIsEnd (Map::const_iterator iter) const |
|
template<class T > |
void | MaybeSetLabel (T iter, const std::string &label, uint64_t addr, uint64_t end) |
|
uint64_t | RangeEnd (Map::const_iterator iter) const |
|
uint64_t | RangeEndUnknownLimit (Map::const_iterator iter, uint64_t unknown) const |
|
template<class T > |
bool | TranslateAndTrimRangeWithEntry (T iter, uint64_t addr, uint64_t size, uint64_t *trimmed_addr, uint64_t *translated_addr, uint64_t *trimmed_size) const |
|
template<class T > |
uint64_t | TranslateWithEntry (T iter, uint64_t addr) const |
|
Definition at line 46 of file range_map.h.
◆ Map
◆ RangeMap() [1/3]
bloaty::RangeMap::RangeMap |
( |
| ) |
|
|
default |
◆ RangeMap() [2/3]
bloaty::RangeMap::RangeMap |
( |
RangeMap && |
other | ) |
|
|
default |
◆ RangeMap() [3/3]
bloaty::RangeMap::RangeMap |
( |
RangeMap & |
other | ) |
|
|
delete |
◆ AddDualRange()
◆ AddRange()
◆ AddRangeWithTranslation()
◆ CheckConsistency()
template<class T >
void bloaty::RangeMap::CheckConsistency |
( |
T |
iter | ) |
const |
|
inlineprivate |
◆ Compress()
void bloaty::RangeMap::Compress |
( |
| ) |
|
◆ ComputeRollup()
template<class Func >
void bloaty::RangeMap::ComputeRollup |
( |
const std::vector< const RangeMap * > & |
range_maps, |
|
|
Func |
func |
|
) |
| |
|
static |
◆ CoversRange()
◆ DebugString()
std::string bloaty::RangeMap::DebugString |
( |
| ) |
const |
◆ EntryContains()
template<class T >
bool bloaty::RangeMap::EntryContains |
( |
T |
iter, |
|
|
uint64_t |
addr |
|
) |
| const |
|
inlineprivate |
◆ EntryContainsStrict()
template<class T >
bool bloaty::RangeMap::EntryContainsStrict |
( |
T |
iter, |
|
|
uint64_t |
addr |
|
) |
| const |
|
inlineprivate |
◆ EntryDebugString() [1/2]
template<class T >
std::string bloaty::RangeMap::EntryDebugString |
( |
T |
it | ) |
const |
|
inline |
◆ EntryDebugString() [2/2]
◆ FindContaining()
RangeMap::Map::const_iterator bloaty::RangeMap::FindContaining |
( |
uint64_t |
addr | ) |
const |
|
private |
◆ FindContainingOrAfter() [1/2]
◆ FindContainingOrAfter() [2/2]
RangeMap::Map::const_iterator bloaty::RangeMap::FindContainingOrAfter |
( |
uint64_t |
addr | ) |
const |
|
private |
◆ ForEachRange()
template<class Func >
void bloaty::RangeMap::ForEachRange |
( |
Func |
func | ) |
const |
|
inline |
◆ ForEachRangeWithStart()
template<class Func >
void bloaty::RangeMap::ForEachRangeWithStart |
( |
uint64_t |
start, |
|
|
Func |
func |
|
) |
| const |
|
inline |
◆ GetMaxAddress()
uint64_t bloaty::RangeMap::GetMaxAddress |
( |
| ) |
const |
◆ IterIsEnd()
bool bloaty::RangeMap::IterIsEnd |
( |
Map::const_iterator |
iter | ) |
const |
|
inlineprivate |
◆ MaybeSetLabel()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ RangeEnd()
uint64_t bloaty::RangeMap::RangeEnd |
( |
Map::const_iterator |
iter | ) |
const |
|
inlineprivate |
◆ RangeEndUnknownLimit()
uint64_t bloaty::RangeMap::RangeEndUnknownLimit |
( |
Map::const_iterator |
iter, |
|
|
uint64_t |
unknown |
|
) |
| const |
|
inlineprivate |
◆ Translate()
◆ TranslateAndTrimRangeWithEntry()
◆ TranslateWithEntry()
◆ TryGetLabel()
bool bloaty::RangeMap::TryGetLabel |
( |
uint64_t |
addr, |
|
|
std::string * |
label |
|
) |
| const |
◆ TryGetLabelForRange()
bool bloaty::RangeMap::TryGetLabelForRange |
( |
uint64_t |
addr, |
|
|
uint64_t |
size, |
|
|
std::string * |
label |
|
) |
| const |
◆ TryGetSize()
◆ RangeMapTest
◆ kNoTranslation
◆ kUnknownSize
◆ mappings_
Map bloaty::RangeMap::mappings_ |
|
private |
The documentation for this class was generated from the following files: