Fravia's TOOLS OF OUR TRADE Messageboard ~ Moderated
Using WinIce
Tuesday, 16-Mar-99 07:19:11

Probably gonna get kicked for this one but....


WinIce has backtrace capacities.

Backtrace records EACH instruction, as it flows.

Log the backtrace to a file.

Voila! You have exact instructions. To the point. Only those that were actually executed. No stupid references like call [ebx+13]. Pure and simple.

Problem is, its too large.

And not visually appealing.

Wanna do better ?

Disasm the file in W32dasm

Run it through the debugger.

Step through the code (this can be done automatically. You do not have to press the trace button like a jackrabbit)

All instructions excuted, WILL BE IN RED.

Create a simple C proggie that takes lines numbers in RED color.

Output them to file.

Voila!(Again!), you have your flow. And you can match it with the disassembler's listing.

I know MANY MANY programs that give you flows, graphical representations of flow, flowcharts, etc. Problem is, all work ONLY with C/C++ source code. No ASM.

See if that helps.

Muwah hah ahhhh.



Aimless