默认设置在ida程序目录中cfg目录下,ida.cfg,text相关的设置里面包含缩进,关键字INDENTION,你看看有什么不一样的,其实你完全可以在吾爱爱盘下载8.3绿色版,或者论坛里面找9.0版本,应该不会存在你的这些问题。另外,方便的话,说一下你看的教程。
[Shell] 纯文本查看 复制代码 第一部分
//-------------------------------------------------------------------------
//
// Text representation
//
//-------------------------------------------------------------------------
OPCODE_BYTES = 0 // display this many instruction/data bytes:
// 0 = disable
// N = up to N bytes on one line; go to next line to show remaining bytes
// -N = up to N bytes on one line; truncate remaining bytes
// The 'default' configuration in the registry may
// override this value
INDENTION = 16 // Indentation of instructions
// The 'default' configuration in the registry may
// override this value
COMMENTS_INDENTION = 40 // Indentation of short comments
MAX_TAIL = 16 // Tail depth (used to gather xref info)
MAX_XREF_LENGTH = 80 // Right margin for cross-references
MAX_DATALINE_LENGTH = 70 // Right margin for data directives (db,dw, etc)
SHOW_AUTOCOMMENTS = NO // Display comments for every instruction?
// Please note that there is another definition
// for IBM PC below
SHOW_BASIC_BLOCKS = NO // Generate an empty line at the end of a basic block
SHOW_BORDERS = YES // Borders between data/code
SHOW_EMPTYLINES = YES // Generate empty lines to make disassembly more readable
SHOW_LINEPREFIXES = YES // Show line prefixes (like 1000:0000)
SHOW_SEGMENTS = YES // Show segments in addresses
USE_SEGMENT_NAMES = YES // Show segment names instead of numbers
SHOW_REPEATABLE_COMMENTS= YES // Show repeatable comments (disabling this increases IDA speed)
SHOW_SP = NO // Show stack pointer at the start of lines
// The 'default' configuration in the registry may
// override this value
SHOW_SUSPICIOUS = NO // Show <void> marks (the red/orange color is bright enough)
SHOW_XREFS = 2 // Show 2 cross-references (the rest is accessible by Ctrl-X)
SHOW_XREF_FUNC = YES // Show function offsets in xrefs
SHOW_XREF_TYPES = YES // Show xref type marks
SHOW_XREF_VALUES = YES // If not, xrefs are displayed as "..."
SHOW_SEGXREFS = YES // Show segment part of addresses in cross-references
SHOW_SOURCE_LINNUM = NO // Show source line numbers
SHOW_TRYBLOCKS = YES // Show try block line information
SHOW_ASSUMES = YES // Generate 'assume' directives
SHOW_ORIGINS = YES // Generate 'org' directives
SHOW_REFCMTS = 16 // Show some references to string literals or demangled names
// (the rest is accessible by Ctrl-J)
DEL_CODE_COMMENTS = YES // Delete a comment attached to an instruction
// when the instruction is deleted
MAX_ITEM_LINES = 25000 // Maximum number of lines for one item (one instruction or data)
第二部分
//
// Text representation in the graph mode
//
//-------------------------------------------------------------------------
GRAPH_COMMENTS_INDENTION = 24 // Indention of short comments
GRAPH_INDENTION = 0 // Indention of instructions
GRAPH_MARGIN = 40 // Max node width
GRAPH_SHOW_LINEPREFIXES = NO // Show line prefixes (like 1000:0000)
GRAPH_SHOW_XREFS = 0 // Show no xrefs (use node title button for them)
GRAPH_OPCODE_BYTES = 0 // don't display instruction/data bytes
GRAPH_SHOW_BASIC_BLOCKS = NO // Generate an empty line at the end of basic blocks |