grep

Search IDA Pro databases for named entities using pattern matching.

38|7|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/allthingsida/idasql-skills --skill grep-allthingsida
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grep
Source: https://github.com/allthingsida/idasql-skills/tree/main/plugins/idasql/skills/grep
Command: npx skills add https://github.com/allthingsida/idasql-skills --skill grep-allthingsida

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you quickly find specific functions, labels, segments, structs, unions, enums, or members within an IDA Pro database using pattern matching, streamlining the process of locating relevant code elements.

Core Features & Use Cases

  • Entity Search: Locate named entities by providing a pattern.
  • Flexible Matching: Supports contains-match, prefix, and wildcard matching.
  • Structured or JSON Output: Choose between detailed SQL rows or concise JSON payloads.
  • Use Case: You need to find all functions starting with "sub_" or identify all structs related to "EH" to begin your analysis.

Quick Start

Find all functions whose names start with 'main' and display their names and addresses.

Frequently Asked Questions about grep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search for functions by pattern in an IDA Pro database?

You can search for structs related to "EH" by using this Skill to apply pattern matching to IDA Pro database entities. It scopes to structs, unions, enums, and members, allowing contains-match, prefix, and wildcard searches to locate specific code elements.

Can I use wildcard matching to find specific labels in IDA Pro?

To get structured or JSON output from your IDA Pro entity search, this Skill allows you to choose between detailed SQL rows or concise JSON payloads. This flexibility streamlines the process of locating relevant code elements for further analysis.

What is the best way to discover named code elements like segments and enums in IDA Pro?

The best way to discover named code elements like segments and enums in IDA Pro is using pattern matching. This Skill satisfies the requirement for rapid symbol discovery by scoping searches directly to segments, enums, functions, and other named entities.

Are there limitations to searching IDA Pro structs and members using pattern matching?

A limitation of searching IDA Pro structs and members using pattern matching is that it relies strictly on named entities within the database. Unnamed or auto-generated elements without a defined name pattern will not be discovered by this search mechanism.