# RetDec

RetDec - retargetable machin-code decompiler based on LLVM (from Avast)\
The decompiler is not limited to any particular target architecture, operating system, or executable file format:

Supported file formats: ELF, PE, Mach-O, COFF, AR (archive), Intel HEX, and raw machine code\
&#x20;Supported architectures:\
&#x20;32-bit: Intel x86, ARM, MIPS, PIC32, and PowerPC\
&#x20;64-bit: x86-64, ARM64 (AArch64)

{% embed url="<https://github.com/avast/retdec>" %}


---

# Agent Instructions: 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:

```
GET https://appsecurity.gitbook.io/binary/tools/decompilers-and-disassemblers/retdec.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
