uxmal / reko

Reko is a binary decompiler.
https://uxmal.github.io/reko
GNU General Public License v2.0
2.09k stars 250 forks source link

reko crash during "Finish Decompilation" step with Alone in the Dark #1344

Closed tigrouind closed 2 months ago

tigrouind commented 2 months ago

I'm trying to decompile Alone in the Dark (1992) executable (INDARK.EXE). AFAIK it has been compiled with Borland C++

After opening the file everything is fine, it can even see the function names retrieved from debug info.

However, after clicking on "Finish Decompilation" it crashes. analysis_99_crash.txt

uxmal commented 2 months ago

@tigrouind: thanks for reporting this. To save time, can you provide the executable? I don't need any of the assets of the game, just the INDARK.EXE file.

tigrouind commented 2 months ago

@uxmal : INDARK.zip

uxmal commented 2 months ago

The cause of the crash has been fixed. However, there are several other lesser issues that make Reko's output less than optimal. I will continue looking at these other issues.