News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

A problem with CV.exe

Started by Petra93, December 27, 2019, 04:45:39 AM

Previous topic - Next topic

Petra93

I suspect that my CV.exe debugger is corrupted in some way, since programs that run perfectly fail if
I try to debug them. For example, a RET instruction in a subroutine causes a return to an incorrect location
in the program.  I would like to find an online source where I can download another copy of CV.exe,
but I'm having no luck with this.

Vortex

The MD5 value of Cv.exe from Masm 6.11

cffe5a63feaeb354bd4a5996de286e38 *CV.EXE

What's your version of Cv.exe?

avcaballero

I would check the stack. When you call a subroutine, the CS:IP is pushed onto the stack, but also the parameters if it has them. At subroutine exit you should do "RET N" instead of just "RET" in that case. Anyway you can see step by step what is the stack state. Local variables have to be equilibrated before exit too.

aw27

Quote from: Petra93 on December 27, 2019, 04:45:39 AM
I would like to find an online source where I can download another copy of CV.exe,
but I'm having no luck with this.

Search for "download codeview" without the quotes. I bet you will find.
You can also search for Turbo Debugger which is a popular alternative.