vtil-project / VTIL-Core

Virtual-machine Translation Intermediate Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for 32-bit architectures.

GiaNTizmO opened this issue · comments

Is it possible to add support for x32_86 architecture?

Requires a lot of changes but is in the plans sometime in the future.

Is it possible to add support for x32_86 architecture?

there is still hope for 32 bit


[*] Error: Assertion failure, mem_base.is_register() && mem_base.bit_count() ==
64 at ......\Dependencies\VTIL-Core\VTIL-Architecture\routine\instruction.cpp:
61

It isn't really about compiling it for x86 but about handling 32-bit architectures, currently everything is hardcoded for 64-bit native integers which we'll have to change but of course that's doable as well.

I started looking into your project today. It is going to be quite the mess with adding 32-bit architectures but looks doable. From what I see, we just need to "redo" VTIL-Common's Math and double-check and adjust the support usage within VTIL-SymEx. I've been slowly transitioning some 64-bit features to support 32-bit today. I'll clean more up as I find the time to do so.

Is this addressed by #56 ?