Skip to content

Commit

Permalink
Add dyninstAPI/Patching.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent 37f0be1 commit c7d176a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions docs/dyninstAPI/developer/Patching.h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,19 @@
Patching.h
##########


.. cpp:class:: DynPatchCallback : public Dyninst::PatchAPI::PatchCallback

.. cpp:function:: DynPatchCallback()
.. cpp:function:: ~DynPatchCallback()
.. cpp:function:: protected virtual void split_block_cb(Dyninst::PatchAPI::PatchBlock *, Dyninst::PatchAPI::PatchBlock *)
.. cpp:function:: protected virtual void add_block_cb(Dyninst::PatchAPI::PatchFunction *, Dyninst::PatchAPI::PatchBlock *)
.. cpp:function:: protected virtual void destroy_cb(Dyninst::PatchAPI::Point *)

really remove, not destroy

.. cpp:function:: protected virtual void destroy_cb(Dyninst::PatchAPI::PatchBlock *)
.. cpp:function:: protected virtual void destroy_cb(Dyninst::PatchAPI::PatchEdge *, Dyninst::PatchAPI::PatchObject *owner)
.. cpp:function:: protected virtual void destroy_cb(Dyninst::PatchAPI::PatchFunction *)
.. cpp:function:: protected virtual void destroy_cb(Dyninst::PatchAPI::PatchObject *)
.. cpp:function:: protected virtual void remove_block_cb(Dyninst::PatchAPI::PatchFunction *, Dyninst::PatchAPI::PatchBlock *)
2 changes: 1 addition & 1 deletion dyninstAPI/src/Patching.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ class DynPatchCallback : public PatchAPI::PatchCallback {
protected:
virtual void split_block_cb(PatchAPI::PatchBlock *,
PatchAPI::PatchBlock *);
virtual void destroy_cb(PatchAPI::Point *); // really remove, not destroy

virtual void destroy_cb(PatchAPI::Point *);
virtual void destroy_cb(PatchAPI::PatchBlock *);
virtual void destroy_cb(PatchAPI::PatchEdge *, PatchAPI::PatchObject *owner);
virtual void destroy_cb(PatchAPI::PatchFunction *);
Expand Down

0 comments on commit c7d176a

Please sign in to comment.