About 9,500,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 · However, doing such hooking can be done easily by your own, see this article to learn how. You can find out where the specific function is called in foo.exe and just replace the …

  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. Linux Kernel: System call hooking example - Stack Overflow

    I'm trying to write some simple test code as a demonstration of hooking the system call table. "sys_call_table" is no longer exported in 2.6, so I'm just grabbing the address from the …

  7. winapi - Is there a way to hook Windows syscalls on 64-bit builds …

    Feb 2, 2024 · Is there a way to hook WinAPI system calls on 64-bit builds of Windows, without disabling PG (patch guard)? SSDT hooking using a kernel mode driver is not an option, …

  8. Hooking syscall by modifying sys_call_table does not work

    Jun 10, 2024 · I'm new and learning different Linux kernel features, I need to know if sys_call_table modification for hooking a syscall is still a thing or not? I tried to include enough …

  9. 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 …

  10. 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. …