行业解决方案查看所有行业解决方案
IDA 用于解决软件行业的关键问题。
发布时间:2023-04-23 15: 26: 37
Action name:EditSegment
This command allows you to change segment attributes.You can change all attributes except the segment base.To change the segment base,you have to delete the segment and create it again.
Please use the following links to learn about the segment attributes:
How to change segment name
How to change segment class
How to change segment addressing mode(16/32)
How to change segment alignment
How to change segment combination
Changing the segment class may change the segment type.
MOVE ADJACENT SEGMENTS:means that the previous and next segments will be shrunk or expanded to fill gaps between segments.Click here for more information.
DISABLE ADDRESSES:if set,when a segment is shrunk,all information about bytes going out of the segment will be completely removed..Otherwise,IDA will discard information about instructions/data,comments etc,but will retain byte values so that another segment can be created later and it will use the existing byte values.
If IDA creates 2 segments where only one segment must exist,you may try the following sequence:
-delete one segment.Choose one with
bad segment base value.Do not disable addresses occupied
by the segment being deleted.
-change bounds of another segment.
Note that the create segment command changes the boundaries of the overlapping segment automatically.
Segments with the'debugger'attribute are the segments whose memory contents are not saved in the database.Usually,these segments are created by the debugger to reflect the current memory state of the program.
However,the user can modify this attribute.
If it is cleared,then the segment will permanently stay in the database after closing the debugger session.The database will reflect the state of the segment which was at the time when the status is changed.
If it is set,then the segment will become a temporary segment and will be deleted at the end of the debugging session.
The"debugger segment"checbkox is available only during debugging sessions.
The'loader'segments are the segment created by the file loader.The segment having this attribute are considered to be part of the input file.
A segment with the'debugger'attribute set and the'loader'attribute not set is considered to be an ephemeral segment.Such segments are not analyzed automatically by IDA.
"Segment permissions"group box can be used to modify Segment access permissions(Read/Write/Execute)
以下为中文翻译:
name:EditSegment
此命令允许您更改分段属性。您可以更改除分段基础之外的所有属性。为了改变分段
基础,您必须删除分段并重新创建它。
请使用以下链接了解分段属性:如何更改分段名称如何更改分段类如何更改分段寻址模式(16/32)如何更改分段对齐方式如何更改分段组合
更改分段类可能会更改分段类型。
移动相邻分段:意味着前一个和下一个段将被收缩或扩展,以填补段之间的空白。单击此处了解更多信息。
可重复地址:如果设置,当段被收缩时,所有关于段外字节的信息都将被完全删除。。否则,IDA将丢弃有关指令/数据、注释等的信息,但将保留字节值,以便
以后可以创建另一个段,并使用现有的字节值。
如果IDA创建了两个段,其中只有一个段必须存在,则可以尝试以下顺序:-删除一个段。选择一个分段基本值不正确的分段。不要禁用被删除的段占用的地址。-更
改另一个段的边界。请注意,create segment命令会自动更改重叠段的界限。
具有“debugger”属性的段是内存内容未保存在数据库中的段。通常,这些段是由调试器创建的,以反映程序的当前内存状态。
但是,用户可以修改此属性。
如果清除此属性,则
在关闭调试器会话后,该段将永久保留在数据库中。数据库将反映
状态更改时段的状态。
如果设置了该状态,则该段将成为临时段,并将在调试会话结束时删除。
“调试器段”checbkox仅在调试会话期间可用。“
加载程序”段是由文件加载程序创建的段。具有此属性的段被视为输入文件的一部分。
具有“调试器”属性集和“加载程序”属性集的段被认为是临时段。IDA不会自动分析这些段。
“段权限”组框可用于修改段访问权限(读/写/执行)
展开阅读全文
︾
读者也喜欢这些内容:
IDA Pro指定目标汇编程序(Specify Target Assembler)
...
阅读全文 >
IDA Pro更改句段翻译(Change segment translation)
...
阅读全文 >
IDA Pro删除段(Delete a segment)
...
阅读全文 >
ida生成伪代码 ida生成的伪代码如何看
IDA是一款非常强大的反汇编工具,可以帮助我们进行逆向分析,理解程序的行为。在进行逆向分析时,我们通常需要将程序反编译为高级语言代码,以便于理解程序的逻辑和功能。而IDA提供的伪代码功能,可以帮助我们将程序反编译为高级语言代码。以下是关于IDA生成伪代码,IDA生成的伪代码如何看的内容。...
阅读全文 >