> For the complete documentation index, see [llms.txt](https://docs.hex-rays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hex-rays.com/core/idalib/examples.md).

# Examples

This page showcases real-world tools and projects built on idalib.

## idasql

[allthingsida/idasql](https://github.com/allthingsida/idasql): a SQL interface for IDA Pro databases, created by Elias Bachaalany. It exposes 30+ virtual tables covering functions, cross-references, strings, types, imports, disassembly, and decompilation.

![idasql](/files/d3tJ4ypSKVN5ZTJ1tDvW)

## capa

[mandiant/capa](https://github.com/mandiant/capa): a malware analysis tool for automatically extracting capabilities from malware. The idalib backend lets capa run headlessly against binaries without launching IDA's GUI.

![capa loader](/files/yCiwlN5EL1NksATxMKj2)

## idals

[williballenthin/idawilli/idals](https://github.com/williballenthin/idawilli/tree/master/idals): an IDA Pro-powered command-line tool for binary inspection. Run `idals /path/to/binary [<address or name>]` to display what IDA shows at that address.

![idals](/files/0SWX7wZJOQxdBWe2vNBR)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hex-rays.com/core/idalib/examples.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
