Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


cLEMENCy is an architecture developed by LegitBS for use during the Defcon 25 Capture the Flag event. The architecure was unsupported by IDA at the outset of the competition. It seemd useful to have disassembler support outside the emulatr/disassembler published in conjunction with the cLEMENCy specification 24 hours prior to commencement of the competition. These tools are the result of that development effort. This project contains:

  • A scripted IDA loader module to create the basic memory layout and handle the loading of 9-bit, middle-endian, cLEMENCy executables.
  • A scripted IDA processor module to handle disassembly and assembly tasks
  • A scripted IDA plugin to allow for dumping modified database content back to a packed 9-bit, middle-endian file (scripted loaders do not support the save_file functionality).
  • A scripted IDA plugin to assist with fixing up poorly disassembled functions that might branch/call into regions that continue to be marked as data blocks.

Getting Started

Here refers to the root directory of your IDA installation

  • Copy to /procs/
  • Copy to /loaders/
  • Copy to /plugins/
  • Copy to /plugins/

Note that will show up as an available loader for all file formats because cLEMENCy binaries have no distinct file format. If you elect to use the clemency_ldr, you should also select the corresponding clemency_proc from the Processors drop-down in the load file dialog.


A working copy of IDA Pro with compatible Python installation allowing for the use of Python plugins and scripts.


See above

Built With

  • A sledghammer


Probably not worth your time


This is probably all there will ever be


  • Chris Eagle - Initial work -
  • Shellphish - The cLEMENCy Assembler bits


This project is licensed under the MIT License - see the file for details


  • All the members of Shellphish for letting me join the fun, and who contributed much code and many ideas to these tools