File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1- import pytest
1+ import time
22import textwrap
33
4+ import pytest
5+
46import windows
57import windows .generated_def as gdef
68import windows .native_exec .simple_x86 as x86
@@ -108,7 +110,6 @@ def loop_query_ppid(proc, target_ppid):
108110 assert proc .read_memory (i .BaseAddress , 0x1000 )
109111 # assert False, "LOL"
110112 except Exception as e :
111- # import traceback; traceback.print(
112113 threads_error [windows .current_thread .tid ] = e
113114 raise
114115 return True
@@ -122,6 +123,7 @@ def test_syswow_call_multithread():
122123 # Old version of PFW did not handled that thus generating invalid result / crash
123124 for tnb in range (10 ):
124125 new_proc = windows .test .pop_proc_64 ()
126+ time .sleep (0.1 )
125127 new_proc_pid = new_proc .ppid
126128 all_procs .append (new_proc )
127129 t = threading .Thread (target = loop_query_ppid , args = (new_proc , new_proc_pid ))
You can’t perform that action at this time.
0 commit comments