Address space layout randomization (ASLR)

Updated: May 06, 2022

Address space layout randomization varies the location of data and instructions each time an executable is loaded as long as it was compiled with Position-Independent Executable (PIE) support.

ASLR is built-in to the system and enabled by starting procnto with the -mr option. QNX recommends that you leave it enabled. For information on disabling ASLR, see the procnto entry in the Utilities Reference.

Address Space Layout Randomization is implemented for the following system elements: