Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
idapro / opt / ida90 / libexec / idapro / cfg / idatui.cfg
Size: Mime:

//      Config file for the text mode user interface
//      ********************************************

// __TXT__ symbol is defined when this file is parsed
//
//      Screen configuration
//      --------------------

#ifdef __MSDOS__

SCREEN_MODE             = 0x0003        // Screen mode to use
                                        // 0 - don't change screen mode
                                        // DOS: AL for INT 10

SCREEN_MODES  = {                       // Allowed screen modes
                                        // The mode value is the same
                                        // as AL for INT 10
  0x3:  "Window size: Normal window (80x25)"
  0x55: "Window size: Wide window  (132x25)"
  0x54: "Window size: Big window   (132x43)"
}

#else

SCREEN_MODE             = 0x5019        // Screen mode to use
                                        // high byte - cols, low byte - rows
                                        // i.e. 0x5020 is 80cols, 32rows
SCREEN_MODES =                          // Allowed screen modes
{
  0x0:    "Do not change screen mode"
  0x5019: "Window size: Normal (80x25)"
  0x6423: "Window size: Medium (100x35)"
  0x8419: "Window size: Wide (132x25)"
  0x842B: "Window size: Big (132x43)"
  0x8464: "Window size: Huge (132x100)"
  0xFF64: "Window size: Maximum width x 100"
  0xFFFF: "Full screen mode"
}

#endif


RECENT_SCRIPTS_MODAL    = YES           // Open "Recent scripts" window as a modal window

SCREEN_PALETTE          = 0             // Screen palette:
                                        // 0 - automatic
                                        // 1 - B & W
                                        // 2 - Monochrone
                                        // 3 - Color
                                        //

SCREEN_CURSOR           = 0             // = 0 normal cursor
                                        // = 1 block cursor

AUTOSAVE                = 100           // After 100 user actions
                                        // IDA flushes its buffers to disk
                                        // Note that IDA flushes its
                                        // buffers every 5 minutes anyway.

WINDIR                  = "c:\\windows" // Default directory to look up for
                                        // MS Windows DLL files
                                        // IDA will search subdirs
                                        //      "dll"
                                        //      "system"
                                        //      "system32"
                                        // of this dir automatically

OS2DIR                  = "c:\\os2"     // OS/2 main directory (is used to
                                        // look up DLLs)


HELPFILE                = "sample.hlp"  // Name of help file used by Ctrl-F1
                                        // Please change it as shown below:
//HELPFILE                = "WIN32.HLP"


ASK_EXIT_UNPACKED       = YES           // Ask confirmation if the user
                                        // wants to exit the database without
                                        // packing it

// The following parameter is used when the user tries to undefine
// an item (an instruction or data item).
// By default IDA will always ask for a confirmation.

#define CONFIRM_UNDEFINE_NO     -1      // Never confirm
#define CONFIRM_UNDEFINE_YES     0      // Always confirm
#define CONFIRM_UNDEFINE_BLOCK   1      // Confirm only if selected

CONFIRM_UNDEFINE_COMMAND = CONFIRM_UNDEFINE_NO  // Confirm the "undefine" command
CONFIRM_SETFUNCEND_COMMAND = NO         // Confirm the "set function end" command (E hotkey)

CONFIRM_DETACH_FUNC_TAIL = NO           // Confirm the "detach this function tail" command
CONFIRM_DELETE_SELECTED_FUNCS = NO      // Confirm the "delete selected function(s)" command


// The following parameter is used when the user tries to define
// an item (an instruction or data item) but the database already contains
// another item at the current address. By default IDA will ask the user's
// permission to destroy the existing item and create the specified item.

#define AUTO_UNDEFINE_ASK    -1         // Ask about automatic undefine attempts
#define AUTO_UNDEFINE_NO      0         // Never automatically undefine items
#define AUTO_UNDEFINE_YES     1         // Always automatically undefine items

AUTO_UNDEFINE = AUTO_UNDEFINE_ASK


HISTORY_LENGTH          =       10      // Maximum length of file->history
                                        // Possible value is from 1 to 100

//
//      Keyboard hotkey definitions
//      ---------------------------
//
SHORTCUTS = {
  "legacy" : {
    "Anchor": ["Alt-l"], // drop anchor
      "ReloadFile": [0], // Reload the same input file
      "LoadFile": [0], // Load additional file into database
      "LoadIdsFile": [0], // Load IDS file
      "LoadDbgFile": [0], // Load DBG file
#ifdef __NT__
      "LoadPdbFile": [0], // Load PDB file
#endif
      "LoadTdsFile": [0], // Load TDS file
      "LoadSigFile": [0], // Load SIG file
      "LoadHeaderFile": ["Ctrl-F9"], // Load C header file
      "Execute": ["Ctrl-F3"], // Execute script file
      "RecentScripts": ["Alt-F9"], // Recent scripts
      "RecentScriptsRunCurrent": [0], // Recent scripts, run current
      "ExecuteLine": ["Shift-F2"], // Execute IDC line
#ifndef __MSDOS__
      "Shell": ["Alt-Z"],
#endif
      "About": [0],
      "SaveBase": ["Ctrl-W"],
      "SaveBaseAs": [0],
      "SaveBaseSnap": [0], // Take database snapshot
      "Abort": [0], // Abort IDA, don't save changes
      "QuitIDA": ["Alt-X"], // Quit to DOS, save changes
      "CenterInWindow": [0],
      "CheckFreeUpdate": [0], // Check for free updates
      "ClearMark": [0],
      "ProduceMap": [0], // Produce MAP file
      "ProduceAsm": ["Alt-F10"],
      "ProduceInc": [0],
      "ProduceLst": [0],
      "ProduceExe": [0],
      "ProduceHeader": [0], // Produce header file from local types
      "ProduceDiff": [0], // Generate difference file
      "ProduceFuncGdl": [0], // Produce flow chart GDL
      "ProduceCallGdl": [0], // Produce call graph GDL
      "DumpDatabase": [0], // Dump database to IDC file
                           // This IDC file contains all
                           // information to recreate
                           // the database from scratch
                           // (executable file will be
                           //  needed)
      "DumpTypes": [0], // Dump typeinfo to IDC file
      "EditCopy": [0],
      "Function": [0],
      "JumpAsk": ["G"],
      "JumpName": ["Ctrl-L"],
      "JumpSegment": ["Ctrl-S"],
      "JumpSegmentRegister": ["Ctrl-G"],
      "JumpQ": ["Ctrl-Q"],
      "JumpPosition": ["Ctrl-M"],
      "JumpXref": ["Ctrl-X"],
      "JumpOpXref": ["X"],
      "JumpFunction": ["Ctrl-P"],
      "JumpNextFunc": [0],
      "JumpPrevFunc": [0],
      "JumpEntryPoint": ["Ctrl-E"],
      "JumpFileOffset": [0],
      "JumpXrefFrom": ["Ctrl-J"],
      "JumpEnter": ["Enter"], // jump to address under cursor
      "Return": ["Esc"],
      "UndoReturn": ["Ctrl-Enter"], // undo the last Esc
      "EmptyStack": [0], // make the jumps stack empty
      "SetDirection": [0],
      "MarkPosition": ["Alt-M"],
      "UndoAction": ["Ctrl-Z"],
      "RedoAction": [0],
      "UndoToggle": [0],
      "ResetUndoHistory": [0],
      "ShowUndoHistory": [0],
      "ChooserResetFilters": [0],
      "FindAllErrors": [0],
      "JumpError": ["Ctrl-F"],
      "FindAllSuspicious": [0],
      "JumpSuspicious": ["Ctrl-V"],
      "JumpCode": ["Ctrl-C"],
      "JumpData": ["Ctrl-D"],
      "JumpUnknown": ["Ctrl-U"],
      "JumpExplored": ["Ctrl-A"],
      "AskNextImmediate": ["Alt-I"],
      "JumpImmediate": ["Ctrl-I"],
      "AskNextText": ["Alt-T"],
      "JumpText": ["Ctrl-T"],
      "AskBinaryText": ["Alt-B"],
      "JumpBinaryText": ["Ctrl-B"],
      "JumpNotFunction": [0],
      "MakeAlignment": ["L"],
      "ManualInstruction": ["Alt-F2"],
      "ToggleBorder": [0],
      "MakeCode": ["C"],
      "MakeData": ["D"],
      "MakeStrlit": ["A"],
      "MakeArray": ["*"],
      "MakeUnknown": ["U"],
      "SetAssembler": [0],
      "SetNameType": [0],
      "SetDemangledNames": [0],
      "SetColors": [0],
      "SetupCompiler": [0],
      "MakeName": ["N"],
      //"MakeAnyName"           =       "Ctrl-N"
      "ManualOperand": ["Alt-F1"],
      "MakeFunction": ["P"],
      "EditFunction": ["Alt-P"],
      "AppendFunctionTail": [0],
      "RemoveFunctionTail": [0],
      "DelFunction": [0],
      "FunctionEnd": ["E"],
      "OpenStackVariables": ["Ctrl-K"], // open stack variables window
      "ChangeStackPointer": ["Alt-K"], // change value of SP
      "RenameRegister": ["V"],
      "SetType": ["Y"],
      "MakeComment": [":"],
      "MakeRptCmt": [";"],
      "TilAddType": ["Ins"],
      "TilMakeComment": [":", ";", "/"],
      "TilFocusOther": ["Tab"],
      "TilEditType": ["Ctrl-E"],
      "TilExpandStruct": ["Ctrl-P"],
      "TilDelType": ["Del"],
      "TilDelTypeMember": ["U"],
      "TilCSyntax": [0],
      "TilInspectLib": [0],
      "MakeExtraLineA": ["Ins"],
      "MakeExtraLineB": ["Shift-Ins"],
      "OpNumber": ["#"],
      "OpHex": ["Q"],
      "OpDecimal": ["H"],
      "OpOctal": [0],
      "OpBinary": ["B"],
      "OpFloat": [0],
      "ToggleLeadingZeroes": ["0"],
      "OpChar": ["R"],
      "OpSegment": ["S"],
      "OpOffset": ["O"],
      "OpOffsetCs": ["Ctrl-O"],
      "OpAnyOffset": ["Alt-R"],
      "OpUserOffset": ["Ctrl-R"],
      "OpStructOffset": ["T"],
      "OpStackVariable": ["K"],
      "OpEnum": ["M"],
      "ChangeSign": ["-"],
      "BitwiseNegate": ["~"],
      "SetOpType": [0],
      "CreateSegment": [0],
      "EditSegment": ["Alt-S"],
      "KillSegment": [0],
      "MoveSegment": [0],
      "RebaseProgram": [0],
      "SegmentTranslation": [0],
      "SetSegmentRegister": ["Alt-G"],
      "SetSegmentRegisterDefault": [0],
      "SelectAll": [0],
      "SelectIdentifier": [0],
      "ShowRegisters": ["Space"],
      "WindowOpen": [0],
      "OpenFunctions": ["Shift-F3"], // open functions window
      "OpenNames": ["Shift-F4"],
      "OpenSignatures": ["Shift-F5"], // open signatures window
      "OpenExports": [0],
      "OpenImports": [0],
      "OpenSegments": ["Shift-F7"],
      "OpenSegmentRegisters": ["Shift-F8"],
      "OpenSelectors": [0],
      "OpenXrefs": [0],
      "OpenProblems": [0],
      "OpenTypeLibraries": ["Shift-F11"],
      "OpenStrings": ["Shift-F12"],
      "OpenLocalTypes": ["Shift-F1"],
      "OpenBookmarks": [0],
      "PatchByte": [0],
      "PatchWord": [0],
      "Assemble": [0],
      "ApplyPatches": [0],
      "TextLook": [0], // set text representation
      "SetStrlitStyle": ["Alt-A"], // set string literals style
      "SetStrlitOptions": [0], // set string literals options
      "SetCrossRefsStyle": [0], // set cross-referneces style
      "SetDirectives": [0], // setup assembler directives
      "ToggleDump": ["Ctrl-F4"], // show dump or normal view
      "SetupData": ["Alt-D"],
      "SetAuto": [0], // background analysis
      "Comments": [0],
      "Calculate": ["?"],
      "ShowFlags": ["F"],
      "ShowSnapMan": [0],
      "SetupHidden": [0],
      "Hide": ["Numpad-"],
      "UnHide": ["Numpad+"],
      "DelHiddenRange": [0],
      "HideAll": [0],
      "UnHideAll": [0],
      "WindowMove": ["Ctrl-F5"],
      "WindowZoom": ["Alt-F5"],
      "WindowPrev": ["Shift-F6"],
      "WindowNext": ["F6"],
      "WindowClose": ["Alt-F3"],
      "WindowTile": [0],
      "WindowCascade": [0],
#ifdef __NT__
      "ExportData": [0],
      "SetVideoMode": [0],
#endif
      "ExternalHelp": ["Ctrl-F1"],
      "KeyboardHelp": [0],
      "SetProcessor": [0],
      "ResetHiddenMsgs": [0],
      "NavJumpEnd": [0], // "Jump to end of line/window bottom/end"
      "NavJumpHome": [0], // "Jump to start of line/window top/start"
      "NavJumpListingEnd": [0], // "Jump to listing end"
      "NavJumpListingStart": [0], // "Jump to listing start"
      "NavJumpWindowBottom": [0], // "Jump to the bottom of the window"
      "NavJumpWindowTop": [0], // "Jump to the top of the window"
      "NavLeft": [0], // "Move one character left"
      "NavLineDown": [0], // "Move one line down"
      "NavLineUp": [0], // "Move one line up"
      "NavPageDown": [0], // "Move one page down"
      "NavPageUp": [0], // "Move one page up"
      "NavRight": [0], // "Move one character right"
      "NavWordLeft": [0], // "Move one word left"
      "NavWordRight": [0], // "Move one word right"
      "HexColNavLeft": [0], // "Move left in hex view current column"
      "HexColNavRight": [0], // "Move right in hex view current column"
      "HexColNavHome": [0], // "Move beginning of line in hex view current column"
      "HexColNavEnd": [0], // "Move end of line hex view current column"
      "SearchHighlightDown": [0], // "Search highlight down"
      "SearchHighlightUp": [0], // "Search highlight up"
      "FindRegisterDefinition": [0], // "Find register definition"
      "FindRegisterUse": [0], // "Find register use"
      "FindRegisterValue": [0], // "Find register value"
      "LuminaApplyMdFromList": [0],
      "LuminaPullMd": [0],
      "LuminaPushMd": [0],
      "LuminaRevertMd": [0],
      "LuminaDeleteMd": [0],
      "LuminaViewMd": [0],
      "LuminaMetadataHistory": [0],
      "LuminaPullAllMds": [0],
      "LuminaPushAllMds": [0],
      "LuminaRestoreMdFromList": [0],
      "LuminaViewAllMds": [0],
      "LuminaSecondaryPullAllMds": [0],
      "LuminaSecondaryPushAllMds": [0],
      "LuminaSecondaryViewAllMds": [0],
      "LuminaSecondaryPullMd": [0],
      "LuminaSecondaryPushMd": [0],
      "LuminaSecondaryDeleteMd": [0],
      "LuminaSecondaryViewMd": [0],
                                    //
                                    //      Script snippets
                                    //
      "SnippetsRunCurrent": [0],
      "SnippetsImportCurrent": [0],
      "SnippetsExportCurrent": [0],
      "SnippetsCloneCurrent": [0],
      "SnippetsChangeTabSize": [0],
      //
      //      Structure manipulation commands
      //
      "CopyStruct": [0], // copy struct type
      "ShrinkStruct": ["Ctrl-S"], // delete gap
      "EditStruct": [0], // edit struct type
      "DeclareStructVar": ["Alt-Q"], // declare struct variable
      "ZeroStructOffset": [0], // force zero field offset
      "SelectUnionMember": ["Alt-Y"], // select union member
                                      //
                                      //      Enum manipulation commands
                                      //
      "TilEditConst": ["N"], // edit enum member
                         //
                         //      Debugger commands
                         //
      "BreakpointAdd": [0],
      "BreakpointDel": [0],
      "BreakpointDisable": [0],
      "BreakpointEnable": [0],
      "BreakpointEdit": [0],
      "BreakpointToggle": ["F2"],
      "BreakpointFind": [0],
      "ProcessStart": ["F9"],
      "ProcessPause": [0],
      "ProcessExit": ["Ctrl-F2"],
      "ProcessAttach": [0], // Attach to a process
      "ProcessDetach": [0], // Detach from the debugged process
      "TakeSnapshot": [0], // Take a memory snapshot to the database
      "AddWatch": [0],
      "DelWatch": [0],
      "ThreadStepInto": ["F7"],
      "ThreadStepOver": ["F8"],
      "ThreadRunToCursor": ["F4"],
      "ThreadSetCurrentIp": ["Ctrl-Y"],
      "ShowUserScreen": ["Shift-Tab"],
      "ThreadRunUntilReturn": ["Ctrl-F7"],
      "Debugger": [0], // "Ctrl-Alt-C"
      "Breakpoints": [0], // "Ctrl-Alt-B"
      "WatchList": [0], // "Ctrl-Alt-W"
      "StackTrace": [0], // "Ctrl-Alt-S"
      "Threads": [0], // "Ctrl-Alt-T"
      "Modules": [0],
      "ClearTrace": [0],
      "ExecTraceAdd": [0],
      "ReadWriteTraceAdd": [0],
      "SetupTracing": [0],
      "ToggleTraceBasicBlocks": [0],
      "ToggleTraceFunctions": [0],
      "ToggleTraceInstructions": [0],
      "TracingWindow": [0],
      "WriteTraceAdd": [0],
      "TracingMainTracebufChangeDesc": ["Ctrl-E"],
      "TracingMainTracebufClear": ["Ctrl-X"],
      "TracingMainTracebufExportAsText": [0],
      "TracingMainTracebufInfo": ["Ctrl-I"],
      "TracingMainTracebufLoad": ["Ctrl-L"],
      "TracingMainTracebufSave": [0],
      "TracingOvlTracebufClear": [0],
      "TracingOvlTracebufInfo": [0],
      "TracingOvlTracebufLoad": [0],
      "TracingDiffToggle": [0],
      "LocalTypesSync": [0],
      "LocalTypesSyncAndJump": [0],
      "LocalTypesUnsync": [0],
      "LocalTypesExportToHeader": [0],
      "LocalTypesMapToAnother": [0],
      "LocalTypesToggleDynSel": [0],
      "DirTreeQuickFilter": [0],
      "DirTreeModifyFilters": [0],
      "DirTreeResetFilters": [0],
      "DirTreeUnsort": [0],
      "DebuggerSuspendThread": [0],
      "DebuggerResumeThread": [0],
      "LoadModuleDebugSymbols": [0],
      "AnalyzeModule": [0],
      "JumpToModuleBase": [0],
      "BreakOnModuleAccess": [0],
      "SetupStrings": [0],
      "RebuildStrings": [0],
      "ClearStrings": [0],
      "MoveSelectedSegment": [0],
      "BreakOnSegmentAccess": [0],
      "SetupProcess": [0],
      "SetupDebugger": [0],
      "SwitchDebugger": [0],
      "RefreshMemcfg": [0],
      "JumpToIP": [0],
      "SwitchToSource": [0], // switch from disassembly to source view
      "ToggleSourceDebug": [0]
   }
}


/***********************************************************/
/*      Macro definitions                                  */
/*      --------------------                               */
/***********************************************************/

// MACRO   "Alt-H"         // this sample macro jumps to "start" label
// {
//         "G"
//         's' 't' 'a' 'r', 't'
//         "Enter"
// }
// MACRO "alt-y" { "alt-x" "Enter" }
//
// MACRO   "Alt-5"         // this macro converts operand to offset from A5
// {                       // (many PlamPilot programs use A5 as ptr to data segment)
//         "Ctrl-R"
//         'A' '5' 'B' 'A' 'S' 'E'
//         "Enter"
// }

//-------------------------------------------------------------------------
//      User specific parameters
//-------------------------------------------------------------------------
//
//  If you don't want to modify IDATUI.CFG file then you can create a file
//  called IDAUSERT.CFG and place additional parameters there.
//
//  The IDAUSERT.CFG file should be placed either in the IDA/CFG directory.
//
#softinclude    <idausert.cfg>