How to disable address space randomization for a binary on Linux?

前端 未结 3 1975
攒了一身酷
攒了一身酷 2020-12-14 18:56

I\'m working on a runtime system for parallel programs that can take advantage of a common address space layout across multiple processes, potentially spread over several (t

3条回答
  •  感动是毒
    2020-12-14 19:25

    At least some earlier versions of ASLR in the Linux kernel preserved offsets when forking. Rather than disabling randomization for your processes, might you simply be able to arrange them under a parent/child process hierarchy that kept the offsets the same between instances of the binary forked by the same parent?

提交回复
热议问题