About 7,020,000 results
Open links in new tab
  1. What is meant by the term "hook" in programming?

    Jan 21, 2009 · I recently heard the term "hook" while talking to some people about a program I was writing. I'm unsure exactly what this term implies although I inferred from the conversation …

  2. How can I hook Windows functions in C/C++? - Stack Overflow

    Aug 30, 2014 · The PolyHook2 library is a modern C++ hooking library. It has a vcpkg integration and some examples are provided here. It seems to be nicer to work with in C++ compared to …

  3. windows - How does Microsoft Detours work and how do I use it …

    Dec 31, 2010 · Instead of detours (which is free for 32-bit only) or easyhook (which is, khm, a little bit messy code) you may want to check out mhook 2.4 which is very neat code and BSD …

  4. c# - How to hook an application? - Stack Overflow

    I'm trying to hook the creation of a windows in my C# app. static IntPtr hhook = IntPtr.Zero; static NativeMethods.HookProc hhookProc; static void Main(string[] args) { // Dummy.exe is a form...

  5. Function hooking in C++? - Stack Overflow

    Oct 8, 2014 · With "hooking" I mean the ability to non-intrusively override the behavior of a function. Some examples: Print a log message before and/or after the function body. Wrap the …

  6. How to create a trampoline function for hook - Stack Overflow

    Feb 17, 2012 · I'm interested in hooking and I decided to see if I could hook some functions. I wasn't interested in using a library like detours because I want to have the experience of doing …

  7. Hooking DirectX EndScene from an injected DLL - Stack Overflow

    Jun 5, 2015 · Hooking Direct3DCreate9 to get the D3D9, then hooking D3D9->CreateDevice to get the device pointer, and then hooking Device->EndScene through the virtual table. …

  8. Hooking syscall by modifying sys_call_table does not work

    Jun 10, 2024 · I'm trying to do basic hooking by locating sys_call_table and modify an entry for sys_read syscall to a function in my own kernel module. I have tried kprobes I'm just interested …

  9. hook - C++ hooking a dll? - Stack Overflow

    Nov 2, 2010 · the available strategies for hooking all of the functions that are used in a dll are different than the stratgies for hooking only one of the used functions. Out of process …

  10. winapi - What is the recommended way to hook Win32 APIs for a ...

    API hooking in Win32 isn't really possible in a system-wide sense. You can approximate it by injecting a DLL into each process and then patching each process from within. You can either …