summary refs log tree commit diff stats
path: root/plugins/sysinfo/sysinfo.c
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2020-04-19 23:59:26 +0200
committerPatrick <tingping@tingping.se>2020-04-19 16:13:18 -0700
commitc2cdf0d2a1296eaa75d99246628277a8180bb2ce (patch)
treee811014addcdfd7a90e037d1163628af78ec3532 /plugins/sysinfo/sysinfo.c
parent83daed87061830a140dcbf425ffa78c0ac0f4d4c (diff)
win32: Disable ASLR for Windows debug builds
GDB is usually able to debug executables with ASLR by temporarily
disabling ASLR when running that executable. This is only supported on
Linux. On Windows, GDB cannot debug ASLR executables.

This removes the dynamicbase linker flag on Windows for debug builds in
order to be able to debug that executable later.

Hardening an executable with ASLR is important for release builds, but
for debug builds being able to debug is much more important.
Diffstat (limited to 'plugins/sysinfo/sysinfo.c')
0 files changed, 0 insertions, 0 deletions