home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / v / vd121.zip / VISDMP.DOC < prev   
Text File  |  1992-08-29  |  9KB  |  249 lines

  1.  
  2.                            Visual Dump.
  3.  
  4.      Introduction.
  5.  
  6.        Often  need  quikcly  view  information  about  DOS  and
  7.        Windows  EXE file  such as:  Old and  New  EXE  headers,
  8.        contains   resorces,  uses   DLL,  uses   function  from
  9.        external   DLL  and   Windows   nuclear.   Visual   Dump
  10.        integrated  all function  and give  many usefull. So may
  11.        extract  resources  in  RES  format  file,  make  export
  12.        pictures  (BMP, ICON,  CURSOR)  in  next  external  file
  13.        format  BPM, PCX  and BGI  (borland graphics interface).
  14.        Other  resources may  exported  in  RC  file  format  or
  15.        special   format  used   for  developed   Turbo   Vision
  16.        application.  For users  and programmers  may be usefull
  17.        utilities  for viewing  BMP, ICO  and CUR  files format.
  18.        For  system programmer  may  be  usefull  utilities  for
  19.        tracing  windows EXE  with pointing  all functions call,
  20.        addresses,  offsets  and  another  impotant  information
  21.        need for debuging programs.
  22.  
  23. Main features:
  24.  
  25.        ■  Support DOS  EXE, DOS  overlay, Windows EXE, Resource
  26.        RES, OS2 EXE, JPI, Linear EXE format files.
  27.  
  28.        ■  Supporot all  standart Windows  resources include new
  29.        version resources for Windows 3.1.
  30.  
  31.        ■  Display all  graphicals format  recources include 256
  32.        colors  and RLE  formats (Support  SVGA video cards: V7,
  33.        Trident, Paradise).
  34.  
  35.        ■ Display vector and rasters fonts (explict True Type).
  36.  
  37.        ■  Display non  graphicals resource in Resorces Compiler
  38.        formats.
  39.  
  40.        ■ Display EXE headers information.
  41.  
  42.        ■  Display name  imports functions (only for windows and
  43.        OS2 executable).
  44.  
  45.        ■  Display name  exports functions (only for windows and
  46.        OS2 executable).
  47.  
  48.        ■  Display used  DLL names  (only for  windows  and  OS2
  49.        executable).
  50.  
  51.        ■  Display module  description (only for windows and OS2
  52.        executable).
  53.  
  54.        ■  Report calling  trace listing  for Windows executable
  55.        with name imported function.
  56.  
  57.        ■ Viewer for BMP, ICO, CUR format files.
  58.        ■  Rich function  set for  export windows  resources  in
  59.        other formats.
  60.  
  61.      Contents VD121.ZIP:
  62.  
  63.        DUMPDS.EXE            Dumper data segment of Windows
  64.                              EXE.
  65.        VDA.EXE               Mapper API functions call.
  66.        EXAMPL.EXE            Example Windows EXE.
  67.        BR.EXE                Builder DLL function names.
  68.        DIB.EXE               Viewer BMP, ICO and CUR files.
  69.        VD.EXE                Visual dump integrate utility.
  70.        BUILD.BAT             BAT file for build "WINDOWS.IMN".
  71.        VISDMP.DOC            This file, short document file.
  72.        README                Some info file.
  73.  
  74.      Utility DUMPDS
  75.  
  76.        This  small program allow to look contents data segments
  77.        of  Windows program.  Your may  quickly define  messages
  78.        and  another ASCII texts examinated program. Use program
  79.        following:
  80.  
  81.        DUMPDS <exe_filename_with_extension>
  82.  
  83.        For example,
  84.  
  85.        DUMPDS EXAMPL.EXE
  86.  
  87.                     Dumping Data Segment...
  88.  
  89.           Segment #  3   Offset : 00000500  Length : 96
  90.  
  91.      
  92. 000500:00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00|................
  93. 000510:6B 62 64 6D 61 6E 00 00 00 00 00 00 00 00 00 00|kbdman..........
  94. 000520:00 00 00 00 00 04 00 20 00 00 00 00 00 00 00 00|....... ........
  95. 000530:00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00|................
  96. 000540:52 75 6E 74 69 6D 65 20 65 72 72 6F 72 20 25 64|Runtime error %d
  97. 000550:20 61 74 20 25 30 34 58 3A 25 30 34 58 2E 00 00| at %04X:%04X...
  98. 000560:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................
  99.        Output this program may be redirected in file.
  100.  
  101.      Utility VDA
  102.  
  103.        This  program help  your find point calling function API
  104.        or  user DLL's.  If your have founded necessesary point,
  105.        your  may place INT 3 instruction in EXE file use offset
  106.        from  VDA report.  This will  be break  point  for  your
  107.        debuger.  For allow  symbolic name  calling function API
  108.        or    DLL   your   necessesary   build   optional   file
  109.        "WINDOWS.IMN".  For building  such file  use utility  BR
  110.        (this  utility is  outlined  below).  Command  line  for
  111.        utility next:
  112.  
  113.        VDA <exe_filename_with_extension>
  114.  
  115.        For example,
  116.  
  117.        VDA EXAMPL.EXE
  118.  
  119.        
  120.           Windows High Level DisAssembler. Alex G.Fedorov, 1992
  121.  
  122.  
  123.  Module Information for EXAMPL.EXE
  124.  
  125.  --------------------------------------------------------------------
  126.  Module Name         : KILLKB
  127.  Description         : ?
  128.  Program Entry Point : 00000202
  129.  ---------------------------------------------------------------------
  130.  
  131.  Resident Names Table
  132.  
  133.      Name                Entry          Address
  134.  ---------------------------------------------------------------------
  135.  ---------------------------------------------------------------------
  136.  
  137.  NonResident Names Table
  138.  
  139.      Name                Entry          Address
  140.  ---------------------------------------------------------------------
  141.  ---------------------------------------------------------------------
  142.  ---------------------------------------------------------------------
  143.  Segment Table
  144.  
  145.  Seg Offset         Length         Type      Flags
  146.  ---------------------------------------------------------------------
  147.  01  00000200  003A      (CODE)*        M N P R
  148.  
  149.  
  150.      Offset : 00000203   Call KERNEL.INITTASK
  151.      Offset : 00000208   Call 0002:0002 (00000302)
  152.      Offset : 00000212   Call 0002:0129 (00000429)
  153.      Offset : 00000220   Call USER.FINDWINDOW
  154.      Offset : 0000022E   Call USER.POSTMESSAGE
  155.      Offset : 00000236   Call 0002:0046 (00000346)
  156.  ---------------------------------------------------------------------
  157.  
  158.  Seg Offset         Length         Type      Flags
  159.  ---------------------------------------------------------------------
  160.  02  00000300  014B      (CODE)         M N P R
  161.  
  162.  
  163.      Offset : 00000327   Call KERNEL.WAITEVENT
  164.      Offset : 00000330   Call USER.INITAPP
  165.      Offset : 0000038B   Call USER._WSPRINTF
  166.      Offset : 0000039D   Call USER.MESSAGEBOX
  167.  ---------------------------------------------------------------------
  168.  
  169.  Seg Offset         Length         Type      Flags
  170.  ---------------------------------------------------------------------
  171.  03  00000500  0060      (DATA)*
  172.           F N P R
  173.  ---------------------------------------------------------------------
  174.  
  175.  Seg Offset         Length         Type      Flags
  176.  ---------------------------------------------------------------------
  177.           Resource Table Data
  178.  ---------------------------------------------------------------------
  179.  
  180.   Resource Type Icon
  181.      Name : 1   Offset : 00000600   Size : 0300
  182.  
  183.   Resource Type Group Icon
  184.      Name : KBDMAN   Offset : 00000900   Size : 0100
  185.  ---------------------------------------------------------------------
  186.  
  187.        Output this program may be redirected in file.
  188.  
  189.      Utility BR
  190.  
  191.        For  better report  of  presents  utilities  necessesary
  192.        have  optional file  with symbolic  names function. This
  193.        file  have name  "WINDOWS.IMN". For  creating this  file
  194.        intended  program BR.  If file  "WINDOWS.IMN" not exist,
  195.        then  BR will  create it, else append it. For simplifier
  196.        creating  this file  for main  windows DLL  use BAT file
  197.        BUILD.BAT.   Parameters  this  BAT  must  be  drive  and
  198.        directory where placed MS WIndows. For example,
  199.  
  200.        BUILD C:\WINDOWS
  201.  
  202.        For  self program  BR need one parameter - full DLL file
  203.        name.
  204.  
  205.      Utility DIB
  206.        For  showing BMP,  ICO or  CUR file use program DIB. DIB
  207.        have  one parameter - file name. 256 colors picture will
  208.        show  only on  SVGA cards.  Key /H  allow showing header
  209.        image  file with  information about  colors,  sizes  and
  210.        compression.
  211.  
  212.      Utility VD
  213.  
  214.        More  complexity program  for examine  Windows EXE. This
  215.        program  show all  standart resources,  old and new EXE-
  216.        headers,  resident and  not resident  name table,  using
  217.        DLL  functions. For  resources allow  make  export.  For
  218.        working with program may be use next functions key:
  219.  
  220.        Alt-F1      About program and autors.
  221.  
  222.        F3          Open  examined file.  In open  dialog may be
  223.                    use  INFO button for determinate type of EXE
  224.                    file without open.
  225.  
  226.        F4          Open resource view dialog.
  227.  
  228.        F5          Show old header.
  229.  
  230.        F6          Show new header.
  231.  
  232.        F7          Show export functions name.
  233.  
  234.        F8          Show import functions name.
  235.  
  236.        Or for working with program you can use menu.
  237.  
  238.        Program  can show  contents RES  files. If your give RES
  239.        extension,  then program  will be  attempt show  file as
  240.        RES,  else as  EXE. Your  can examined  wide  spectr  of
  241.        files:  EXE, DLL,  FON and  another. Try  button INFO in
  242.        open  dialog and  your undestand what kind file. Command
  243.        line for this program following:
  244.  
  245.        VD [filename]|[filename_with_mask]
  246.  
  247.        Note:  Yet not  all  export  function  realise  in  this
  248.        program.
  249.