summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/msapi/hwbrk.h29
-rw-r--r--libs/win32/hwbrk32.libbin0 -> 3662 bytes
-rw-r--r--libs/win64/hwbrk64.libbin0 -> 4678 bytes
3 files changed, 29 insertions, 0 deletions
diff --git a/include/msapi/hwbrk.h b/include/msapi/hwbrk.h
new file mode 100644
index 0000000000..1817d0f2c0
--- /dev/null
+++ b/include/msapi/hwbrk.h
@@ -0,0 +1,29 @@
+//
+#ifndef _HWBRK_H
+#define _HWBRK_H
+
+enum HWBRK_TYPE
+ {
+ HWBRK_TYPE_CODE,
+ HWBRK_TYPE_READWRITE,
+ HWBRK_TYPE_WRITE,
+ };
+
+enum HWBRK_SIZE
+ {
+ HWBRK_SIZE_1,
+ HWBRK_SIZE_2,
+ HWBRK_SIZE_4,
+ HWBRK_SIZE_8,
+ };
+
+HANDLE SetHardwareBreakpoint(HANDLE hThread,HWBRK_TYPE Type,HWBRK_SIZE Size,void* s);
+bool RemoveHardwareBreakpoint(HANDLE hBrk);
+
+#ifdef _WIN64
+ #pragma comment(lib, "hwbrk64.lib")
+#else
+ #pragma comment(lib, "hwbrk32.lib")
+#endif
+
+#endif \ No newline at end of file
diff --git a/libs/win32/hwbrk32.lib b/libs/win32/hwbrk32.lib
new file mode 100644
index 0000000000..3102932289
--- /dev/null
+++ b/libs/win32/hwbrk32.lib
Binary files differ
diff --git a/libs/win64/hwbrk64.lib b/libs/win64/hwbrk64.lib
new file mode 100644
index 0000000000..31a9b710b8
--- /dev/null
+++ b/libs/win64/hwbrk64.lib
Binary files differ