uxmal / reko

Reko is a binary decompiler.
https://uxmal.github.io/reko
GNU General Public License v2.0
2.1k stars 251 forks source link

Fix 'x * 1 to x' simplification (binExp.Left -> left) #1269

Closed ptomin closed 1 year ago

ptomin commented 1 year ago

We should use simplificated left operand (left) instead of original one (binExp.Left)

uxmal commented 1 year ago

Nice catch!