Disabling ASLR in Mac OS X Snow Leopard

后端 未结 2 1585
礼貌的吻别
礼貌的吻别 2020-12-10 09:21

Essentially I want to disable ASLR in Mac OS X Snow Leopard and use gcc todo some buffer overflowing and stack overflows. Anyone know how to disable ASLR?

2条回答
  •  自闭症患者
    2020-12-10 09:38

    You can set the environment variable "DYLD_NO_PIE". See "man dyld". This works on OS X 10.6 but not on 10.5.

提交回复
热议问题