Analysis Commands
xanal selection
Performs a fast analysis over a selected range of instructions in the disassembly window.Syntax:Description:
Analyzes only the instructions you have selected in the disassembly window. This provides quick, targeted analysis without processing the entire function or module.Usage:
- Select multiple instructions in the disassembly window
- Execute
xanal selectionin the command bar - Wait for analysis to complete
- Fast analysis of specific code regions
- Supports multiple selected calls
- Processes API definitions and arguments
- Detects loops within selection
xanal function
Analyzes an entire function based on the currently selected instruction.Syntax:Description:
Automatically discovers and analyzes the entire function containing your currently selected instruction. xAnalyzer processes all instructions from function prolog to epilog (RET).Usage:
- Place cursor on any instruction within a function
- Execute
xanal functionin the command bar - Analysis processes entire function block
- Automatic function boundary detection
- Analyzes all calls within the function
- Detects all loops in the function
- Processes arguments for all API calls
xanal module
Performs a complete analysis of the entire current module.Syntax:Description:
Launches a full analysis over the entire module. The depth of analysis depends on the Extended Analysis configuration option.Behavior:Features:
- Extended Analysis OFF: Analyzes main code sections and entry point regions
- Extended Analysis ON: Analyzes the entire code section comprehensively
- Complete module analysis
- All API calls detected and commented
- All functions analyzed
- All loops detected
- VB DllFunctionCall stubs detected
Removal Commands
These commands remove previous xAnalyzer analysis data from your disassembly.xanalremove selection
Removes analysis data from the selected instruction range.Syntax:Description:
Removes all xAnalyzer comments, labels, and annotations from the selected instructions.Usage:
- Select the instructions to clean
- Execute
xanalremove selection
- Auto-generated comments (if configured)
- Auto-generated labels (if configured)
- Loop markers
- Argument annotations
xanalremove function
Removes analysis data from the entire current function.Syntax:Description:
Clears all xAnalyzer analysis data from the function containing the current instruction.Usage:Removes:
- All function API call comments
- Function labels
- Loop detection markers
- Argument information
xanalremove module
Removes all analysis data from the entire module.Syntax:Description:
Removes all xAnalyzer analysis data from the current module, effectively reverting to the pre-analysis state.Usage:Removes:
- All auto-generated comments (if configured)
- All auto-generated labels (if configured)
- All loop markers
- All argument annotations
- All function tracking data
Help Command
xanal help
Displays help information in the log window.Syntax:Description:
Shows available commands and brief usage information in the x64dbg log window.
Setting Hotkeys
You can bind xAnalyzer commands to custom keyboard shortcuts for faster access:Recommended Hotkey Scheme
Command Usage Examples
Workflow Tips
Incremental Analysis
Start with
xanal function on suspicious functions, then expand to xanal module if needed.Selective Cleanup
Use
xanalremove selection to clean specific areas before re-analyzing with different settings.Hotkey Workflow
Bind commands to hotkeys for rapid analysis while stepping through code.
Command Chaining
Combine commands in scripts for automated analysis workflows.
All commands respect the current configuration options. For example, if Extended Analysis is enabled,
xanal module will perform a more comprehensive analysis.Legacy Commands (Deprecated)
The following commands are deprecated but may still work in older versions:xanal exe(replaced byxanal module)xanalremove exe(replaced byxanalremove module)
