pengutils.utils.cli_breakpoint module¶
Breakpoint CLI¶
This script provides a command-line interface (CLI) for managing breakpoints, syscall traces, and uprobes via the Penguin RemoteCtrl Plugin Unix socket. It combines functionality for listing, disabling, and creating various event hooks.
Example usage¶
# List breakpoints
cli_breakpoint.py list --sock results/latest/remotectrl.sock
# Disable a breakpoint
cli_breakpoint.py disable --sock results/latest/remotectrl.sock --id 3
# Add a syscall trace
cli_breakpoint.py syscall --name sys_write --action "print %fd, %s, %d"
# Add a uprobe with custom output file
cli_breakpoint.py uprobe --path /lib/libc.so.6 --symbol malloc --action "print %d" --output malloc.log
Options¶
Common options:
- --sock: Path to plugin socket (default: results/latest/remotectrl.sock)
See individual commands for specific options.