Results 1 to 5 of 5

Thread: Hook call vs hook function

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ... connecting
    Join Date
    Sep 2019
    Posts
    3
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Hook call vs hook function

    Hello,

    I was interested in how libcod does the hooking. Now I see that there are two functions that are very much alike: cracking_hook_function and cracking_hook_call. One is inserting a JMP instruction, the other is not.

    Now, my question is: How does the function without the JMP instruction work? My assumption is that hooking always needs a JMP instruction.

    Thanks in advance.

    Regards,
    Walrus

  2. The Following User Says Thank You to thawalrus For This Useful Post:

    kung foo man (1st October 2019)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •