Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasherezade/detours_cmake_tpl
A CMake template for projects using MS Detours
https://github.com/hasherezade/detours_cmake_tpl
api-hooking detours hooking inline-hooking
Last synced: about 1 month ago
JSON representation
A CMake template for projects using MS Detours
- Host: GitHub
- URL: https://github.com/hasherezade/detours_cmake_tpl
- Owner: hasherezade
- Created: 2020-07-16T22:24:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-28T12:06:29.000Z (over 1 year ago)
- Last Synced: 2024-10-29T18:27:30.538Z (3 months ago)
- Topics: api-hooking, detours, hooking, inline-hooking
- Language: CMake
- Homepage:
- Size: 43.9 KB
- Stars: 20
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Detours CMake template
[![Build status](https://ci.appveyor.com/api/projects/status/45y39vemm8foo7fc?svg=true)](https://ci.appveyor.com/project/hasherezade/detours-cmake-tpl)
A CMake template for projects using [MS Detours](https://github.com/microsoft/Detours).
Contains demo projects and helpers.
+ **[libdetours](libdetours) - a CMake wrapper for MS Detours**
+ Sample projects using Detours:
+ [project_tpl](project_tpl) - a project demonstrating how the API interception works. Hooks and unhooks itself (function `MessageBoxA`).
+ [hooking_dll_tpl](hooking_dll_tpl) - a Hooking DLL: performs hooking of the process where it was injected
+ Helpers:
+ [test_app](test_app) - a sample app to be hooked by the [Hooking DLL](hooking_dll_tpl) (for test purposes)A DLL injector useful for testing is available [here](https://github.com/hasherezade/dll_injector)
Clone:
-
Use recursive clone to get the repo together with the Detours submodule:```console
git clone --recursive https://github.com/hasherezade/detours_cmake_tpl.git
```