-
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
58 additions
and
6 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 |
---|---|---|
|
@@ -37,5 +37,6 @@ ParseAPI | |
ProbabilisticParser.h | ||
StackTamperVisitor.h | ||
SymbolicExpression.h | ||
SymLiteCodeSource.h | ||
ThunkData.h | ||
util.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,16 @@ | ||
.. _`sec-dev:SymLiteCodeSource.h`: | ||
|
||
SymLiteCodeSource.h | ||
################### | ||
|
||
.. cpp:namespace:: Dyninst::ParseAPI::dev | ||
|
||
.. cpp:class:: SymReaderCodeSource : public CodeSource | ||
|
||
.. cpp:function:: void removeHint(Hint) | ||
.. cpp:function:: static void addNonReturning(std::string func_name) | ||
.. cpp:function:: void print_stats() const | ||
.. cpp:function:: bool have_stats() const | ||
.. cpp:function:: void incrementCounter(const std::string& name) const | ||
.. cpp:function:: void addCounter(const std::string& name, int num) const | ||
.. cpp:function:: void decrementCounter(const std::string& name) const |
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,44 @@ | ||
.. _`sec:SymLiteCodeSource.h`: | ||
|
||
SymLiteCodeSource.h | ||
=================== | ||
################### | ||
|
||
.. cpp:namespace:: Dyninst::ParseAPI | ||
|
||
.. cpp:class:: SymReaderCodeRegion : public CodeRegion | ||
|
||
.. cpp:function:: SymReaderCodeRegion(SymReader *, SymSegment *) | ||
.. cpp:function:: void names(Address, std::vector<std::string> &) override | ||
.. cpp:function:: bool findCatchBlock(Address addr, Address & catchStart) override | ||
.. cpp:function:: bool isValidAddress(const Address) const override | ||
.. cpp:function:: void* getPtrToInstruction(const Address) const override | ||
.. cpp:function:: void* getPtrToData(const Address) const override | ||
.. cpp:function:: unsigned int getAddressWidth() const override | ||
.. cpp:function:: bool isCode(const Address) const override | ||
.. cpp:function:: bool isData(const Address) const override | ||
.. cpp:function:: bool isReadOnly(const Address) const override | ||
.. cpp:function:: Address offset() const override | ||
.. cpp:function:: Address length() const override | ||
.. cpp:function:: Architecture getArch() const override | ||
.. cpp:function:: Address low() const override | ||
.. cpp:function:: Address high() const override | ||
.. cpp:function:: SymSegment * symRegion() const | ||
|
||
.. cpp:namespace:: Dyninst::parseAPI | ||
.. cpp:class:: SymReaderCodeSource : public CodeSource | ||
|
||
.. cpp:function:: SymReaderCodeSource(SymReader *) | ||
.. cpp:function:: SymReaderCodeSource(const char *) | ||
.. cpp:function:: bool nonReturning(Address func_entry) | ||
.. cpp:function:: bool nonReturningSyscall(int num) | ||
.. cpp:function:: bool resizeRegion(SymSegment *, Address newDiskSize) | ||
.. cpp:function:: SymReader * getSymReaderObject() | ||
.. cpp:function:: bool isValidAddress(const Address) const | ||
.. cpp:function:: void* getPtrToInstruction(const Address) const | ||
.. cpp:function:: void* getPtrToData(const Address) const | ||
.. cpp:function:: unsigned int getAddressWidth() const | ||
.. cpp:function:: bool isCode(const Address) const | ||
.. cpp:function:: bool isData(const Address) const | ||
.. cpp:function:: bool isReadOnly(const Address) const | ||
.. cpp:function:: Address offset() const | ||
.. cpp:function:: Address length() const | ||
.. cpp:function:: Architecture getArch() const |
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