Skip to content

Armv7: carry flag of lsl.s not lifted #3990

Description

@MartijnB

The instruction:

11020338 822fb0e1 lsl.s r2, r2, #0x1f

Is lifted to:

8 @ 11020338 r2 = lsl.d{*}(r2, 0x1f)

which is then converted to the following LLIL:

5 @ 11020338 temp1.d = r2
6 @ 11020338 r2 = r2 << 0x1f
7 @ 11020338 flag:n = temp1.d << 0x1f s< 0
8 @ 11020338 flag:c = unimplemented

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Arch: ARM/ThumbIssues with the ARM/Thumb architecture pluginComponent: ArchitectureIssue needs changes to an architecture pluginEffort: LowIssues require < 1 week of workImpact: LowIssue is a papercut or has a good, supported workaroundLiftingissues related to LLIL lifting

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions