开发者

Is there some sort of ASLR protection on Android?

开发者 https://www.devze.com 2023-03-03 18:46 出处:网络
I want to know if someone could access libraries with function addresses that would be the same from one instance of the prog开发者_如何学Goram to the other?The address space layout will be pretty con

I want to know if someone could access libraries with function addresses that would be the same from one instance of the prog开发者_如何学Goram to the other?


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.

0

精彩评论

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