We should probably check the length of the lifted instruction to make sure we arent reading bytes from the 0 fill
ie. ./extra-tools/sleigh-lift/sleigh-lift disassemble ARM7_le.sla 002C -p ./specfiles should not print:
0x00000000: andeq r2,r0,r0, lsl #0x18
and should probably present an error like "not enough bytes"
For users who are not aware of how fills work on the backend/context registers etc the current behavior is non-obvious
We should probably check the length of the lifted instruction to make sure we arent reading bytes from the 0 fill
sleigh/extra-tools/sleigh-lift/src/main.cpp
Line 72 in b3669ea
ie.
./extra-tools/sleigh-lift/sleigh-lift disassemble ARM7_le.sla 002C -p ./specfilesshould not print:0x00000000: andeq r2,r0,r0, lsl #0x18
and should probably present an error like "not enough bytes"
For users who are not aware of how fills work on the backend/context registers etc the current behavior is non-obvious