search_text
Search rendered IDA Pro listings for specific text patterns. Quickly locate disassembly lines or comments by literal or regex match, returning one hit per address.
Instructions
Search the rendered listing using IDA's native text search (fast C++ scan).
Discovers candidate EAs with ida_search.find_text(), then renders each hit
once via ida_lines.generate_disassembly() to extract matching lines and
classify them as disasm or comment. Returns one hit per EA.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max hits per page (default: 30, max: 500) | |
| regex | No | Treat pattern as a regex (uses IDA's SEARCH_REGEX) | |
| start | No | Cursor: address to resume from (hex or symbol). Empty = first segment. | |
| include | No | 'disasm' | 'comments' | 'all' (default: all) | all |
| pattern | Yes | Text to search for in the rendered listing (literal substring by default) | |
| code_only | No | Restrict search to executable segments (default: true) | |
| instance_id | Yes | 必须提供的 instance_id(或 client_id),用于将请求精确路由到特定的 IDA 实例。请先调用 instance_list 查看并选择合适的客户端 ID。 | |
| case_sensitive | No | Case-sensitive match (default: false) |