Skip to content

ninja thumb IT Conditional instruction Bring error analysis #4430

@imethod

Description

@imethod
  • Binary Ninja Version: [e.g. 3.3.3996-dev] (if version is stable, please also test the latest development build via the "Update Channel" option)
  • OS: [win10]
  • CPU Architecture: [x64]

Bug Description:
IT Conditional append instruction goto instruction ninja does not recognize subsequent instructions, resulting in errors

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:
Go to 0x12780
Make a function at 0x12781 (because this is Thumb2 code)
Observe that the ite cc at 0x12808 does not apply to the b #0x127b6 that follows at 0x1280a

Screenshots:
image
image
image
image

Additional Information:
demo.zip

Please add any other context about the problem here.
fix.zip
fix.zip rename fix.so

Metadata

Metadata

Assignees

Labels

Arch: ARM/ThumbIssues with the ARM/Thumb architecture pluginComponent: ArchitectureIssue needs changes to an architecture pluginImpact: MediumIssue is impactful with a bad, or no, workaround

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions