home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ida35bc.zip / IDA.CFG < prev    next >
Text File  |  1996-01-29  |  7KB  |  236 lines

  1. //     *************************
  2. //    Sample IDA config file.        Created 17-Jul-91 by Ilfak Guilfanov
  3. //     *************************
  4.  
  5. //
  6. //    #include's are allowed.
  7. //
  8. //    You can use C-like constants in this file.
  9. //
  10. //
  11.  
  12. //-------------------------------------------------------------------------
  13.  //
  14.  //    General paramteres
  15.  //
  16. //-------------------------------------------------------------------------
  17.  
  18. SCREEN_MODE        = 0        // Screen mode to use
  19.                     // 0 - don't change screen mode
  20.                     // DOS: AL for INT 10
  21.                     // OS/2: high byte - cols, low byte - rows
  22.                     // i.e. 0x5020 is 80cols, 32rows
  23.                     //
  24. SCREEN_PALETTE        = 0        // Screen palette:
  25.                     // 0 - automatic
  26.                     // 1 - B & W
  27.                     // 2 - Monochrone
  28.                     // 3 - Color
  29.                     //
  30.                     // Swapping into extended/expanded memory.
  31.                     // Only IDA itself will be overlayed,
  32.                     // not its data.
  33. SWAP_EXPANDED        = 16        // Allocate 256Kb for overlays (unit=16k)
  34. SWAP_EXTENDED        = 256        // Allocate 256Kb for overlays (unit=1k)
  35. DEFAULT_PROCESSOR    = "8086"    // Simple i8086 is default
  36. USE_FPP            = YES        // Floating Point Processor instructions
  37.                     // are enabled
  38. ENABLE_ANALYSIS        = YES        // Background analysis is enabled
  39. SHOW_INDICATOR        = YES        // Show background analysis indicator
  40. PACK_DATABASE        = 2        // For the moment
  41.                     //   0 - don't pack at all
  42.                     //   1 - pack database (store)
  43.                     //   2 - pack database (implode)
  44. AUTOSAVE        = 16        // After 16 user actions
  45.                     // IDA flushes its buffers into disk
  46. WINDIR            = "c:\\windows"    // Default directory to look up for
  47.                     // DLL files
  48. OS2DIR            = "c:\\os2"    // OS/2 main directory (is used to
  49.                     // look up DLLs)
  50.  
  51. //-------------------------------------------------------------------------
  52.  //
  53.  //    Text representation
  54.  //
  55. //-------------------------------------------------------------------------
  56.  
  57. BINARY_PREFIX_SIZE    = 0        // don't display bytes of instruction/data
  58. INDENTION        = 16        // Indention of instructions
  59. COMMENTS_INDENTION    = 40        // Indention for on-line comments
  60. MAX_TAIL        = 16        // Tail depth
  61. MAX_XREF_LENGTH        = 132        // Maximal length of line with cross-references
  62. MAX_DATALINE_LENGTH    = 40        // Data directives (db,dw, etc):
  63.                     //   max length of argument string
  64. SHOW_AUTOCOMMENTS    = NO        // Don't show silly comments
  65. SHOW_BAD_INSTRUCTIONS    = NO        // Don't bother about instrucion lengthes
  66. SHOW_BORDERS        = YES        // Borders between data/code
  67. SHOW_EMPTYLINES        = YES        // Generate empty line to make
  68.                     // text more readable
  69. SHOW_LINEPREFIXES    = YES        // Show line prefixes (1000:0000)
  70. SHOW_SEGMENTS        = YES        // Show segments in addresses
  71. USE_SEGMENT_NAMES    = YES        // Show segment names instead of numbers
  72. SHOW_REPEATABLE_COMMENTS = YES        // Of course, use repeatable comments
  73.                     // Disabling this increases IDA speed.
  74. SHOW_VOIDS        = NO        // Don't display <void> marks
  75. SHOW_XREFS        = YES        // Show cross-references
  76. SHOW_SEGXREFS        = YES        // Show segment part of addresses
  77.                     // in cross-references
  78. SHOW_ASSUMES        = YES        // Generate 'assume' directives
  79. SHOW_ORIGINS        = YES        // Generate 'org' directives
  80. USE_TABULATION        = YES        // Use '\t' in output file
  81.  
  82. //-------------------------------------------------------------------------
  83.  //
  84.  //    ASCII strings & names
  85.  //
  86. //-------------------------------------------------------------------------
  87.  
  88. ASCII_GENNAMES        = YES        // Generate names when making
  89.                     // an ASCII string
  90. ASCII_LINEBREAK        = '\n'        // This symbol forces IDA
  91.                     // to start a new line
  92. ASCII_LINEEND        = 0        // This symbol stops ASCII string
  93.                     // length calculation
  94. ASCII_PASCAL        = NO        // Default is C-style
  95. ASCII_PREFIX        = "m_"        // This prefix is used when a new
  96.                     // name is generated
  97. ASCII_SERIAL        = NO        // Serial names are disabled
  98. ASCII_SERNUM        = 0        // Number to start serial names
  99. ASCII_ZEROES        = 0        // Number of leading zeroes in
  100.                     // serial names
  101. DUMMY_NAMES_TYPE    = 0        // See 'dummy names' for explanations
  102.  
  103. MAX_NAMES_LENGTH    = 15        // Maximal length of new names
  104.                     // (you may specify values up to 127)
  105.     //
  106.     // NOTE: As far as I know some assemblers can't handle such
  107.     // a long names. For example, Table Driven Assembler
  108.     // supports names' length up to 13.
  109.     //    BE CAREFUL!
  110.  
  111. /***********************************************************/
  112. /*    Keyboard definitions                   */
  113. /*    --------------------                   */
  114. /***********************************************************/
  115.  
  116. "LoadFile"        =    0        // Load additional file into database
  117. "Execute"        =    "F2"        // Execute IDC file
  118. "ExecuteLine"        =    "Shift-F2"    // Execute IDC line
  119. "Repaint"        =    0        // Repaint Desktop
  120. "Abort"            =    0        // Abort IDA, don't save changes
  121. "Quit"            =    "Alt-X"        // Quit to DOS, save changes
  122.  
  123. "ProduceMap"        =    "Shift-F10"    // Produce MAP file
  124. "ProduceAsm"        =    "Alt-F10"
  125. "ProduceLst"        =    0
  126. "ProduceExe"        =    "Ctrl-F10"
  127. "Unload"        =    "Ctrl-F2"    // Generate IDC file
  128.  
  129. "EditFile"        =    0        // Small text editor
  130.  
  131. "JumpAsk"        =    "Ctrl-G"
  132. "JumpName"        =    "Ctrl-L"
  133. "JumpSegment"        =    "Ctrl-S"
  134. "JumpSegmentRegister"    =    "Ctrl-R"
  135. "JumpQ"            =    "Ctrl-Q"
  136. "JumpPosition"        =    "Ctrl-P"
  137.  
  138. "JumpEnter"        =    "Enter"        // jump to address under cursor
  139. "Return"        =    "Esc"
  140. "UndoReturn"        =    "Ctrl-Enter"    // undo the last Esc
  141. "EmptyStack"        =    0        // make the jumps stack empty
  142.  
  143. "SetDirection"        =    "Tab"
  144. "MarkPosition"        =    "Alt-P"
  145.  
  146. "JumpVoid"        =    "Ctrl-V"
  147. "JumpCode"        =    "Ctrl-C"
  148. "JumpData"        =    "Ctrl-D"
  149. "JumpProc"        =    "Ctrl-F"
  150. "JumpUnknown"        =    "Ctrl-U"
  151. "JumpExplored"        =    "Ctrl-A"
  152. "AskNextImmediate"    =    "Alt-I"
  153. "JumpImmediate"        =    "I"
  154. "AskNextText"        =    "Alt-T"
  155. "JumpText"        =    "Ctrl-T"
  156. "AskBinaryText"        =    "Alt-B"
  157. "JumpBinaryText"    =    "Ctrl-B"
  158.  
  159. "MakeJumpTable"        =    "Alt-J"
  160. "Link"            =    0
  161. "Unlink"        =    0
  162.  
  163. "MakeCode"         =    'C'
  164. "MakeData"        =    'D'
  165. "MakeAscii"        =    'A'
  166. "MakeArray"        =    '*'
  167. "MakeUnknown"        =    'U'
  168.  
  169. "SetAssembler"        =    0
  170. "SetDirection"        =    "Tab"
  171. "SetNameType"        =    0
  172.  
  173. "MakeName"        =    'N'
  174. "MakeAnyName"        =    "Ctrl-N"
  175. "MakeProcedure"        =    'P'
  176. "MakeEndOfProcedure"    =    'E'
  177. "Alter1Operand"        =    "Alt-F1"
  178. "Alter2Operand"        =    "Alt-F2"
  179.  
  180. "MakeComment"        =    ':'
  181. "MakeRptCmt"        =    ';'
  182. "MakePredefinedComment"    =    "Shift-F1"
  183.  
  184. "MakeExtraLineA"    =    "Ins"
  185. "MakeExtraLineB"    =    "Shift-Ins"
  186. "DeleteExtraLineA"    =    "Del"
  187. "DeleteExtraLineB"    =    "Shift-Del"
  188.  
  189. "MakeDecimal"        =    'H'
  190. "MakeChar"        =    'R'
  191. "MakeNumber"        =    '#'
  192. "MakeVariable"        =    'V'
  193. "MakeSegment"        =    'S'
  194. "MakeOffset"        =    'O'
  195. "MakeOffsetCs"        =    "Ctrl-O"
  196. "MakeAnyOffset"        =    "Alt-R"
  197.  
  198. "CreateSegment"        =    0
  199. "EditSegment"        =    "Alt-S"
  200. "KillSegment"        =    0
  201. "MoveSegment"        =    0
  202. "SegmentTranslation"    =    0
  203.  
  204. "SetSegmentRegister"    =    "Alt-D"
  205. "SetSegmentRegisterDefault"    = 0
  206.  
  207. "ShowRegisters"        =    "Space"
  208. "ShowSegmentRegisters"    =    0
  209. "ShowSegments"        =    0
  210. "ShowNames"        =    0
  211.  
  212. "PatchByte"        =    0
  213. "PatchWord"        =    "Ctrl-W"
  214.  
  215. "TextLook"        =    0        // set text representation
  216. "SetAsciiStyle"        =    0        // set ascii strings style
  217. "SetCrossRefsStyle"    =    0        // set cross-referneces style
  218. "SetDirectives"        =    0        // setup assembler directives
  219. "ToggleDump"        =    "F4"        // show dump or normal view
  220. "SetAuto"        =    0        // background analysis
  221.  
  222. "ViewFile"        =    0
  223. "Calculate"        =    '?'
  224. "ShowFlags"        =    'F'
  225.  
  226. "WindowOpen"        =    "F3"
  227. "WindowMove"        =    "Ctrl-F5"
  228. "WindowZoom"        =    "F5"
  229. "WindowPrev"        =    "Shift-F6"
  230. "WindowNext"        =    "F6"
  231. "WindowClose"        =    "Alt-F3"
  232. "WindowTile"        =    "F7"
  233. "WindowCascade"        =    "F8"
  234.  
  235. "SetProcessor"        =    0
  236.