-
Notifications
You must be signed in to change notification settings - Fork 283
Redundant condition in decompilation #2504
Copy link
Copy link
Closed
Labels
Component: CoreIssue needs changes to the coreIssue needs changes to the coreCore: HLILIssue involves High Level ILIssue involves High Level ILEffort: MediumIssues require < 1 month of workIssues require < 1 month of workIL OptimizationIssue involving optimization of representation (not correctness)Issue involving optimization of representation (not correctness)Impact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaround
Milestone
Metadata
Metadata
Assignees
Labels
Component: CoreIssue needs changes to the coreIssue needs changes to the coreCore: HLILIssue involves High Level ILIssue involves High Level ILEffort: MediumIssues require < 1 month of workIssues require < 1 month of workIL OptimizationIssue involving optimization of representation (not correctness)Issue involving optimization of representation (not correctness)Impact: MediumIssue is impactful with a bad, or no, workaroundIssue is impactful with a bad, or no, workaround
Binary Ninja Version
Version 2.3.2811-dev (Build ID 86f5afe6)
Describe the bug
For certain input, the HLIL view shows:
But
arg1 == 0is redundant here. It could be written as justTo Reproduce
Compiled from this assembly:
Version and Platform (required):