This is the last version of map2sice.bat (well maybe not, if somebody
reports a bug, you know...).
Why the last version?
Because I'm working on a plugIn for IDA 4.04 which will make
a SoftIce NMS file. You'll also have a possibility to load IDA's
source code into SIce.
And what this means ... that you'll see your comments in Sice. :)
Happy? Yes? Ok.
You wont believe but SymbolLoader comes with debug in it. :)
I was stoned when I saw that.
Peace
Mostek


**********************************************************************
Map2Sice
This script cleans IDA's map file of all unknowns,nullsubs,...
and loads cleaned map into SIce.

NOW you can use more than one attribute at the same time
(but not more than 8, if you count user_string as attributte too).
You should put  infront of the line 155, if you don't want that
your map file is deleted.

CAUTION! You must include paths to SoftIce and SoftIce\Util16
into autoexec.bat .
And if you wish you can put this files into SoftIce\Util16 directory.

USE:  make [mapname] [attributes] [user string]

      mapname is without the extensions (just the name)
      user string = begining of the string to clean
                    (it must be after the U or AU attribute)

attributes: (cleans your map file of : )
  A        is  D & L & LR & O & S & UK  (all)
  AU       is  A & U (all + user defined)
  D        of all 'dword_...','word_...','byte_...' addresses
  L        of all 'loc_...' addresses
  LR       of all 'locret_...' addresses
  O        of all 'off_...' addresses
  S        of all 'sub_...' addresses
  U        all USER defined string addresses
           (user string must follow the U attribute)
           (...D U user_string S...)
  UK       of all 'unknown_libname_...','unk_...' addresses

  H        this help

Attributes can be in lower case too.
            
IF you forget the attribute or you write unknown one
the script will assume your choice is A.
IF everything is all right the DOS window will close when finished.

If something is missing or you are not pleased you can write to
mostekaccess@mailcity.com


P.S. If something is bothering you, try to do it your self and if it doesn't work
     than you know why I didn't make it so. :)
