PDA

View Full Version : Logging FPU Registers


BNimble
February 12th, 2008, 14:40
When you set a conditional log breakpoint in OllyDbg, you have access to all the regular CPU registers, as well as ST0 through ST7.

What I have been trying to figure out is whether it's possible to log the status word or control word. Setting the Expression to FST or FCW or even things like C0 for the condition flags certainly does not work, and I haven't found a plugin that performs the operation, either.

Am I out of luck?

Cheers...

blabberer
February 14th, 2008, 12:02
i dont think ollydbg natively gives you the result of FST and FCW
you can read them with t_register if you write plugin i think havent seen the struct definition

ollydbg will record st0 to st7 in conditional breakpoints

BNimble
February 15th, 2008, 15:34
Yes, I noted the ST0 through ST7. That's why I was a little surprised that FST and FCW aren't available in conditional breakpoints.

So I'm basically stuck unless I learn how to write plugins? I was somewhat afraid of that

dELTA
February 15th, 2008, 16:29
Might this be of any help?

http://www.woodmann.com/collaborative/tools/Float_Tracer