windows关闭aslr办法

关闭aslr方便调试分析。

转:https://www.52pojie.cn/thread-377450-1-1.html

windows关闭aslr办法

  • 如 @Hmily  前辈所说, Windows XP 之后的系统(内核版本 NT 6+)都默认打开了 ASLR  功能,可以在注册表中添加开关禁用。
  • 关闭 ASLR 可参考程序清单 1,重新启用可参考程序清单 2(均来自搜索,未测试)(注:毕竟是保护系统安全的功能,小心取舍)。
    程序清单 1
     
    1
    2
    3
    4
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management]
    "MoveImages"=dword:00000000
     
     
     
     
     
    重新开启则为:
    1
    2
    3
    4
    Windows Registry Editor Version 5.00
     
    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management]
    "MoveImages"=-
     
     
原文地址:https://www.cnblogs.com/studyskill/p/7865026.html