我试图在由gflags构建的Release x64二进制文件上运行Release x64 x64,以检测访问冲突。
我从微软网站下载了Windows调试工具。
我将C:\Program Files (x86)\Windows Kits\10\Debuggers\x64添加到PATH环境变量中,gflags和windbg在Windows提示符中找到。
编辑:添加已经尝试过的命令
我试图用以下命令标记:
gflags /p /enable D:\MyBinary.exe /full /protect
gflags /p /enable D:\MyBinary.exe
gflags /p /enable MyBinary.exe /full /protect
gflags /p /enable -i MyBinary.exe /full /protect
gflags /p /enable /i MyBinary.exe /full /protect
gflags -p -enable -i MyBinary.exe -full -protect
然后,我想检查二进制文件是否被正确地标记为
gflags /p
没有列出MyBinary.exe,gflags /p什么也不显示。
我重新尝试了禁用UAC,看看它是否不同,没有更好的结果。
我还试图标记另一个二进制文件(notepad++.exe),但仍然没有标记。
我的命令怎么了?
发布于 2015-11-24 10:56:29
在管理员提示符中,此命令正在工作:
D:\>gflags /p /enable MyBinary.exe /full /protect path: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options mybinary.exe: page heap enabled
https://stackoverflow.com/questions/33891080
复制相似问题