frida_memory_alloc
Allocate memory in a target process for dynamic instrumentation, returning the address of allocated memory with specified protection flags.
Instructions
Allocate memory in the target process. Returns the address of allocated memory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"size": "<size>"
},
"name": "frida_memory_alloc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| size | Yes | Number of bytes to allocate | |
| protection | No | Memory protection (e.g., 'rwx', 'rw-') | rw- |