【问题标题】:If I open same file to debug on gdb... how come they have same register address?如果我在 gdb 上打开相同的文件进行调试...它们为什么具有相同的寄存器地址?
【发布时间】:2014-03-06 23:44:06
【问题描述】:

例如测试文件是ddd

>gdb -q ddd <- on one terminal
>gdb -q ddd <- on the other terminal

但是当我反汇编它时(运行时)...它怎么会给出相同的寄存器地址click to view image

ps。我是英语学习者...如果我的英语不够清楚,对不起:)

【问题讨论】:

标签: assembly gdb reverse-engineering


【解决方案1】:

除非操作系统使用ASLR,否则段的起始地址与不同执行时的可执行标头定义的相同。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-11-08
    • 1970-01-01
    • 2021-11-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多