Skip to content

Commit

Permalink
Add dyninstAPI/legacy-instruction.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent e9c3a94 commit b6a9849
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 10 additions & 0 deletions docs/dyninstAPI/developer/legacy-instruction.h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,13 @@
legacy-instruction.h
####################

Legacy support for BPatch_instruction and BPatch_memoryAccess,
both of which hold a pointer to an opaque type containing the
platform-specific ``instruction`` type.


.. cpp:class:: internal_instruction

.. cpp:function:: explicit internal_instruction(instruction * insn)
.. cpp:function:: instruction * insn() const
.. cpp:member:: private instruction * _insn
6 changes: 0 additions & 6 deletions dyninstAPI/src/legacy-instruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@
#ifndef LEGACY_BPATCH_INSTRUCTION_H
#define LEGACY_BPATCH_INSTRUCTION_H

/*
* Legacy support for BPatch_instruction and BPatch_memoryAccess,
* both of which hold a pointer to an opaque type containing the
* platform-specific `instruction' type.
*/

#include "arch-forward-decl.h"

#if defined(arch_power)
Expand Down

0 comments on commit b6a9849

Please sign in to comment.