> 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/ida-actions/makesig_create_signature.md).

# makesig\_create\_signature

## Description

Generates a FLIRT signature file from the current database. Available via **File → Produce file → Create SIG file...**.

![Create .sig file dialog](https://492083732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFP6ibt8r6WPBHTqekG9u%2Fuploads%2Fgit-blob-9c08d54853acfad93e19926e200a1f48f0727678%2Fcreate-sig-file-dialog.png?alt=media)

| Option                                                           | Effect                                                                                                                                                                                                                                                           |
| ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **File**                                                         | Pathname for the output signature file.                                                                                                                                                                                                                          |
| **Library name**                                                 | Identifier shown in the signature's description.                                                                                                                                                                                                                 |
| **Collect functions**                                            | **All** functions in the database, the functions **Selected** in the Functions window, or a **Selected byte range**, which becomes one module with every name inside it as a public name.                                                                        |
| **Collisions**                                                   | **Ignore** colliding patterns, or **Deal with manually** to resolve them in a dedicated window.                                                                                                                                                                  |
| **Functions with an auto-generated name** (`sub_`, `loc_`, etc.) | **Include with their names**, **Skip, valid names only** (default), or **Include, apply as unknown\_libname**.                                                                                                                                                   |
| **Mark page-base refs no-rename**                                | A reference that goes through a page base (for example an ARM64 `ADRP`) never names its target when the signature is applied, since the target is a page boundary rather than the referenced symbol. Uncheck to let such references name their target.           |
| **Mark auto-named refs no-rename**                               | A reference to a target that has only an auto-generated name (`sub_`, `loc_`, etc.) never names its target when the signature is applied, so the source database's `sub_<address>` is not copied into the target database. Uncheck to let these names propagate. |
| **Append to the pattern file**                                   | Adds the new patterns to an existing `.pat` file instead of overwriting it.                                                                                                                                                                                      |

Two or three files are generated:

| File           | Description                                                                                                                        |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Signature file | The output `.sig` file.                                                                                                            |
| Pattern file   | Same name as the signature file, with the extension replaced by `.pat`.                                                            |
| Exclusion file | Same name as the signature file, with the extension replaced by `.exc`. Only present if there were collisions to resolve manually. |

The pattern and exclusion files can be deleted once the signature file is generated, unless you plan to revise the signature later.

## See also

* [Generate FLIRT signatures from analyzed binaries](https://docs.hex-rays.com/core/flirt/how-tos/makesig.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hex-rays.com/ida-actions/makesig_create_signature.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
