You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46e9456fd4
I had issues with the ptrace call failing because the process had not yet stopped from SIGSTOP. From this stackoverflow answer, it seems that you can use waitpid to wait until the process is actually stopped. In python, this is exposed as os.waitpid. https://stackoverflow.com/questions/20510300/ptrace-detach-fails-after-ptrace-cont-with-errno-esrch#20525326 Additionally, the process was left frozen. I send a SIGCONT to continue the process after the detach, so that it isn't left stopped. |
2 years ago | |
---|---|---|
.. | ||
VERSION.py | 3 years ago | |
__init__.py | 4 years ago | |
abstract.py | 3 years ago | |
linux.py | 2 years ago | |
utils.py | 4 years ago | |
windows.py | 3 years ago |