About 5,540,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 that a …

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

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

  4. 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 function body …

  5. What is a "hook" and how can I write one in Java? And how to ...

    Sep 9, 2011 · From Hooking - Wikipedia, In computer programming, the term hooking covers a range of techniques used to alter or augment the behavior of an operating system, of applications, or of other …

  6. How to hook methods with specific arguments in Frida?

    Jul 31, 2022 · The generated hooking code will print all arguments and also return value. If you want to also see the stack trace you have to modify the generated hooking code and add the code for …

  7. Hook python module function - Stack Overflow

    Basically I want to do something like this: How can I hook a function in a python module? but I want to call the old function after my own code. like import whatever oldfunc = whatever.

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

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

    Feb 17, 2012 · However when hooking functions that are called by multiple threads it proves to be extremely unstable. If two calls are made at nearly the same time, it'll crash. After some research I …

  10. winapi - Is there a way to hook Windows syscalls on 64-bit builds using ...

    Feb 2, 2024 · SSDT hooking using a kernel mode driver is not an option, because patch guard will crash the system when it detects a hook. For example, a process wants to call the CreateProcessA, how …