Detours is a software package for monitoring and instrumenting API calls on Windows. It is distributed in source code form.
Перейти к файлу
Brian Gianforcaro 2de2babb25
Tests: Add initial set of unit tests for Detours (#137)
- Import the Catch2 self-contained C++ test framework.
  It's used by many Microsoft OSS projects:
  - https://github.com/microsoft/cppwinrt/tree/master/test
  - https://github.com/microsoft/wil/tree/master/tests
  As well as many OSS projects in general.

  When the CMake PR is merged, we can remove this as
  a checked in development dependency, and can instead
  download it using CMake.

- Start basic set of unit tests to validate failure modes of

- Hook the execution into the existing NMake build system.

- Hook test execution into CI pipeline
2020-12-01 16:16:13 -08:00
.github Tests: Add initial set of unit tests for Detours (#137) 2020-12-01 16:16:13 -08:00
samples Fixed#116 via changing to signed for negative diff (#146) 2020-09-30 15:15:06 -07:00
src Remove opcode fields from COPYENTRY as it isn't used, except (#17) 2020-09-06 22:32:02 +00:00
tests Tests: Add initial set of unit tests for Detours (#137) 2020-12-01 16:16:13 -08:00
vc add vs solution, it is safety because it only call nmake command, and it is friendly for edit, modify and debug code in Detours (#138) 2020-09-07 00:26:00 +00:00
.gitignore add vs solution, it is safety because it only call nmake command, and it is friendly for edit, modify and debug code in Detours (#138) 2020-09-07 00:26:00 +00:00
CREDITS.TXT merge code from Detours 3.0 Build_343 (#139) 2020-09-05 11:13:16 -07:00
LICENSE.md Initial fork of Detours 4.0 from Detours 3.0 archive. 2016-11-07 17:37:52 -08:00
Makefile Tests: Add initial set of unit tests for Detours (#137) 2020-12-01 16:16:13 -08:00
README.md README.md link to License file 2020-09-07 00:27:30 +00:00
system.mak Build: Detect DETOURS_TARGET_PROCESSOR from VS Developer Command Prompt (#128) 2020-08-30 19:42:58 +00:00

README.md

Microsoft Research Detours Package

Detours is a software package for monitoring and instrumenting API calls on Windows. Detours has been used by many ISVs and is also used by product teams at Microsoft. Detours is now available under a standard open source license (MIT). This simplifies licensing for programmers using Detours and allows the community to support Detours using open source tools and processes.

Detours is compatible with the Windows NT family of operating systems: Windows NT, Windows XP, Windows Server 2003, Windows 7, Windows 8, and Windows 10. It cannot be used by Windows Store apps because Detours requires APIs not available to those applications. This repo contains the source code for version 4.0.1 of Detours.

For technical documentation on Detours, see the Detours Wiki. For directions on how to build and run samples, see the samples README.txt file.

Contributing

The Detours repository is where development is done. Here are some ways you can participate in the project:

Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Issues, questions, and feedback

Mailing list for announcements

The detours-announce mailing list is a low-traffic email list for important announcements about the project, such as the availability of new versions of Detours. To join it, send an email to listserv@lists.research.microsoft.com with a message body containing only the text SUBSCRIBE DETOURS-ANNOUNCE. To leave it, send an email to listserv@lists.research.microsoft.com with a message body containing only the text UNSUBSCRIBE DETOURS-ANNOUNCE.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License.