Comments (9)
If you can bear with perhaps a week's wait, I can implement NE loading for you. Thanks for the binary reference, that will come in handy for testing.
from reko.
You can also open the binary as a "raw" file, by using File
> Open as...
but without proper support for resolving those segments in the binary, the results will be disappointing.
from reko.
NE loading would be great! I'll link you to a few things that might be helpful in doing so:
- Another binary for testing
- http://wiki.osdev.org/NE
- http://www.program-transformation.org/Transform/NeFormat
The only thing I've actually found so far capable of loading NE is wine, which runs these perfectly, but on the other hand digging through the wine code to figure out how doesn't sound like a fun time. :)
from reko.
Googlable information about Win16 is hard to find -- Wine does seem to be the best source. I've started on the loader. I may have been a little optimistic in my time estimate above, but watch the reko project for updates the coming days.
from reko.
Looks like HT Editor also has support for NE files.
from reko.
OK, I've got it to the point where it is able to load CASTLE.EXE and show all the different segments -- see commit f0a9624. I hope you are able to build reko yourself as I'm about to leave for a few days and won't be able to make a proper test release until next week.
from reko.
Thanks much, it does load the executable just fine! It does crash on decompilation now though, with these two errors:
An error occurred while reconstructing types. Unable to cast object of type 'Reko.Core.Types.EquivalenceClass' to type 'Reko.Core.Types.StructureType'.
An error occurred while reconstructing types. Unable to cast object of type 'Reko.Core.Types.EquivalenceClass' to type 'Reko.Core.Types.Pointer'.
from reko.
Thanks for the report. I'm out of town over the weekend but will attend to it when I get back.
from reko.
I'm closing this as the functionality is implemented. I've opened a few separate issues to cover defects that I've discovered since. If you find more please open separate issues.
from reko.
Related Issues (20)
- Multidimensional array can not be reconstructed if memory accesses are done at another statements
- cannot build solution HOT 8
- RISC-V: Missing instructions from H and Q extensions HOT 1
- RISC-V: missing c.slli64, c.srai64, c.srli64 hint instructions HOT 1
- Unable to cast object of type 'Reko.ImageLoaders.Omf.OmfLoader' to type 'Reko.Core.Loading.ImageLoader' HOT 3
- no binary output after building on Ubuntu HOT 2
- Disassembly view now corrupts at the start of some procedures. MASTER: WindowsDecompiler HOT 2
- Crash at 'reconstruct data types' HOT 2
- can not open csky elf HOT 2
- Several bugs found: incorrect function argument order, double type value, and strings HOT 2
- Unexpected argument order when decompiling program
- Reko fails to recover floating-point code
- Reko doesn't generate any decompiled code
- Problems with type inference around `printf`
- No string literals are generated
- incomplete control flow recovery HOT 1
- reko crash during "Finish Decompilation" step with Alone in the Dark HOT 3
- MASTER - WINDOWS Decompiler - popup of target call is empty
- MASTER - M68K switch statement fail
- To run this application, you must install .NET Core. HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reko.