allocate_memory
Allocate memory in a target process and get the returned address, with options for read/write or executable protection, to support debugging and shellcode execution.
Instructions
Allocate memory in the target process. Returns the allocated address.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "allocate_memory"
}
}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 |