aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/windows/winkernel_mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'capstone/windows/winkernel_mm.h')
-rw-r--r--capstone/windows/winkernel_mm.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/capstone/windows/winkernel_mm.h b/capstone/windows/winkernel_mm.h
new file mode 100644
index 000000000..ed743f3e5
--- /dev/null
+++ b/capstone/windows/winkernel_mm.h
@@ -0,0 +1,23 @@
+/* Capstone Disassembly Engine */
+/* By Satoshi Tanda <tanda.sat@gmail.com>, 2016 */
+
+#ifndef CS_WINDOWS_WINKERNEL_MM_H
+#define CS_WINDOWS_WINKERNEL_MM_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <capstone/capstone.h>
+
+void CAPSTONE_API cs_winkernel_free(void *ptr);
+void * CAPSTONE_API cs_winkernel_malloc(size_t size);
+void * CAPSTONE_API cs_winkernel_calloc(size_t n, size_t size);
+void * CAPSTONE_API cs_winkernel_realloc(void *ptr, size_t size);
+int CAPSTONE_API cs_winkernel_vsnprintf(char *buffer, size_t count, const char *format, va_list argptr);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // CS_WINDOWS_WINKERNEL_MM_H