Author Topic: A problem with CV.exe  (Read 2443 times)

Petra93

  • Regular Member
  • *
  • Posts: 12
A problem with CV.exe
« on: December 27, 2019, 04:45:39 AM »
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

  • Member
  • *****
  • Posts: 2794
Re: A problem with CV.exe
« Reply #1 on: December 27, 2019, 05:23:53 AM »
The MD5 value of Cv.exe from Masm 6.11

Code: [Select]
cffe5a63feaeb354bd4a5996de286e38 *CV.EXE
What's your version of Cv.exe?

caballero

  • Member
  • *****
  • Posts: 2160
  • Matrix - Noah
    • abre ojos ensamblador
Re: A problem with CV.exe
« Reply #2 on: December 27, 2019, 06:43:29 AM »
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.
The logic of the error is hidden among the most unexpected lines of the program

aw27

  • Guest
Re: A problem with CV.exe
« Reply #3 on: December 27, 2019, 08:58:21 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.