Instructions for building the Hi-Tech C v3.09 Cross Compiler for Linux, MacOS, or Windows can be found at https://github.com/nikitinprior/Cross_compiler_z80
On Friday, 22 July 2022 at 18:12:54 UTC+2, nikiti...@gmail.com wrote:
Instructions for building the Hi-Tech C v3.09 Cross Compiler for Linux, MacOS, or Windows can be found at https://github.com/nikitinprior/Cross_compiler_z80I may have missed it, but where do you actually get the source code from?
On Thursday, 18 August 2022 at 15:50:20 UTC+2, nikiti...@gmail.com wrote:disassembled code. If necessary, the C code is modified to better match the original binary image. In a similar way it was possible to restore almost all compiler programs. Naturally, the restored code is not the original code, but it is very close to it.
среда, 17 августа 2022 г. в 20:28:51 UTC+5, david...@gmail.com:
On Friday, 22 July 2022 at 18:12:54 UTC+2, nikiti...@gmail.com wrote:C source code is obtained by disassembling executable programs into assembly language. After that, the resulting assembly language program is examined and C code is obtained from it. The resulting code is then compiled and compared with the
Instructions for building the Hi-Tech C v3.09 Cross Compiler for Linux, MacOS, or Windows can be found at https://github.com/nikitinprior/Cross_compiler_z80I may have missed it, but where do you actually get the source code from?
I understand, but there's no reference to a repository of the converted source code or to the tools needed to do the conversion.
среда, 17 августа 2022 г. в 20:28:51 UTC+5, david...@gmail.com:disassembled code. If necessary, the C code is modified to better match the original binary image. In a similar way it was possible to restore almost all compiler programs. Naturally, the restored code is not the original code, but it is very close to it.
On Friday, 22 July 2022 at 18:12:54 UTC+2, nikiti...@gmail.com wrote:C source code is obtained by disassembling executable programs into assembly language. After that, the resulting assembly language program is examined and C code is obtained from it. The resulting code is then compiled and compared with the
Instructions for building the Hi-Tech C v3.09 Cross Compiler for Linux, MacOS, or Windows can be found at https://github.com/nikitinprior/Cross_compiler_z80I may have missed it, but where do you actually get the source code from?
четверг, 18 августа 2022 г. в 20:30:31 UTC+5, david...@gmail.com:disassembled code. If necessary, the C code is modified to better match the original binary image. In a similar way it was possible to restore almost all compiler programs. Naturally, the restored code is not the original code, but it is very close to it.
On Thursday, 18 August 2022 at 15:50:20 UTC+2, nikiti...@gmail.com wrote:
среда, 17 августа 2022 г. в 20:28:51 UTC+5, david...@gmail.com:
On Friday, 22 July 2022 at 18:12:54 UTC+2, nikiti...@gmail.com wrote:C source code is obtained by disassembling executable programs into assembly language. After that, the resulting assembly language program is examined and C code is obtained from it. The resulting code is then compiled and compared with the
Instructions for building the Hi-Tech C v3.09 Cross Compiler for Linux, MacOS, or Windows can be found at https://github.com/nikitinprior/Cross_compiler_z80I may have missed it, but where do you actually get the source code from?
special tools were used. All work was done by hand, relying on common sense. The compiler generates code using some rules. These rules were noticed and using them an attempt was made to recreate the source code. Completely documenting the re-creationI understand, but there's no reference to a repository of the converted source code or to the tools needed to do the conversion.in the repository https://github.com/nikitinprior/dcgen
files with .asm extension are Disassembled version and After compiling C source code. This repository is the first attempt to get the source code in C language. Further work has been done to fix bugs and fix the code. Especially for recovery, no
On Thursday, 18 August 2022 at 18:20:25 UTC+2, nikiti...@gmail.com wrote:
четверг, 18 августа 2022 г. в 21:10:30 UTC+5, Андрей Никитин:[...]
https://github.com/nikitinprior/ contains the source code for almost all compiler utilities. The descriptions for each program provide instructions on how this code must be compiled to obtain the final result.Thanks --- that looks great. I did actually try that myself a couple of years ago but I was using Ghidra, which doesn't produce runnable C code from Z80 machine code. I did manage to identify most of the libc, though.
I will note that the projects are marked as having the GPL license when actually the Hitech C license still applies!
четверг, 18 августа 2022 г. в 21:10:30 UTC+5, Андрей Никитин:[...]
https://github.com/nikitinprior/ contains the source code for almost all compiler utilities. The descriptions for each program provide instructions on how this code must be compiled to obtain the final result.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 16:05:06 |
Calls: | 10,389 |
Files: | 14,061 |
Messages: | 6,416,935 |