Quantcast
Channel: 睿论坛 - 最新话题
Viewing all articles
Browse latest Browse all 5731

内存中解析dyld的符号表失败

$
0
0

@karlx wrote:

需求:
尝试解析内存中的 dylib 的符号表 ,解析时发现 内存中 load_command数据与machoview看到的不同
下附测试代码/截图/思路 求指点

代码&调试对比截图:

操作步骤:
dyldget_image_header 获取 mach_header
通过 mach_header 继续解析 所有 load_cmd
每一个command的cmd和cmdsize都是正确的
但是 比如 symtab_command 中 其他的数据都是错的

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5731

Trending Articles