vtil-project / VTIL-Core

Virtual-machine Translation Intermediate Language
BSD 3-Clause "New" or "Revised" License
1.31k stars 165 forks source link

Fix failed validation for wrong bit_count() #54

Closed old-pigeon closed 3 years ago

old-pigeon commented 3 years ago

For some rare targets, this assertion fails:

cvalidate( operands[ idx ].bit_count() == 64 );

Can mentioned it should likely be fine if the operand is immediate, so adding this to the equation solved the problem.

can1357 commented 3 years ago

Thanks for the contribution!