so are you saying that you can hook CLR method calls? like say a call to your own class, or maybe a dotnetframework class?
if so , then i'm very interested.
Karl
Search found 9 matches
- Sat Feb 18, 2006 11:34 pm
- Forum: madCodeHook
- Topic: A few general questions.
- Replies: 15
- Views: 12073
- Thu Oct 21, 2004 3:56 am
- Forum: madCodeHook
- Topic: hooking and dynamically loaded DLLS
- Replies: 17
- Views: 14092
hooking and dynamically loaded DLLS
i haven't tested this, but just want to get my head around it, make sure i'm on the right track if i load an application and hook a certian windows API call, what happens when that application loads other DLLS later dynamically with LoadLibrary and those DLLs call the windows API i wish to hook, is ...
- Tue Aug 10, 2004 12:41 am
- Forum: madCodeHook
- Topic: dealing with pointers to methods, and calling C++ functions
- Replies: 1
- Views: 7730
dealing with pointers to methods, and calling C++ functions
i've been working lately on making different algorithms for calling C++ methods using pointers and all manner of things, dealing with normal methods and virtual methods.. just wanna post some of my examples here, and see if anybody likes them (though they are inline assembler examples that can easil...
- Fri Aug 06, 2004 11:07 pm
- Forum: madCodeHook
- Topic: Hooking C++ member function
- Replies: 14
- Views: 29960
ok here are some snippets PVOID doitptr; PVOID hookdoitptr; PVOID NextHook; ... //declaration of method function that will be hooked long Test::DoIt(long x) { ... } //code to get pointers needed for hooking _asm { mov eax,DWORD PTR Test::DoIt; mov doitptr,eax } _asm { mov eax,DWORD PTR TestHook::Hoo...
- Fri Aug 06, 2004 8:18 am
- Forum: madCodeHook
- Topic: Hooking C++ member function
- Replies: 14
- Views: 29960
i noticed 2 things.. madcodehook doesn't work (doesn't successfully hook) with debug builds (whether plain C functions, static methods, non static methods, or virtual(and non static) methods in msvc++ 7. i have the solution working for non static methods, but can't yet hook virtual ones (i can ge tt...
- Fri Aug 06, 2004 4:30 am
- Forum: madCodeHook
- Topic: Hooking C++ member function
- Replies: 14
- Views: 29960
- Thu Aug 05, 2004 2:53 am
- Forum: madCodeHook
- Topic: Hooking C++ member function
- Replies: 14
- Views: 29960
yeah in C++, method pointers (in contrast to function pointers), aren't 4 bytes, but sometimes 8 or 12 bytes long, and seem to be quite weird, containing a pointer to the virtualmethod table, and also the offsets or something, but i'm sure there must be a way we can wrap up this functionality someho...
- Sat Jul 31, 2004 12:48 pm
- Forum: madCodeHook
- Topic: Hooking C++ member function
- Replies: 14
- Views: 29960
- Tue Jul 27, 2004 2:06 pm
- Forum: madCodeHook
- Topic: Hooking C++ member function
- Replies: 14
- Views: 29960