allocate_memory
Allocate memory in a target process for debugging or shellcode execution, returning the allocated address. Specify size and protection flags.
Instructions
Allocate memory in the target process. Returns the allocated address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Allocation size in bytes (page-aligned). | |
| protection | No | Page protection as integer. 4 = PAGE_READWRITE (default), 64 = PAGE_EXECUTE_READWRITE. Use 64 for executable shellcode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Structured result data (varies by tool) | |
| error | No | ||
| details | No | Detailed text breakdown | |
| success | Yes | ||
| summary | Yes | One-line human-readable result | |
| suggested_next_tools | No | Tools recommended to call next based on this result |