NewsCrawler.org

Source code of Borland C++ 2.0 and Turbo C 2.01 recovered from their executables

Borland's DOS compilers, recovered as source that rebuilds the original binaries byte for byte. First up: Borland C++ 2.0's BCC.EXE. - abedegno/borland-reborn
Image: github.com

This repository recovers the source code of classic Borland compilers from their published executables. The recovered C and assembly code rebuilds each executable byte for byte with the original Borland toolchain[1]. The source is then made readable, with real names, named record fields, comments on every file, and notes on what the compiler does and where it goes wrong.

You need the original Borland programs, which are not included. The setup guide describes downloading Borland C++ 2.0 and Turbo C 2.01 from WinWorld and running a setup script. The final check compiles all 298 sources in DOS, checks every function against the original byte for byte, verifies every relocation[2] and name, and links a new BCC.EXE that is identical to Borland's.

A modding build links the same sources with a different layout, so functions can change size and new source files can be added. It is checked with 1836 compiles by both compilers, and a tracing emulator[3] shows that the tests run 83% of the compiler's code. The project's scripts are MIT-licensed. The recovered sources are derived from Borland's copyrighted programs and are provided for study and preservation, with no rights claimed.

Product Borland C++ 2.0 trendshift.io

Open source project that recovers Borland C++ 2.0's DOS compiler source code from its executables, rebuilding BCC.EXE byte for byte with the original toolchain.

Read the original github.comDiscussion

Discussion

Commenters are divided. Some see the project as useful for decompiling programs built with these compilers and for preserving old software, while others ask what the work is for. Several note that the word "rebuilt" in the title means the code was reverse-engineered and reconstructed by AI, and some criticize the title's and text's style as sounding AI-written.

Sources

  • GitHub

    Borland's DOS compilers, rebuilt from their own binaries

    77 comments

  • KRGeekNews KO

    Borland의 DOS 컴파일러, 자체 바이너리에서 복원해 다시 빌드하다

    1 point1 comment

Published: First seen: Читать по-русски

Open as a page