1. 25 Oct, 2021 1 commit
    • Felix Anderson's avatar
      hook/iohook.c: Fix race condition at during iohook initialization · f0e5f820
      Felix Anderson authored
      - If another DLL being loaded spawns a thread that begins doing I/O,
        then there is a race condition where `hook_table_apply` is still
        applying the hooks and has not returned yet but the hooked functions
        are called by those other threads. This causes the assert on
        `iohook_initted` to trigger.
      
      - The easy fix is to always enter the mutex to ensure the hooks have
        been applied and function addresses for `CreateFileW` and
        `SetFilePointerEx` have been resolved.
      f0e5f820
  2. 03 Nov, 2019 1 commit
  3. 18 Oct, 2019 2 commits
  4. 04 Sep, 2019 1 commit
  5. 02 May, 2019 3 commits
  6. 04 Mar, 2019 2 commits
  7. 23 Nov, 2018 5 commits
  8. 21 Nov, 2018 1 commit
  9. 20 Nov, 2018 1 commit
    • Decaf Code's avatar
      hook/table.c: Populate links from first match · 7526c727
      Decaf Code authored
      The loaded module list is kept in the order the modules are first
      loaded. Using the first loaded module (i.e. the EXE) will help
      ensure that multiple hook DLLs stack correctly. Previously the link
      was taken from the most-recently loaded module.
      7526c727
  10. 14 Nov, 2018 2 commits
  11. 10 Nov, 2018 7 commits
  12. 08 Nov, 2018 3 commits
  13. 07 Nov, 2018 2 commits
  14. 01 Nov, 2018 4 commits
  15. 09 Oct, 2018 2 commits
  16. 07 Oct, 2018 1 commit