Trying to debug a simple dos program (for example the eicar antivirus test string, attached), I cant figure how to do it with wine. - Loading a debugger like microsoft's debug or the freedos one doesnt work, if you try to do a 't' to go to the next instruction, you go into the debugger. Do a "walk process" and your program isnt here. - Using winedbg doesnt work too. Doing a 'cont' seems to launch the program and it exits. trying to add delayed A-bp f00d 0000:0805a000 Stopped on breakpoint 1 at 0x0805a000 (__wine_exe_main [wine.spec.c:69] in wine) 69 { In 32-bit mode. Wine-dbg>cont <... Loading dlls debug info snipped> Warning: unprotecting the first 64KB of memory to allow real-mode calls. NULL pointer accesses will no longer be caught. err:int:DOSVM_Loop MsgWaitForMultipleObjects returned unexpected value. Invalid address for breakpoint 1, disabling it Invalid address for breakpoint 2, disabling it Process of pid=0000000a has terminated Wine-dbg> Am I missing something here ? ===== Sylvain Petreolle spetreolle@users.sourceforge.net Fight against Spam ! http://www.euro.cauce.org/en/index.html ICQ #170597259 "Don't think you are. Know you are." Morpheus, in "Matrix". ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Attachment:
eicar.com
Description: eicar.com