← All projects
Project record1 mention
Originally shared on Hacker News

Win16 decompiler

A decompiler for 16-bit Windows (Win16) binaries. It addresses gaps in existing decompiler tooling for 16-bit code: support for the NE file format, modeling of segment registers, and recognizing 32-bit values that are accessed entirely in 16-bit word chunks.

Last shared
01 / The problem

What it addresses

Existing decompiler tools poorly support 16-bit code: NE file format support is far less widespread, segment registers used by 16-bit code are largely unmodelled in most binary tools, and recognizing 32-bit values accessed entirely in 16-bit word chunks is under-supported by most optimization toolchains.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Win16 decompiler

    A decompiler for 16-bit Windows (Win16) binaries. It addresses gaps in existing decompiler tooling for 16-bit code: support for the NE file format, modeling of segment registers, and recognizing 32-bit values that are accessed entirely in 16-bit word chunks.

    Problem: Existing decompiler tools poorly support 16-bit code: NE file format support is far less widespread, segment registers used by 16-bit code are largely unmodelled in most binary tools, and recognizing 32-bit values accessed entirely in 16-bit word chunks is under-supported by most optimization toolchains.

    Posted by @jcranmer · Original source ↗

    Source text · @jcranmer · · Source ↗

    I'm working on a Win16 decompiler.