Skip to content

Commit

Permalink
Add stackwalk/libstate.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent 3be8714 commit 74e50bf
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions docs/stackwalk/developer/libstate.h.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
.. _`sec:libstate.h`:

libstate.h
==========
##########

.. cpp:namespace:: Dyninst::Stackwalker

.. cpp:class:: swkProcessReader : public ProcessReader

.. cpp:function:: swkProcessReader(ProcessState *pstate, std::string executable_)
.. cpp:function:: virtual bool start()
.. cpp:function:: virtual bool ReadMem(Address inTraced, void *inSelf, unsigned amount)
.. cpp:function:: virtual bool GetReg(Dyninst::MachRegister, Dyninst::MachRegisterVal&)
.. cpp:function:: virtual bool done()
.. cpp:function:: virtual ~swkProcessReader()


.. cpp:class:: TrackLibState : public LibraryState

.. cpp:function:: TrackLibState(ProcessState *parent, std::string executable = "")
.. cpp:function:: virtual bool getLibraryAtAddr(Address addr, LibAddrPair &olib)
.. cpp:function:: virtual bool getLibraries(std::vector<LibAddrPair> &olibs, bool allow_refresh = true)
.. cpp:function:: virtual bool getAOut(LibAddrPair &ao)
.. cpp:function:: virtual void notifyOfUpdate()
.. cpp:function:: virtual Address getLibTrapAddress()
.. cpp:function:: virtual ~TrackLibState()


.. cpp:class:: StaticBinaryLibState : public LibraryState

.. cpp:function:: StaticBinaryLibState(ProcessState *parent, std::string executable = "")
.. cpp:function:: ~StaticBinaryLibState()
.. cpp:function:: virtual bool getLibraryAtAddr(Address addr, LibAddrPair &olib)
.. cpp:function:: virtual bool getLibraries(std::vector<LibAddrPair> &olibs, bool allow_refresh = true)
.. cpp:function:: virtual bool getLibc(LibAddrPair &lc)
.. cpp:function:: virtual bool getLibthread(LibAddrPair &lt)
.. cpp:function:: virtual bool getAOut(LibAddrPair &ao)
.. cpp:function:: virtual void notifyOfUpdate()
.. cpp:function:: virtual Address getLibTrapAddress()


.. cpp:namespace:: Dyninst::stackwalk
.. cpp:class:: LibraryWrapper

.. cpp:function:: static SymReader *testLibrary(std::string filename)
.. cpp:function:: static SymReader *getLibrary(std::string filename)
.. cpp:function:: static void registerLibrary(SymReader *reader, std::string filename)

0 comments on commit 74e50bf

Please sign in to comment.