gdb_command
Execute any GDB or pwndbg command and capture its complete output. Useful for debugging and heap analysis during CTF challenges.
Instructions
发送任意 GDB/pwndbg 命令并返回输出。
可以执行任何 GDB 命令,如 'info functions', 'break main', 'heap', 'bins' 等。 命令执行后等待 GDB prompt 返回完整输出。
Args: cmd: 要执行的 GDB 命令字符串 timeout: 等待 GDB prompt 返回的秒数,复杂请求的 finish 可调大
Returns: 命令的完整输出
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |