开发者

C program to seperate data part of an elf file

Using readelf we can separate the data part from elf file(using 开发者_StackOverflowshell)Is it possible to do the same with a C program?


Use can use libelf for this purpose.

http://mdsp.googlecode.com/files/libelf-by-example-20100112.pdf


readelf itself is program written in C. So the answer is yes.

If you are on a debian-like linux distribution, you can probably get the source of readelf by typing apt-get source binutils and see how it is done.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜