Is there some sort of ASLR protection on Android?

折月煮酒 提交于 2019-12-06 06:53:39

问题


I want to know if someone could access libraries with function addresses that would be the same from one instance of the program to the other?


回答1:


The address space layout will be pretty consistent from run to run on the same device. A lot of the major system libraries are preloaded by zygote, and so inherited as shared mappings by the children it forks off to differentiate into applications. I suppose remapping them at the virtual memory level would be possible, but would incur a sort of dynamic-re-linking penalty and would be fairly tricky to implement.



来源:https://stackoverflow.com/questions/5917768/is-there-some-sort-of-aslr-protection-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!