# Watcom C 6.5: reconstructing damaged runtime libraries

> Watcom C 6.5 run-time library restoration rebuilds damaged CLIBS.LIB and CLIBC.LIB from surviving archive modules. It maps sector loss, converts modules from intact memory-model libraries, reconstructs selected C routines from machine code and records provenance for each result; the author reports matching every surviving byte used for comparison.

- Type: Case study
- Targets: Binary
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-07
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/nrnelson/watcom-c-6.5-restoration>
- Primary source: <https://github.com/nrnelson/watcom-c-6.5-restoration/blob/c251e47ff5afe5395010e96e29ea5d490b22447d/README.md>
- Catalog page: <https://awesomerea.org/resources/watcom-c-6-5-restoration-case/>
- Record JSON: <https://awesomerea.org/resources/watcom-c-6-5-restoration-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/watcom-c-6-5-restoration-case/index.md)

## Requirements & limits

- **Prerequisites:** The specified original Watcom C 6.5 archive, Python 3.8+ and DOSBox-X.
- **Limits:** The provenance record identifies rebuilt modules with no surviving bytes for comparison and gives their confidence levels.
- **License:** MIT license.

## Primary sources

1. <https://github.com/nrnelson/watcom-c-6.5-restoration/blob/c251e47ff5afe5395010e96e29ea5d490b22447d/README.md>
2. <https://github.com/nrnelson/watcom-c-6.5-restoration/blob/c251e47ff5afe5395010e96e29ea5d490b22447d/METHOD.md>

## More in Native binaries

- [IOReport: investigating and decompiling Apple’s reporting library](https://awesomerea.org/resources/ioreport-decompile-case/index.md) · Case study
- [dargh: reconstructing Dynamic Animation Replacer for Skyrim](https://awesomerea.org/resources/dargh-case/index.md) · Case study
- [ndec-re: reconstructing an MS-DOS encryption program](https://awesomerea.org/resources/ndec-re-case/index.md) · Case study
- [re-sysinternals-suite: rebuilding Sysinternals strings.exe](https://awesomerea.org/resources/re-sysinternals-strings-case/index.md) · Case study
- [ExCrypt: reconstructing Xbox 360 XeCrypt functions](https://awesomerea.org/resources/excrypt-case/index.md) · Case study
- [L1J-Encode-CLI: reconstructed Lineage 1 ServerData codec](https://awesomerea.org/resources/l1j-encode-cli-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
