aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/asmrewriter.h
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-03-02 20:40:16 +0000
committerbloodstalker <thabogre@gmail.com>2018-03-02 20:40:16 +0000
commit75fb62903425f19d0519c45a4c9ec7dc5f986f59 (patch)
tree0f748b8f446c803db9c4ee177d88ae2eba2a4b26 /bruiser/asmrewriter.h
parentsome fixes for the jump table lua module (diff)
downloadmutator-75fb62903425f19d0519c45a4c9ec7dc5f986f59.tar.gz
mutator-75fb62903425f19d0519c45a4c9ec7dc5f986f59.zip
the skeletion code for the jump table struct is now working
Diffstat (limited to 'bruiser/asmrewriter.h')
-rw-r--r--bruiser/asmrewriter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bruiser/asmrewriter.h b/bruiser/asmrewriter.h
index 048b6ec..e8cd3c7 100644
--- a/bruiser/asmrewriter.h
+++ b/bruiser/asmrewriter.h
@@ -18,19 +18,19 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/
/**********************************************************************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
#include "./lua-5.3.4/src/lua.h"
#include "./lua-5.3.4/src/lauxlib.h"
#include "./lua-5.3.4/src/lualib.h"
-#include "./bruisercapstone.h"
+//#include "./bruisercapstone.h"
#include <inttypes.h>
/**********************************************************************************************************************/
#ifndef ASM_REWRITER_H
#define ASM_REWRITER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
static JMP_S_T* convert_jmpt(lua_State* __ls, int index);
static JMP_S_T* check_jmpt(lua_State* __ls, int index);
static JMP_S_T* push_jmpt(lua_State* __ls);