-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ SymtabAPI | |
:maxdepth: 1 | ||
|
||
notes | ||
Aggregate.h | ||
annotations.h | ||
debug.h | ||
dwarfWalker.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.. _`sec-dev:Aggregate.h`: | ||
|
||
Aggregate.h | ||
########### | ||
|
||
.. cpp:namespace:: Dyninst::SymtabAPI::dev | ||
|
||
.. cpp:class:: Aggregate | ||
|
||
.. cpp:member:: protected Module *module_ | ||
|
||
Module we keep here so we can have the correct "primary" | ||
|
||
.. cpp:member:: protected mutable dyn_mutex lock_ | ||
.. cpp:member:: protected std::vector<Symbol *> symbols_ | ||
.. cpp:member:: protected Symbol *firstSymbol | ||
|
||
cached for speed | ||
|
||
.. cpp:member:: protected Offset offset_ | ||
|
||
cached for speed | ||
|
||
.. cpp:function:: protected Aggregate() | ||
.. cpp:function:: protected Aggregate(Symbol *sym) | ||
.. cpp:function:: protected Aggregate(Module *m) | ||
.. cpp:function:: protected bool addMangledNameInternal(std::string name, bool isPrimary, bool demangle) | ||
.. cpp:function:: protected void print(std::ostream &) const | ||
.. cpp:function:: protected bool removeSymbolInt(Symbol *sym) | ||
.. cpp:function:: protected virtual bool changeSymbolOffset(Symbol *sym) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,34 @@ | ||
.. _`sec:Aggregate.h`: | ||
|
||
Aggregate.h | ||
=========== | ||
########### | ||
|
||
.. cpp:namespace:: Dyninst::SymtabAPI | ||
|
||
.. cpp:class:: Aggregate | ||
|
||
**A common superclass for all Symbol aggregates** | ||
|
||
.. cpp:type:: name_iter = boost::transform_iterator<decltype(std::mem_fn(&Symbol::getPrettyName)), std::vector<Symbol*>::const_iterator> | ||
.. cpp:function:: virtual ~Aggregate() | ||
.. cpp:function:: virtual Offset getOffset() const | ||
.. cpp:function:: virtual unsigned getSize() const | ||
.. cpp:function:: Module * getModule() const | ||
.. cpp:function:: Region * getRegion() const | ||
.. cpp:function:: bool addSymbol(Symbol *sym) | ||
.. cpp:function:: virtual bool removeSymbol(Symbol *sym) = 0 | ||
.. cpp:function:: bool getSymbols(std::vector<Symbol *> &syms) const | ||
.. cpp:function:: Symbol *getFirstSymbol() const | ||
.. cpp:function:: name_iter mangled_names_begin() const | ||
.. cpp:function:: name_iter mangled_names_end() const | ||
.. cpp:function:: name_iter pretty_names_begin() const | ||
.. cpp:function:: name_iter pretty_names_end() const | ||
.. cpp:function:: name_iter typed_names_begin() const | ||
.. cpp:function:: name_iter typed_names_end() const | ||
.. cpp:function:: virtual bool addMangledName(std::string name, bool isPrimary, bool isDebug=false) | ||
.. cpp:function:: virtual bool addPrettyName(std::string name, bool isPrimary, bool isDebug=false) | ||
.. cpp:function:: virtual bool addTypedName(std::string name, bool isPrimary, bool isDebug=false) | ||
.. cpp:function:: bool setSize(unsigned size) | ||
.. cpp:function:: bool setOffset(unsigned offset) | ||
.. cpp:function:: bool operator==(const Aggregate &a) | ||
.. cpp:function:: std::ostream& operator<<(std::ostream &os, Aggregate const& a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters