decompiler  1.0.0
Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
ghidra::ScopeMapper Class Reference

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 Scopeinittype
 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.
 
ScopegetScope (void) const
 Get the Scope owning this address range.
 

Private Attributes

Scopescope
 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
 

Detailed Description

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.


The documentation for this class was generated from the following file: