Skip To Content

Kevin Weatherman's Blog

Software Internals, Thoughts on Security, and Reverse Engineering

Menu
  • Home
  • 2011
  • February
Uncategorized
February 5, 2011admin

Getting the C++ “this” pointer from function hooks solution.

(Note: This is Windows-centric and 32bit only.) In a previous entry I talked about a problem getting the C++ “this” (ECX) pointer from sub-class type function hooks. Problem solved (credits to “Casual_Hacker”). One can simply use the seldom used __fastcall calling convention.

Read More
© 2010-2022 Kevin Weatherman