summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFramePythonInterface.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2025-09-03 16:31:42 -0700
committerGitHub <noreply@github.com>2025-09-03 16:31:42 -0700
commitac8e7be5fbd11f731ffc81bf3bbae50a5a4d83de (patch)
tree1b1446e6b5bdf479622344d13fa3ad3c72a12884 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFramePythonInterface.cpp
parent6aebbb0a85a6a675f58e4e727e2e161e03e6e13a (diff)
[lldb][debugserver] Max response size for qSpeedTest (#156099)
The qSpeedTest packet is used for experiments to determine the optimal packet size for a given communication medium, e.g. to transfer 10MB of memory, is it faster to send a hundred 100KB packets or ten 1MB packets. It creates a packet of the requested size in a stack allocation, but is not checking that its buffer is large enough for the requested size. Change this allocation to be on heap, and impose a maximum size that can be tested (4MB, for now). rdar://158630250
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFramePythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions