Closed io-no closed 11 months ago
Con questo non viene throwato l'errore, quindi il problema sta proprio in run
Commit 21b833e9738e6fa690452a8e29c1ae033ce2a55e might have solved this issue, as a side-effect of correctly managing the spawned process on shutdown()
Commit 25688c5417a5035e08a0b04c12cba8fd1e6f6024 includes a first implementation of the following functions:
Working for interactive
Everything should work after the commit d4b27deab3ec91df5ba1faa39ee058ea5c4a8ddc
When the run method of Debugger is used repeatedly in, for example, a bruteforce, the error "too many files open" is encountered. It is hypothesized that this is due to incorrect management of the stdin and stdout PIPEs. The run uses os.execv(path, args) so it is necessary to test and verify if that is the problem. Furthermore, since it is necessary to manage the PIPEs, functions similar to recv and sendline should be implemented to interact directly with the binary.