← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

REpsych Toolset Generates Images from Program Control Flow Graphs

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • REpsych translates images into programs.
  • The program's CFG displays the source image.
  • Works reliably with IDA Pro, semi-reliably with other CFG viewers.
  • Uses small bitmap images (under 100x100 pixels).

Introducing REpsych

Christopher Domas, known as @xoreaxeaxeax, has released REpsych, a proof-of-concept toolset. This tool demonstrates the ability to generate images directly through a program's control flow graph (CFG). The project's primary purpose is to illustrate that such a technique is feasible.

How it Works

REpsych functions by translating source images into executable programs. When these generated programs are viewed in a CFG viewer, their control flow graph visually reconstructs the original source image. The tool creates a basic block (CFG node) for each pixel of the input image, necessitating the use of small source images, ideally not exceeding 100x100 pixels.

Compatibility and Usage

The toolset operates reliably with all tested versions of the IDA Pro reverse engineering tool. It also shows semi-reliable functionality with other CFG viewers such as Hopper, BinNavi, and radare2. Users can generate new programs from images by saving a 24 BPP bitmap in the gfx/ folder and running a 'make' command. For text images, a preliminary conversion to a 2 BPP black and white bitmap is recommended for optimal results.

Potential Implications

While the project is presented as a proof-of-concept without serious applications, it highlights an unusual method of manipulating program visualization. The technique, detailed in a DEF CON presentation, could be explored for niche applications within reverse engineering or code obfuscation, though no specific serious uses are outlined by the creator.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 15

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Christopher Domas released REpsych, a proof-of-concept toolset that translates source images into functioning programs where the program's control flow graph (CFG) generates the original image. This project demonstrates a novel method of manipulating program visualization, primarily for reverse engineering tools.