IDAssist · Actions

Action suggestions, rename flows, and structured application.

Actions Tab Reference

Screenshot

Purpose

The Actions tab uses LLM analysis to suggest renames for functions, variables, and types, and can propose structure definitions. You review proposed changes in a table with confidence scores, then selectively apply them back to the IDB.

UI Elements

Top Row

ElementDescription
Current OffsetAddress of the function under the cursor.

Proposed Actions Table

Displays the LLM's suggestions after analysis:

ColumnDescription
SelectCheckbox to include this action when applying.
ActionThe type of action (rename_function, rename_variable, retype_variable, create_struct).
DescriptionHuman-readable description of the proposed change. Editable — double-click to modify.
StatusCurrent state: Pending, Applying..., Applied, or Error.
ConfidenceModel's confidence score (0.0 to 1.0).

Status Color Coding:

StatusColor
Applying...Light yellow background
AppliedLight green background
Error: ...Light red background

Available Actions

Checkboxes to control which action types the LLM should suggest:

ActionDescription
Rename FunctionSuggest a meaningful name for the current function.
Rename VariableSuggest meaningful names for local variables and parameters.
Retype VariableSuggest corrected types for variables.
Auto Create StructPropose structure definitions based on field access patterns.

Button Row

ButtonDescription
Analyse FunctionSend the current function to the LLM with selected action types.
Apply ActionsApply all checked actions from the table to the IDB.
ClearRemove all proposed actions from the table.

Workflow

  1. Select action types — Check which kinds of suggestions you want (rename functions, variables, etc.)
  2. Click Analyse Function — The LLM analyzes the function and populates the table
  3. Review proposals — Check confidence scores, read descriptions, edit if needed
  4. Select actions to apply — Use checkboxes to choose which changes to make
  5. Click Apply Actions — Selected changes are applied to the IDB

Action Types

Rename Function

Suggests a descriptive name based on what the function does. The LLM considers:

  • Function behavior and purpose
  • Called APIs and library functions
  • String references and constants
  • Calling context

Rename Variable

Suggests meaningful names for local variables and parameters. Works best with Hex-Rays pseudocode where variable roles are clearer.

Retype Variable

Proposes corrected types when the decompiler's type inference is wrong or too generic (e.g., changing int to HANDLE or char * to const wchar_t *).

Auto Create Struct

Analyzes field access patterns to propose structure definitions. Useful when the decompiler shows repeated offset-based access to a data pointer.

IDA-Specific Details

  • Function renames are applied via ida_name.set_name()
  • Variable renames use ida_hexrays.rename_lvar() (requires Hex-Rays)
  • All IDB modifications execute on IDA's main thread via execute_on_main_thread()
  • The execute_on_main_thread() wrapper uses idaapi.execute_sync(callback, MFF_FAST)
  • Structure creation requires Hex-Rays for type system integration
  • Explain Tab — Understand a function before applying actions
  • Query Tab — Ask questions about specific rename choices
  • Settings Tab — Configure the LLM provider used for analysis