What exactly is randomized with ASLR in MacOS X and iOS

后端 未结 2 876
不知归路
不知归路 2021-02-03 10:23

Does anybody have a link to a documentation what exactly is randomized in what cases for latest Mac OS (10.7) and iOS (6.0)?

I mean. I want to see a list (something like

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-03 10:49

    No PIE:

    Executable - Fixed

    Data - Fixed

    Heap - Randomized per execution

    Stack - Fixed

    Libraries - Randomized per device boot

    Linker - Fixed

    With PIE:

    Executable - Randomized per execution

    Data - Randomized per execution

    Heap - Randomized per execution(more entropy)

    Stack - Randomized per execution

    Libraries - Randomized per device boot

    Linker - Randomized per execution

提交回复
热议问题