Skip to content

Sleigh-lifter will lift past the end of the provided bytes #176

@2over12

Description

@2over12

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions