Hi
I have been tinkering around with PyDBG lately. Unfortunately I've run into some problems trying to set breakpoints on functions exported from msvcr90.dll. This is one of those "Side-by-Side" DLLs and I assume this is why kernel32.LoadLibraryA(dll), in func_resolve() (pydbg.py), doesn't return a handle. I've tried using a full path to the dll as well as placing it in the same dir as the app without any success.
As an alternative I've been trying to breakpoint at the base address of msvcr90.dll + RVA for memcpy for example, but it is never triggered even though the program I'm attaching to indeed uses memcpy. I thought it might have to do with ASLR, but the base address seem to be the same all the time in Olly for example.
I'd be very happy if anyone could chime in on this probably very trivial question.
Having said that I just wanted to add that it's nice to finally have signed up on this great board after much lurking. "Hi all".
Cheers,
Daniel
EDIT: I realized that the address can easily be fetched through windbg (X msvcr90!*memcpy*). Any ideas on solving this entirely withing Python/PyDBG would be great though.







