首页
社区
课程
招聘
[讨论]谁能给我一份android版本的ELF文档啊,不要北京大学那个ELF根本不齐全啊!!
发表于: 2016-5-4 17:11 3958

[讨论]谁能给我一份android版本的ELF文档啊,不要北京大学那个ELF根本不齐全啊!!

2016-5-4 17:11
3958
比如
#define SHT_FINI_ARRAY 15
#define SHT_INIT_ARRAY 14
#define PT_ARM_EXIDEX 0x70000001
这几个的定义根本没有啊,但是却在so文件里面出现了

[课程]Linux pwn 探索篇!

收藏
免费 0
支持
分享
最新回复 (5)
雪    币: 191
活跃值: (195)
能力值: ( LV8,RANK:130 )
在线值:
发帖
回帖
粉丝
2
@ThomasKing 大大你那篇对so文件修复,里面我看到你修复了.fini_array和.init_array,但是你的
#define SHT_FINI_ARRAY 15
#define SHT_INIT_ARRAY 14
这两个的定义从哪里来的啊
2016-5-4 17:12
0
雪    币: 191
活跃值: (195)
能力值: ( LV8,RANK:130 )
在线值:
发帖
回帖
粉丝
3
我在安卓源码里面也没有搜到,见鬼了。这定义凭空想的
2016-5-4 17:17
0
雪    币: 1305
活跃值: (252)
能力值: ( LV12,RANK:240 )
在线值:
发帖
回帖
粉丝
4
这个是Section type,
对elf类型介绍最好的是 oracle的官网 还有就是Linker的源代码
http://docs.oracle.com/cd/E19683-01/817-3677/chapter7-6/index.html

SHT_INIT_ARRAY   14
SHT_FINI_ARRAY   15

SHT_INIT_ARRAY
Identifies a section containing an array of pointers to initialization functions. Each pointer in the array is taken as a parameterless procedure with a void return. See Initialization and Termination Sections for details.

SHT_FINI_ARRAY
Identifies a section containing an array of pointers to termination functions. Each pointer in the array is taken as a parameterless procedure with a void return. See Initialization and Termination Sections for details.
2016-5-6 22:54
0
雪    币: 191
活跃值: (195)
能力值: ( LV8,RANK:130 )
在线值:
发帖
回帖
粉丝
5
谢谢大大啦,多谢帮助
2016-5-7 11:30
0
雪    币: 3040
活跃值: (1151)
能力值: ( LV8,RANK:120 )
在线值:
发帖
回帖
粉丝
6
直接去看头文件
2016-5-17 10:51
0
游客
登录 | 注册 方可回帖
返回
//