types

Manage and manipulate IDA Pro type systems via SQL queries.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill empowers you to precisely define, modify, and apply data structures (structs, unions, enums, typedefs) within IDA Pro, ensuring accurate analysis and decompiler output.

Core Features & Use Cases

  • Type Definition & Modification: Create, edit, and delete structs, unions, and enums.
  • Type Application: Apply custom types to function prototypes, variables, and struct members.
  • C Declaration Import: Seamlessly import C header files or declarations using parse_decls.
  • Use Case: When analyzing a binary with unknown data structures, use this Skill to define the structures based on observed patterns or external headers, then apply them to variables and function arguments for clearer pseudocode and more accurate analysis.

Quick Start

Use the types skill to import the following C struct declaration: struct MyData { int id; char name[32]; };

Frequently Asked Questions about types

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

FAQPage Schema
How do I import C declarations for structs and enums into IDA Pro?

You can import C declarations into IDA Pro using the `parse_decls` function. This allows you to seamlessly import C header files or declarations to define complex data types for comprehensive type recovery and analysis.

How do I define and modify structs and unions in an IDA Pro database?

You can define, modify, and delete complex data types like structs, unions, and enums in an IDA Pro database by executing SQL queries. This Skill directly manages the type system to ensure accurate decompiler output.

Can I apply custom types to function prototypes and variables in IDA Pro?

Yes, you can apply custom types to function prototypes, variables, and struct members. Applying these defined data structures to variables and arguments results in clearer pseudocode and more accurate binary analysis.

Why do I need to define data structures when analyzing an unknown binary?

Defining data structures based on observed patterns or external headers is necessary for precise analysis. It allows you to apply custom types to variables, ensuring accurate decompiler output and clearer pseudocode during reverse engineering.

Does this approach support type recovery for unions and typedefs?

Yes, this approach supports comprehensive type recovery for structs, unions, enums, and typedefs. It manipulates the IDA Pro type system through SQL queries, enabling the creation and application of these complex data types.