-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PR_SET_PTRACER to process and ssh.process (#828)
* Add PR_SET_PTRACER to initialization, and add doctests for process.leak/corefile * Add PR_SET_PTRACER to SSH processes * Do not warn about YAMA if we dont need to * Fix doctest to use raw strings * Fix typo in doctest * Apparently GDB is not installed on Travis by default * Add warning message to process("foo") vs process("./foo") * Add gdb.corefile; make run_in_new_terminal return a PID * Intentionally break doctest because I dont believe that it worked * Fix codacy issues * Fix gdb.attach return value * Add missing import * Fix typo, use waitpid * Refactor some code into gdb.version / gdb.binary * Permit GDB with multipart versions * Fix repr() on Corefile * Silence run-in-new-terminal message for gdb.corefile * Fix version number * Remove Yama warning message entirely, it should no longer be necessary * Version detection is hard. Regular expressions to the rescue! * Remove process.kill/stop/resume, those will be a different PR * Fix doctests * The GDB used by Travis must be so old! * Apparently Travis is entirely borked. Use a less robust test.
- Loading branch information
1 parent
5ce5339
commit cca9782
Showing
7 changed files
with
187 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ addons: | |
- mksh | ||
- zsh | ||
- pandoc | ||
- gdb | ||
cache: | ||
- pip | ||
- directories: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.