frida_memory_alloc_string
Allocate a string in a target process's memory and return its address. Supports utf8, utf16, or ansi encoding.
Instructions
Allocate a string inside a target process.
target: process name or pid (string).
string: the string value to allocate.
encoding: 'utf8' (default), 'utf16', or 'ansi'.
Returns the address of the allocated string.
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": {
"target": "<target>",
"string": "<string>"
},
"name": "frida_memory_alloc_string"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| string | Yes | ||
| encoding | No | utf8 |