什么函数可以获取到.bss段的起始地址,系统库或自己实现都行。

什么函数可以获取到.bss段的起始地址,系统库或自己实现都行。

getsectfromheader
参见 mach-o/getsect.h

注意你也许需要加上ASLR

我查了一下,这个是在osX系统里的,有没有在ios里面的实现

有啊 http://everettjf.github.io/2016/08/20/facebook-explore-section-fbinjectable