Log in

View Full Version : Any W32dsm gurus listening...?


aimless
July 1st, 2001, 23:52
Hullo,

For w32dsm internals only!

You can disassemble an app in w32dsm (albiet not as perfectly as IDA) and can then run the process in its debugger. Good.

As the debugger runs, the addresses of the executed path is actually converted from black to red. Very good.

I wish to read the .alf/.wpj files for all lines that have their addresses as red and put them in another file (selecting shift+mouse click and copy of all red addresses) is getting tiresome.

Any suggestions?

Regards.

ColdCode
July 3rd, 2001, 02:00
>Any W32dsm gurus listening...?
that not me oh well(but you did not said only)

If i was you(i hell i was think about doing this) i'd add code w32dsm over makeing a program to get info from the alf/.wpj

some info on wpj file format
--------WPJ-----------

*.wpj
offset-size---------info
0------4-----------dll/0 for dll...
4------4-----------size of path
8-----pathsize-----path
next 4 ?
..
..

table b4 this end with 0101010101010101010101010000(in hex most of time i think)
Color table.... table look to b one or 2 tables from end of file
offset--size---info
0------4------line
4------1------color 1=red
5------1------start of text to color
6------1------end of text to color
.
.
.
.

in memory at 00452617 [ebx+?]
0001F69Dh ; line offset(size dword)
0001F6A1h ; size of line(size bytes)
0001F6A5h ; Color table i thank(size 4+1+1+1)

0043D3C6 ; most of *.wpj loading code

PS.
If you pull this off email me it and i will add it to the next W32Dasm++. And if neec any help email or post....

good luck,
Cold Coder