Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TsudaKageyu/minhook
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: m417z/minhook
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: multihook
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 17 commits
  • 8 files changed
  • 1 contributor

Commits on Nov 3, 2025

  1. Modifications to facilitate supporting multiple hooks for a single fu…

    …nction:
    
    * Use a relay function for 32-bit too, while a userData variable is just above it.
    * Build the trampoline function in EnableHookLL, instead of MH_CreateHook.
    * Break into a debugger (for now) when disabling our hook if another hook was placed on top of ours.
    m417z committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    9010091 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c57eb8c View commit details
    Browse the repository at this point in the history
  3. Use a mutex instead of a spin lock.

    Pros:
    * Works for multiple instances of MinHook.
    Cons:
    * Performance.
    * MH_Initialize and MH_Uninitialize are not thread safe anymore.
    m417z committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    5e046aa View commit details
    Browse the repository at this point in the history
  4. Create a hook trampoline before freezing threads, otherwise uninitial…

    …ized buffer is being accessed.
    m417z committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    c97b9c9 View commit details
    Browse the repository at this point in the history
  5. Adjust IP register when calling EnableHookLL; fixes missing adjustmen…

    …ts inside DisableHookChain.
    m417z committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    3bd72c0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b44e87e View commit details
    Browse the repository at this point in the history
  7. Update README.md

    m417z committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    bcbe6e8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    37cb166 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9fc1b35 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    10a68a8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f9b9da5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    06061e4 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    778a780 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0ed46a7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8c3c928 View commit details
    Browse the repository at this point in the history
  16. Add missing exports

    m417z committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    f1a987c View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2025

  1. Configuration menu
    Copy the full SHA
    8865568 View commit details
    Browse the repository at this point in the history
Loading