-
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
5 changed files
with
64 additions
and
16 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 |
---|---|---|
|
@@ -27,4 +27,5 @@ SymtabAPI | |
Object.h | ||
Object-nt.h | ||
Region.h | ||
relocationEntry.h | ||
Type-mem.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,59 @@ | ||
.. _`sec:relocationEntry.h`: | ||
|
||
relocationEntry.h | ||
################# | ||
|
||
.. cpp:namespace:: Dyninst::SymtabAPI | ||
|
||
.. cpp:class:: relocationEntry : public AnnotatableSparse | ||
|
||
.. cpp:member:: private Offset target_addr_ | ||
|
||
Target address of call instruction | ||
|
||
.. cpp:member:: private Offset rel_addr_ | ||
|
||
Address of corresponding relocation entry | ||
|
||
.. cpp:member:: private Offset addend_ | ||
|
||
Addend (from RELA entries) | ||
|
||
.. cpp:member:: private Region::RegionType rtype_ | ||
|
||
RT_REL vs. RT_RELA | ||
|
||
.. cpp:function:: relocationEntry() | ||
.. cpp:function:: relocationEntry(Offset ta, Offset ra, Offset add, std::string n, Symbol *dynref = NULL, unsigned long relType = 0) | ||
.. cpp:function:: relocationEntry(Offset ta, Offset ra, std::string n, Symbol *dynref = NULL, unsigned long relType = 0) | ||
.. cpp:function:: relocationEntry(Offset ra, std::string n, Symbol *dynref = NULL, unsigned long relType = 0, Region::RegionType rtype = Region::RT_REL) | ||
.. cpp:function:: relocationEntry(Offset ta, Offset ra, Offset add, std::string n, Symbol *dynref = NULL, unsigned long relType = 0, Region::RegionType rtype = Region::RT_REL) | ||
.. cpp:function:: Offset target_addr() const | ||
.. cpp:function:: Offset rel_addr() const | ||
.. cpp:function:: Offset addend() const | ||
.. cpp:function:: Region::RegionType regionType() const | ||
.. cpp:function:: const std::string &name() const | ||
.. cpp:function:: Symbol *getDynSym() const | ||
.. cpp:function:: bool addDynSym(Symbol *dynref) | ||
.. cpp:function:: unsigned long getRelType() const | ||
.. cpp:function:: void setTargetAddr(const Offset) | ||
.. cpp:function:: void setRelAddr(const Offset) | ||
.. cpp:function:: void setAddend(const Offset) | ||
.. cpp:function:: void setRegionType(const Region::RegionType) | ||
.. cpp:function:: void setName(const std::string &newName) | ||
.. cpp:function:: void setRelType(unsigned long relType) | ||
.. cpp:function:: bool operator==(const relocationEntry &) const | ||
.. cpp:function:: static unsigned long getGlobalRelType(unsigned addressWidth, Symbol *sym = NULL) | ||
.. cpp:function:: static const char *relType2Str(unsigned long r, unsigned addressWidth = sizeof(Address)) | ||
.. cpp:function:: category getCategory( unsigned addressWidth ) | ||
|
||
.. cpp:enum:: relocationEntry::@rel | ||
|
||
.. cpp:enumerator:: pltrel = 1 | ||
.. cpp:enumerator:: dynrel = 2 | ||
|
||
.. cpp:enum:: category | ||
|
||
.. cpp:enumerator:: relative | ||
.. cpp:enumerator:: jump_slot | ||
.. cpp:enumerator:: absolute |
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 |
---|---|---|
|
@@ -14,7 +14,6 @@ SymtabAPI | |
Module.h | ||
RangeLookup.h | ||
Region.h | ||
relocationEntry.h | ||
Statement.h | ||
StringTable.h | ||
Symbol.h | ||
|
This file was deleted.
Oops, something went wrong.
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