lifting-bits / remill

Library for lifting machine code to LLVM bitcode
Apache License 2.0
1.26k stars 142 forks source link

Fix type error in StoreToMemory for i128 types #525

Closed kumarak closed 3 years ago

kumarak commented 3 years ago

Ref: https://github.com/lifting-bits/anvill/issues/223

The PR changes convert the val_to_store to [16 * i8]* type before getting the element pointer. The asset failure happens because i128 has no elements and the element pointer is null.