Assembly ELF Dissasembly-什么;。init.text.plt“;方法

Assembly ELF Dissasembly-什么;。init.text.plt“;方法,assembly,elf,Assembly,Elf,我在看我的ELF拆卸,有些台词是这样的: .text:000105e0 00 b0 a0 e3 mov fp, #0 .text:000105e8 04 10 9d e4 pop {r1}; (ldr r1, [sp], #4) .plt:00010568 00 c6 8f e2 add ip, pc, #0, 12 .plt:0001056c 10 ca 8c e2 add ip, ip, #16, 20 ; 0x10000 其他类似的: .text:00010

我在看我的ELF拆卸,有些台词是这样的:

.text:000105e0 00 b0 a0 e3  mov fp, #0
.text:000105e8 04 10 9d e4  pop {r1}; (ldr r1, [sp], #4)
.plt:00010568 00 c6 8f e2    add    ip, pc, #0, 12
.plt:0001056c 10 ca 8c e2    add    ip, ip, #16, 20 ; 0x10000
其他类似的:

.text:000105e0 00 b0 a0 e3  mov fp, #0
.text:000105e8 04 10 9d e4  pop {r1}; (ldr r1, [sp], #4)
.plt:00010568 00 c6 8f e2    add    ip, pc, #0, 12
.plt:0001056c 10 ca 8c e2    add    ip, ip, #16, 20 ; 0x10000
还有一些人喜欢:

.init:00010544 08 40 2d e9   push   {r3, lr}

拆解行的.text、.plt和.init部分是什么意思

.init、.text和.plt是链接器部分

  • .init包含启动代码
  • .text包含程序代码
  • .plt用于调用在链接时地址未知的函数(但将在运行时由动态链接器解析)

  • 还有许多其他可能包含代码、数据或常量的部分。

    它们是区段名称,它们给出了你要分解的代码的目的的线索,包括它实际上是代码而不是数据。谢谢,你能考虑把你的评论当作答案吗?它们是程序部分。顺便说一句,我有一些想法(根据汇编经验)。我只是在谷歌上搜索了elf plt,它就在那里。