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)
- Feature request: Save results of analysis to disk after scanning HOT 1
- Feature request: Marking instructions as "unlikely" HOT 1
- Bug: "Mark procedure entry" resets filtering in "Procedures" list
- MacOS Classic - (Master) - Unable to load metadata file macos/MacOSClassicInterfaces.p. Specified method is not supported. HOT 1
- Feature request: Indicate position of Memory View window on address space bar HOT 5
- Blsr Instruction HOT 2
- Decompiling DOS MZ EXE to C HOT 6
- Feature request: Padauk architecture HOT 6
- Consider use <stdint.h> types or something similar for C output HOT 1
- Out of bounds error
- RiscV ipcalc subject fails to resolve `__fprintf_chk`
- Error: Object reference not set to an instance of an object HOT 1
- Hitachi H8 postincrement missing HOT 2
- MS-DOS: Doesn't take CS segment into account HOT 1
- Compile for dotnet 7 and 8 (in future, when it is shipped to repos) HOT 1
- MacOS Classic (Master) - Final output, arguments are missing from definition, being shown as local variables HOT 3
- Allow user to specify search ranges in "Find Strings" and similar dialogs HOT 1
- Provide users with capability to add format string characteristics HOT 1
- 16-bit DOS incorrect hex/disassembly HOT 6
- macOS dotnet 6/7 build - libArmNative not being built HOT 2
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.