debugging - Why argument has been changed when using subprocess(python) to start application(windows)? -
i use python code below start debugger , application(a simple code write myself) argument:
debugger=r'c:\program files (x86)\windows kits\10\debuggers\x86\windbg.exe' exe='test.exe' argument='\x01\x02...\xff'#from 0x01 0xff subprocess.popen(debugger+" "+exe+" "+argument)
well worked, when set breakpoint in main function, , checked argument, seemed argv[1] not right:
it seems '\x09' , '\x20' changed '\x00' , '\x22' gone.
so what's wrong? doing in wrong way?
command arguments shold passed popen
list:
subprocess.popen([debugger, exe, argument])
Comments
Post a Comment