-
-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Redirect stderr to stdout via `-1`; Unbreak `dk 9` test * Use fully qualified names in 'overgeneral-exceptions' option
- Loading branch information
Showing
4 changed files
with
30 additions
and
9 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import sys | ||
import rzpipe | ||
|
||
rzp = rzpipe.open("bins/elf/analysis/calls_x64", flags=["-a", "x86", "-d", "-1"]) | ||
expected = "child received signal 9" | ||
actual = rzp.cmd("") | ||
actual += rzp.cmd("wx ebfe; dk 9; dc") # ebfe is infinite loop | ||
actual += rzp.cmd("") | ||
if expected in actual or "Process exited with status=0x9" in actual: | ||
sys.stderr.write(expected + "\n") | ||
else: | ||
sys.stderr.write(actual) |