-
Notifications
You must be signed in to change notification settings - Fork 283
ITE instruction in Thumb2 may not be lifted correctly #4498
Copy link
Copy link
Closed
Labels
Arch: ARM/ThumbIssues with the ARM/Thumb architecture pluginIssues with the ARM/Thumb architecture pluginComponent: ArchitectureIssue needs changes to an architecture pluginIssue needs changes to an architecture pluginImpact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaroundState: Need ReproductionIssue could not be reproduced by a developerIssue could not be reproduced by a developer
Milestone
Metadata
Metadata
Assignees
Labels
Arch: ARM/ThumbIssues with the ARM/Thumb architecture pluginIssues with the ARM/Thumb architecture pluginComponent: ArchitectureIssue needs changes to an architecture pluginIssue needs changes to an architecture pluginImpact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaroundState: Need ReproductionIssue could not be reproduced by a developerIssue could not be reproduced by a developer
Type
Fields
Give feedbackNo fields configured for Bug.
In the discussion below, at a quick glance, it looks like
ite ccmay not be applied correctly? This could be another case like #4430, although it seems like it's manifesting differently.Discussed in #4427
Originally posted by imethod June 20, 2023
Excuse me I used a translation tool
mil

The three lines of thumb instruction should be an if else structure but mil complicates it
I tried merging variables , But the branches weren't removed
ida f5 effect

ninja c

The most important thing is that when I set the value of the variable, the second if is not recognized

Maybe there is a function that can be optimized manually but I don't understand how
thankes 0.0