static
May 22nd, 2011, 15:08
Hello,
I have an avi file that realplayer can normally play it with no problem, however when I change certain DWORD within the file, application crashes.
I tried to find out what the problem is. so I set a bp on readfile API to catch program when it read DWORD value from the file and then I start tracing of this value usage within application.
my problem is that various functions in realplayer store this DWORD (sometimes results of certain arithmetic that is done based on this DWORD) at various places on stack.
There are just four Hardware breakpoints, so I use memory breakpoint to trace these values on stack, however as olly says:
"You are going to set memory breakpoint on stack. As long as this breakpoint is active, some system calls may fail, terminating.the application or changing its behavior. Do you still want to set this breakpoint?"
So, There is no more Hardware Breakpoint and I can't use memory breakpoints.
any idea from you experts is really appreciated.
I have an avi file that realplayer can normally play it with no problem, however when I change certain DWORD within the file, application crashes.
I tried to find out what the problem is. so I set a bp on readfile API to catch program when it read DWORD value from the file and then I start tracing of this value usage within application.
my problem is that various functions in realplayer store this DWORD (sometimes results of certain arithmetic that is done based on this DWORD) at various places on stack.
There are just four Hardware breakpoints, so I use memory breakpoint to trace these values on stack, however as olly says:
"You are going to set memory breakpoint on stack. As long as this breakpoint is active, some system calls may fail, terminating.the application or changing its behavior. Do you still want to set this breakpoint?"
So, There is no more Hardware Breakpoint and I can't use memory breakpoints.
any idea from you experts is really appreciated.