aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/disas/unk.cpp
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-01-03 17:52:14 +0100
committerAndrzej Janik <[email protected]>2021-01-03 17:52:14 +0100
commitdabc40cb19bf4e297c32284d26c74adbd6775e49 (patch)
tree6f71c14ef264998a9bccb3b6891c71542d9ace7a /samples/disas/unk.cpp
downloadZLUDA-dabc40cb19bf4e297c32284d26c74adbd6775e49.tar.gz
ZLUDA-dabc40cb19bf4e297c32284d26c74adbd6775e49.zip
Squashed 'ext/detours/' content from commit 39aa864
git-subtree-dir: ext/detours git-subtree-split: 39aa864d2985099c8d847e29a5fb86618039b9c4
Diffstat (limited to 'samples/disas/unk.cpp')
-rw-r--r--samples/disas/unk.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/samples/disas/unk.cpp b/samples/disas/unk.cpp
new file mode 100644
index 0000000..ff9bfe6
--- /dev/null
+++ b/samples/disas/unk.cpp
@@ -0,0 +1,15 @@
+/////////////////////////////////////////////////////////////////////////////
+//
+// Detours Test Program (x86.asm of disas.exe)
+//
+// Microsoft Research Detours Package
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+
+static int value = 0;
+
+extern "C" void TestCodes()
+{
+ value++;
+}