About 50 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 that a …

  2. 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 System.map f...

  3. 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 assembly …

  4. 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 to do it with …

  5. 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 strategies are different …

  6. winapi - Hooking function using minhook. C++ - Stack Overflow

    Jan 4, 2024 · Hooking function using minhook. C++ Asked 2 years, 1 month ago Modified 10 months ago Viewed 1k times

  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. Downside: The DLL …

  8. c++ - Hooking using EasyHook - Stack Overflow

    Sep 11, 2021 · I'm hooking the function CreateWindowExW using the lib EasyHook. When it returns at the line return CreateWindowExW(dwExStyle, lpClassName, lpWindowName, dwStyle, X, Y, nWidth, …

  9. How does the following code detect hooking in iOS?

    Jun 4, 2024 · The hooking is done by injecting an extra dynamic library that defines the symbol. If dladdr returns 0, then the symbol was not found in any dynamic library. Typically this means it's defined …

  10. Hooking every function call in Python - Stack Overflow

    Nov 28, 2019 · I have a large codebase, which consists of thousands of functions. I want to enable code execution before and after every function call, when the functions starts and when it ends. Is there a …