I have a really nice idea i guess *g*
how about an intelligent trace feature for x86emu?
The problem with ordinary tracing is, that the trace log becomes quickly very large so that you can hardly handle it anymore. A solution for this would be an intelligent tracer, that checks every jump if it goes to an address that has already been traced. If so, the tracelog creates a comment at the jump that tells to which line in tracelog the jump goes. than all the new register contents are just added in a new column to the old rows.
Maybe some special care has to be taken for self-modifying code. One could check on every instruction, if code has been modified, if so, than add new instruction in a seperate column or just branch to new trace-lines...
My goal is, to create addressfree code from the trace, that can be assembled again :)
Is it a nice idea or a nice idea?







