[Patch] CMOV extensions
Original Reporter info from Mantis: CuriousKit @CuriousKit
-
Reporter name: J. Gareth Moreton
Original Reporter info from Mantis: CuriousKit @CuriousKit
- Reporter name: J. Gareth Moreton
Description:
This patch extends the JmpMov2CMov optimisation to also include MOVs that read from the stack (and don't have an index register specified), since these should never contain invalid addresses (except if there's an erroneous assembler block earlier that corrupts the stack or overwrites EBP/RBP and doesn't restore it).
Steps to reproduce:
Apply patch and confirm correct and improved optimisation.
Mantis conversion info:
- Mantis ID: 36675
- OS: Microsoft Windows
- OS Build: 10 Professional
- Build: r44124
- Platform: i386 and x86_64
- Version: 3.3.1
- Fixed in revision: 44141 (#12d015a9)