Log in

View Full Version : SOFTICE is writing to my disk!!!!


Bratsch
December 10th, 2000, 02:33
Hello again.

I have been seing something in SoftIce that is driving me wild. I have RTFM and found no particular reference to the Issue. Here it goes:

sometimes I patch the code in memory, using the A(ssemble) command of Sice, to see if it would work there before I modify the file with HIEW. ie I change a JZ to a JMP and so on in memory. Now when I go to change the file with HIEW, THE DAMN THING IS ALREADY CHANGED. Is softice writing the changes I perform in memory to the file? I even saw the op code for INT 3, CC, in the places I had placed a BPX!. WTF is going on? Is softIce suppossed to do this? I have never seen that documented in any tutorial. Or may be the program I am working on copies itself from the memory to the disk when it closes?

I recently installed Sice 4.05, so I do not know if this is a relatively new feature or It is me going crazy.

Kayaker
December 10th, 2000, 04:59
Hi again Bratsch,

This is something that came to light some months back with MS Visual C++ v5.0 and v6.0. It happens fairly frequently it seems, but not with all programs, and you're not going crazy

You must disable all BP's before exiting the program or CC's may be written as you noticed, and changes you make with 'a' will be hardwritten to the file. (I did mention it in my TracePlus tut actually). There were a few explanations put forth on the Board at one time, some weird paging fault error sounded plausible.

Just make sure you've got a backup of the original file. BTW, what program were you working on with the disabled ListBox items? Sounds interesting...

Regards,

Kayaker

Bratsch
December 10th, 2000, 12:05
Hi Kayaker, Thanks for being helpful, and afable. I am not sure if I should tell you the program I am working on In this public forum. It is not an internet available shareware, but rather a specialized software present in a CD, with a sort of reduced marker, so if that info gets in the wrong hands, The software company might trace it to me. Am I being overcautious? perhaps.
However It does not mean I do not want to discuss about it with you. E-mail me to My avatar at picapiedra01@yahoo.com if you want and I can talk to you in a more private environment.