get_global_variable_value_by_name
Retrieve the compile-time value of a global variable in reverse-engineered code using its name. Ideal for efficient variable analysis in automated IDA Pro workflows.
Instructions
Read a global variable's value (if known at compile-time)
Prefer this function over the `data_read_*` functions.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
variable_name | Yes | Name of the global variable |
Input Schema (JSON Schema)
{
"properties": {
"variable_name": {
"description": "Name of the global variable",
"title": "Variable Name",
"type": "string"
}
},
"required": [
"variable_name"
],
"title": "get_global_variable_value_by_nameArguments",
"type": "object"
}