本文介绍了将代码注入到正在运行的Linux应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在本文中,当我尝试遇到问题时,我的体系结构是64位,但这是32位的.请告诉我是否有人可以解决.


www.codeproject.com/Articles/33340/Code-Injection-into-Running-Linux-Application

偏移量信息类型Sym.Value符号.名称
00000009 00000501 R_386_32 00000000 .rodata
0000000e 00000a02 R_386_PC32 00000000系统
00000013 00000b02 R_386_PC32 00000000打印



偏移量信息类型符号.价值象征.名称+附加
000000000005 000a00000002 R_X86_64_PC32 0000000000000000打印+ fffffffffffffffc
00000000000a 00050000000a R_X86_64_32 0000000000000000 .rodata + 0
00000000000f 000b00000002 R_X86_64_PC32 0000000000000000系统+ fffffffffffffffc

偏移量为0x630的重定位节``.rela.eh_frame''包含2个条目:
偏移量信息类型符号.价值象征.名称+附加
000000000012 000c0000000a R_X86_64_32 0000000000000000 __gxx_personality_v0 + 0
000000000028 00020000000a R_X86_64_32 0000000000000000 .text + 0

In this article when i was trying i got a problem my architecture is 64 bit but this is for 32 bit . Please tell me if someone has a solution.


www.codeproject.com/Articles/33340/Code-Injection-into-Running-Linux-Application

Offset Info Type Sym.Value Sym. Name
00000009 00000501 R_386_32 00000000 .rodata
0000000e 00000a02 R_386_PC32 00000000 system
00000013 00000b02 R_386_PC32 00000000 print



Offset Info Type Sym. Value Sym. Name + Addend
000000000005 000a00000002 R_X86_64_PC32 0000000000000000 print + fffffffffffffffc
00000000000a 00050000000a R_X86_64_32 0000000000000000 .rodata + 0
00000000000f 000b00000002 R_X86_64_PC32 0000000000000000 system + fffffffffffffffc

Relocation section ''.rela.eh_frame'' at offset 0x630 contains 2 entries:
Offset Info Type Sym. Value Sym. Name + Addend
000000000012 000c0000000a R_X86_64_32 0000000000000000 __gxx_personality_v0 + 0
000000000028 00020000000a R_X86_64_32 0000000000000000 .text + 0

推荐答案


这篇关于将代码注入到正在运行的Linux应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-13 12:40