radareorg / ideas

4 stars 1 forks source link

Support for 16bit protected mode addressing for x86 #76

Open XVilka opened 8 years ago

XVilka commented 8 years ago

Same addressing mode as 32 bit protected mode does, though every entry in the GDT is limited to 64 kB.

Currently code assumes that under 16bit we're using real mode only https://github.com/radare/radare2/blob/master/shlr/capstone-patches/fix-x86-16.patch

radare commented 8 years ago

We can verify and test all this stuff with the bochs plugin. But i think we should ask capstone to include a new option to make this behaviour configurable. Not sure how should we handle this in r2

On 29 Feb 2016, at 13:03, Anton Kochkov notifications@github.com wrote:

Same addressing mode as 32 bit protected mode does, though every entry in the GDT is limited to 64 kB.

Currently code assumes that under 16bit we're using real mode only https://github.com/radare/radare2/blob/master/shlr/capstone-patches/fix-x86-16.patch

— Reply to this email directly or view it on GitHub.

radare commented 8 years ago

Mention this in the capstone issue. I guess that wiuld be the way to finally solve this issue

On 29 Feb 2016, at 13:03, Anton Kochkov notifications@github.com wrote:

Same addressing mode as 32 bit protected mode does, though every entry in the GDT is limited to 64 kB.

Currently code assumes that under 16bit we're using real mode only https://github.com/radare/radare2/blob/master/shlr/capstone-patches/fix-x86-16.patch

— Reply to this email directly or view it on GitHub.

ret2libc commented 4 years ago

This issue has been moved from radareorg/radare2 to radareorg/ideas as we are trying to clean our backlog and this issue has probably been created a long while ago. This is an effort to help contributors understand what are the actionable items they can work on, prioritize issues better and help users find active/duplicated issues more easily. If this is not an enhancement/improvement/general idea but a bug, feel free to ask for re-transfer to main repo. Thanks for your understanding and contribution with this issue.