Re:Avast open-sources its machine-code decompiler
by ggambetta on Wednesday December 13, 2017 @09:40AM
(#15914456)
Is there any way to use this on a DOS EXE? This would be a lovely tool to port/remaster old games (i.e. decompile, replace rendering methods with modern equivalents, compile again -- an "offline" version of the "online" idea I was going for with http://www.gabrielgambetta.com/remakes.html)
[ Parent
| on HN ]
Re:Avast open-sources its machine-code decompiler
by partycoder on Wednesday December 13, 2017 @02:49PM
(#15916993)
Note that it was not rare for some old DOS games to have bits of assembly in them.
This was usually done to overcome some performance bottleneck but with today's hardware you might not need that at all.
Re:Avast open-sources its machine-code decompiler
by khedoros1 on Wednesday December 13, 2017 @05:06PM
(#15918111)
Yesteryear's C compilers weren't great, optimization-wise. But anything remotely modern would just brute force its way through a DOS-era program, well optimized or not.
Re:Avast open-sources its machine-code decompiler
by partycoder on Wednesday December 13, 2017 @05:16PM
(#15918197)
Also yesterday's instruction sets were a bit more limited.
Re:Avast open-sources its machine-code decompiler
by khedoros1 on Wednesday December 13, 2017 @04:37PM
(#15917908)
It probably needs a profile for the MZ format. And probably for 16-bit x86. I'm considering trying it on some .com binaries, to see what it does (since it said it can handle raw binaries). I doubt it'll work immediately, because I doubt that their code handles memory segmentation properly, 16 bit pointers and data, etc.