pwndbg_spray
Sprays memory with cyclic patterns to identify which byte offset overwrites a target address during buffer overflow analysis.
Instructions
Spray memory with cyclic pattern values.
pwndbg command: spray Source: pwndbg/commands/spray.py Category: Misc
Writes cyclic() generated values to memory, useful for identifying which offset in a buffer overwrites a target.
Args: session_id: The UUID of the session. addr: Address to start spraying. length: Number of bytes to spray (0 = auto).
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/spray/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| addr | Yes | ||
| length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |