Quantcast
Channel: Python extension for WinDbg
Viewing all articles
Browse latest Browse all 1625

New Post: Simple go/break script

$
0
0
Thank you for the replay :)

I wrote some simple code with threads, but after execution it stops whole Windbg. I am trying to find right solution, but maybe you can give me a hint?
def breakInThread():
    dprintln("Starting thread for break-in")
    breakin()
    dprintln("Did break happen?")
    

def goThread():
    dprintln("Starting thread for go")
    go()
    

t_break = threading.Thread(target=breakInThread)
t_go = threading.Thread(target=goThread)
command = dbgCommand(".echo Starting")
dprintln(command)
t_go.start()
t_break.start()

Viewing all articles
Browse latest Browse all 1625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>