-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StackOverflow after analyzing dataflow of MZ DOS executable (again) #950
Comments
Thanks for reporting this. The analysis stage of Reko is sensitive to errors happening in earlier stages of the process. Could you provide me with the binary that is causing the problem? |
I sent you the file in Gitter DMs. |
I was able to reproduce the error. The long term fix is not ready for use yet. As a workaround, you can drop the following <?xml version="1.0" encoding="utf-8"?>
<project xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemata.jklnet.org/Reko/v5">
<arch>x86-real-16</arch>
<platform>ms-dos</platform>
<input>
<filename>DTVPLAY.EXE</filename>
<asmDir>DTVPLAY.reko</asmDir>
<srcDir>DTVPLAY.reko</srcDir>
<includeDir>DTVPLAY.reko</includeDir>
<resources>DTVPLAY.reko\resources</resources>
<user>
<processor />
<registerValues>
<assume addr="0800:CD04" reg="ah" value="*" />
<assume addr="0800:CD1A" reg="ah" value="*" />
</registerValues>
<outputFilePolicy>Segment</outputFilePolicy>
</user>
</input>
</project> then open the dcproject file instead of the EXE. The I've added a new dialog to Reko to let you set these register values using the GUI. Browse to any disassembled instruction, right-click on it and select Let me know if you still are having stack overflow issues. |
I'm not having any more issues with the latest build and the project file you provided, thanks |
I seem to have come across the exact same issue that was documented in #850 while I attempted to decompile the DOS version of "The Town With No Name", namely a StackOverflow seemingly caused by an infinite loop somewhere. Reko 0.9.2 only crashed after I canceled that step in decompilation. Please let me know what sort of information you would need to help find the problem and fix it. I'm not very experienced in reverse engineering though, so bear that in mind.
The text was updated successfully, but these errors were encountered: