Comments (6)
Agree!!!
Every step in working with Detours seems to be a challenge. For example, it seems like only in the FAQs is the need to "nmake" the Detours library discussed ... and, even then, it doesn't specify which version of "nmake" should be used (e.g., my computer somehow has five versions of it in various directories), what pathing needs applied before running "nmake", how/where to find various required additional libraries (e.g., windows.h). All this stuff may seem obvious to the experienced ... but we newbies are left scratching our heads, guessing, and googling ... when this wiki should simply provide fully viable step-by-step instructions for downloading, building, and using Detours for the first time!
from detours.
Hey guys, you might find this helpful, let me know: https://github.com/0xeb/detours-cmake
from detours.
Hopefully PR #128 will make things slightly easier, I'll expand the documentation to talk about how to open a VS developer command prompt required to build.
from detours.
Also #48 as well should improve things and make the project just like any other C++ build.
from detours.
I fleshed out the FAQ a bit more with more details on setting up a build environment, the main thing being linking to the MSVC C++ command line tooling page, where they explain how to set up your developer command prompt. https://github.com/microsoft/Detours/wiki/FAQ#where-can-i-find-detourslib-and-detoursh
from detours.
I think that such poor documentation is due to the fact that Microsoft deliberately wanted it this way. This technology provides quite a lot of opportunities for developers, which also can not always be used for good purposes. Therefore, most likely, such a quest in order to increase the "entry threshold" for this technology. So that a person already understands at least roughly how it works, and also has skills and curiosity to work on this.
from detours.
Related Issues (20)
- Using Detours if either the .exe or the .dll is within a directory with unicode characters? HOT 12
- Hook on return
- This repo is missing important files HOT 6
- NMAKE failing at the end. HOT 4
- NMAKE failed HOT 1
- Windows 11 ARM64 Processor x86, x64 COM API Hook Crash.
- `detour_skip_jmp` for x64 doesn't support `rex.w` prefix
- Wiki is missing sample tracessl
- `detour_skip_jmp` for arm64 doesn't support unconditional branch HOT 1
- `detour_sign_extend` is implemented incorrectly
- Noting the Optimizations greatly influence the result
- return value of 'main()'
- Calling DetourCreateProcessWithDllsW crashes .NET applications compiled for Any-CPU
- Hook unexported functions HOT 5
- Hooking inline function HOT 1
- Incorrect Behaviour: Arm64 CopyLdrLiteral for non-SIMD inlines Pointer Read
- Incorrect Behaviour: Arm64 CopyLdrLiteral rewrites Prefetch as Memory Read, which can Trash a Potentially Used Register
- <BUG>crash on jmp addr? HOT 1
- contains invalid OMF record, type 0x21 (possibly COFF) HOT 3
- Unable to hook winsock2 recv() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from detours.