Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

qwedcxza

What is Hook chain order?

This topic is 5964 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
I saw your post at win32.programmer.kernel and that there hasn''t been a response to it yet. Perhaps that will change as the work week is just beggining. It''s also not quite 5 am in Redmond.

My guess is that the hook chain is a linked list, perhaps a double linked list. CriticalSections use that kind of list.

You might get more response asking the question from another angle. Such as: "How to I prevent my application from being hooked?"

It might require walking the virtual address space of your process, at least that would be a way to tell whether a foreign libary has been loaded into your process. That would be an indication of a global hook at work - but not confirmation. Setting your own global hook and then refusing to call the next hook in the chain might do it too - but that would also likely foul up the users system and fouling the users system wouldn''t win you any friends.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!