diff options
Diffstat (limited to 'ext/detours/samples/disas/unk.cpp')
-rw-r--r-- | ext/detours/samples/disas/unk.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/detours/samples/disas/unk.cpp b/ext/detours/samples/disas/unk.cpp new file mode 100644 index 0000000..ff9bfe6 --- /dev/null +++ b/ext/detours/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++; +} |