DBG+PROJECT: updated capstone_wrapper + added _plugin_hash function
This commit is contained in:
parent
e5c028864f
commit
0dc2cde143
|
@ -1 +1 @@
|
|||
Subproject commit c761e5eae9d0c8c5c77d332275193655feab5ca9
|
||||
Subproject commit 56df3a7d8f3f3af50299b86c918d016a82c481a8
|
|
@ -9,6 +9,7 @@
|
|||
#include "console.h"
|
||||
#include "debugger.h"
|
||||
#include "threading.h"
|
||||
#include "murmurhash.h"
|
||||
|
||||
///debugger plugin exports (wrappers)
|
||||
PLUG_IMPEXP void _plugin_registercallback(int pluginHandle, CBTYPE cbType, CBPLUGIN cbPlugin)
|
||||
|
@ -128,3 +129,8 @@ PLUG_IMPEXP bool _plugin_load(const char* pluginName)
|
|||
{
|
||||
return pluginload(pluginName);
|
||||
}
|
||||
|
||||
duint _plugin_hash(void* data, size_t size)
|
||||
{
|
||||
return murmurhash(data, int(size));
|
||||
}
|
||||
|
|
|
@ -252,6 +252,7 @@ PLUG_IMPEXP bool _plugin_registerexprfunction(int pluginHandle, const char* name
|
|||
PLUG_IMPEXP bool _plugin_unregisterexprfunction(int pluginHandle, const char* name);
|
||||
PLUG_IMPEXP bool _plugin_unload(const char* pluginName);
|
||||
PLUG_IMPEXP bool _plugin_load(const char* pluginName);
|
||||
PLUG_IMPEXP duint _plugin_hash(void* data, size_t size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue