Disable randomization of memory addresses

前端 未结 3 1732
一个人的身影
一个人的身影 2020-11-29 00:07

I\'m trying to debug a binary that uses a lot of pointers. Sometimes for seeing output quickly to figure out errors, I print out the address of objects and their correspondi

3条回答
  •  执念已碎
    2020-11-29 00:55

    On Ubuntu , it can be disabled with...

    echo 0 > /proc/sys/kernel/randomize_va_space
    

    On Windows, this post might be of some help...

    http://blog.didierstevens.com/2007/11/20/quickpost-another-funny-vista-trick-with-aslr/

提交回复
热议问题