在 GDB 中启用 ASLR

Enable ASLR in GDB

我知道 GDB 对其调试的应用程序禁用 ASLR。 有没有办法在 GDB 中启用 ASLR?我有一个错误,我只能在启用 ASLR 的情况下重现。

谢谢,

Is there a way to enable ASLR inside GDB?

是:

(gdb) set disable-randomization off