decompiler
1.0.0
|
An Address range associated with the symbol Scope that owns it. More...
#include <database.hh>
Classes | |
class | NullSubsort |
Helper class for not doing any sub-sorting of overlapping ScopeMapper ranges. More... | |
Public Types | |
typedef Address | linetype |
The linear element for a rangemap. | |
typedef NullSubsort | subsorttype |
The sub-sort object for a rangemap. | |
typedef Scope * | inittype |
Initialization data for a ScopeMapper. | |
Public Member Functions | |
ScopeMapper (const inittype &data, const Address &f, const Address &l) | |
Initialize the range (with the owning Scope) | |
Address | getFirst (void) const |
Get the first address in the range. | |
Address | getLast (void) const |
Get the last address in the range. | |
NullSubsort | getSubsort (void) const |
Get the sub-subsort object. | |
Scope * | getScope (void) const |
Get the Scope owning this address range. | |
Private Attributes | |
Scope * | scope |
The Scope owning this address range. | |
Address | first |
The first address of the range. | |
Address | last |
The last address of the range. | |
Friends | |
class | Database |
An Address range associated with the symbol Scope that owns it.
As part of a rangemap, this forms a map from addresses to namespace Scopes so that the decompiler can quickly find the namespace Scope that holds the Symbol it sees accessed.