Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(config): read the Rizin control budget from its own constant
The Rizin control-reply admission limit still took its value from the
caller command-output default, while GDB used DEBUGGER_CONTROL_REPLY_BYTES.
Read the dedicated constant in both so the control budget has one owner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Loading branch information
kaoru0822-kitauji and claude committed Oct 30, 2026
commit df94d0f576b318b3c1806d4641229948336bfe10
9 changes: 5 additions & 4 deletions src/config/debuggerSessionLimits.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
DEBUGGER_CONTROL_REPLY_BYTES,
DEFAULT_DEBUGGER_COMMAND_DEADLINE_MS,
DEFAULT_DEBUGGER_MAX_COMMAND_OUTPUT_BYTES,
DEFAULT_DEBUGGER_MAX_PENDING_COMMANDS,
Expand Down Expand Up @@ -235,11 +236,11 @@ export const resolveDebuggerSessionLimits = (
*/
export const debuggerControlReplyOutput: DebuggerAdmissionLimit = {
setting: "debugger control-reply budget",
value: DEFAULT_DEBUGGER_MAX_COMMAND_OUTPUT_BYTES,
value: DEBUGGER_CONTROL_REPLY_BYTES,
source: "default",
defaultValue: DEFAULT_DEBUGGER_MAX_COMMAND_OUTPUT_BYTES,
minimum: DEFAULT_DEBUGGER_MAX_COMMAND_OUTPUT_BYTES,
maximum: DEFAULT_DEBUGGER_MAX_COMMAND_OUTPUT_BYTES,
defaultValue: DEBUGGER_CONTROL_REPLY_BYTES,
minimum: DEBUGGER_CONTROL_REPLY_BYTES,
maximum: DEBUGGER_CONTROL_REPLY_BYTES,
unit: "bytes",
};

Expand Down
Loading