Overview
The Analyze Selection feature allows you to perform a targeted analysis on a specific set of instructions that you’ve selected in the x64dbg disassembly window. This is useful when you want to quickly analyze a particular code segment without processing the entire function or module.This is the fastest analysis mode in xAnalyzer, perfect for analyzing specific code sections or multiple selected calls.
How to Analyze a Selection
There are three ways to analyze a selected range of instructions:Method 1: Using the Context Menu
Select instructions
In the disassembly window, click and drag to select multiple instructions that you want to analyze.
Method 2: Using the Command
You can use the x64dbg command line to execute the analysis:Method 3: Using Hotkeys
You can set custom hotkeys in the x64dbg GUI for quick access:What Gets Analyzed
When you analyze a selection, xAnalyzer will:- Detect API function calls within the selection
- Add function definitions and prototypes as comments
- Identify and label function arguments with their data types
- Recognize known constants and enums
- Process nested function calls
- Detect loop structures within the selection
Example Analysis
Before analysis, your selected code might look like this:Use Cases
Quick API inspection: When you spot an interesting API call and want to see its parameters immediately. Multiple call analysis: Select multiple related function calls to analyze them as a group. Code snippet review: When reviewing a specific algorithm or code pattern without analyzing the entire function. Performance-focused analysis: When working with large modules but only need information about specific sections.Related Features
Analyze Function
Analyze an entire function from your current position
Analyze Module
Perform full analysis on the entire module
Remove Analysis
Remove analysis data from your code
Commands Reference
View all available xAnalyzer commands
Make sure you have the api_def folder properly installed with xAnalyzer for the analysis to detect and define API functions correctly.
