From 98edca9f96bacbf2590847199d43bae95e7bb88f Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Tue, 20 Oct 2026 17:18:19 +0800 Subject: [PATCH] fix(pwndbg): clarify debugger context output limit message --- bridge/pwndbg/core_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/pwndbg/core_context.py b/bridge/pwndbg/core_context.py index 498c89b3b6..ffdbc72ab4 100644 --- a/bridge/pwndbg/core_context.py +++ b/bridge/pwndbg/core_context.py @@ -95,7 +95,7 @@ def main(): try: encoded = json.dumps(reply, ensure_ascii=True, allow_nan=False).encode("utf-8") if len(encoded) > OUTPUT_BYTES: - encoded = json.dumps({"ok": False, "reason": "output-limit", "message": "Complete debugger context exceeds64 MiB reply budget."}).encode("utf-8") + encoded = json.dumps({"ok": False, "reason": "output-limit", "message": "Complete debugger context exceeds the 64 MiB reply budget."}).encode("utf-8") descriptor = os.open(request["reply_path"], os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o600) with os.fdopen(descriptor, "wb") as handle: handle.write(encoded)