Commit 43aa5d78 authored by SND\EreTIk_cp's avatar SND\EreTIk_cp
Browse files

[+] script: switch x86(WOW64) <-> x64 processor mode. And execute commands (if specified)

git-svn-id: 9b283d60-5439-405e-af05-b73fd8c4d996
parent c9b63b1b
Switch x86(WOW64) <-> x64 processor mode
And execute commands (if specified)
import sys
from pykd import *
if __name__ == "__main__":
if getProcessorType() == "X64":
setProcessorMode( {"X64": "X86", "X86": "X64"}[ getProcessorMode() ] )
if len(sys.argv) > 1:
command = ""
for arg in sys.argv[1:]:
command = command + " " + arg
dprintln( dbgCommand(command) )
dprintln("For \"X64\" processor only")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment