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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| string | Yes | ||
| encoding | No | utf8 |