Skip to content

Commit

Permalink
fix logging of rq crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Quintin Dwight authored and il-steffen committed Jul 21, 2021
1 parent 608c59c commit b5ed055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kAFL-Fuzzer/common/qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def execute_in_redqueen_mode(self, payload):
self.set_payload(payload)
self.send_payload(timeout_detection=False)
if self.exit_reason() != "regular":
print_warning("RQ execution returned %s", self.exit_reason())
print_warning("RQ execution returned %s" % self.exit_reason())
except Exception as e:
log_qemu("%s" % traceback.format_exc(), self.qemu_id)
return False
Expand All @@ -736,7 +736,7 @@ def execute_in_redqueen_mode(self, payload):
self.send_payload(timeout_detection=False)
self.soft_reload()
if self.exit_reason() != "regular":
print_warning("RQ execution returned %s", self.exit_reason())
print_warning("RQ execution returned %s" % self.exit_reason())
except Exception as e:
log_qemu("%s" % traceback.format_exc(), self.qemu_id)
return False
Expand Down

0 comments on commit b5ed055

Please sign in to comment.