Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要DEP通过代码将程序添加到异常列表中。
DEP
一种方法是将其添加到注册表中,但如果可能的话,我更愿意以其他方式进行。
或者,在禁用 DEP 的情况下启动该进程也可以,但我还没有弄清楚这是怎么可能的。使用在程序启动后立即CreateRemoteThread调用SetProcessDEPPolicy已经太晚了,因为DEP它是在进程创建时设置的。
CreateRemoteThread
SetProcessDEPPolicy