X86 16 bit platform support - #70
Conversation
fac2ccb to
2d3394d
Compare
|
angr decompiler has a lot of places where they expect the architecture to be either 32-bit or 64-bit. Did you not have to change them? |
|
I could get results with this minimal patch: angr/angr#4683 |
|
Have you looked into pypcode's support for x86-16? Depending on where you are in your project, it might be easier to leverage that than maintain a seperate lifter here |
|
I could don't find 16 bit support in the pcode. Could you give the url? |
|
Ghidra have long unresolved issues with x86 16 bit NationalSecurityAgency/ghidra#981" |
|
Moreover I tryed decompiler with pcode: |
It looks like we just need to implement segment to linear address resolution for this p-code arch. |
|
x86 16 bit platform is still usefull for DOS era software.
There is no acceptable decompiler for this platform.
So I'm trying to use angr to create a decompiler for it.
I feel the implementation is 85% complete.
I'm able to decompile some small examples.
I feel I need help form people interested in it, to finish it. So I decided to publish it.
Small fixes required for "angr" repo to enable 16 bit addressing. So I will also create correspoing PRs.