You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
425B

  1. #pragma once
  2. namespace MHook_Hooks {
  3. uint64_t hookSmall(void);
  4. uint64_t hookBranch(uint64_t);
  5. uint64_t hookRip_relative(void);
  6. };
  7. class MHook : public AbstractHookEngine {
  8. public:
  9. bool hook_all();
  10. bool unhook_all();
  11. MHook() : AbstractHookEngine("MHook") {
  12. }
  13. friend uint64_t MHook_Hooks::hookSmall(void);
  14. friend uint64_t MHook_Hooks::hookBranch(uint64_t);
  15. friend uint64_t MHook_Hooks::hookRip_relative(void);
  16. };