angr.analyses.decompiler.peephole_optimizations.recombine_split_halves¶
- class angr.analyses.decompiler.peephole_optimizations.recombine_split_halves.RecombineSplitHalves¶
Bases:
PeepholeOptimizationExprBase(a & (2 ** N - 1)) | ((a >> N) << N) => a
A value split into register halves (e.g., rdtsc’s edx:eax) and put back together. The left shift may already be rewritten into a multiplication, and the low half may be a pair of truncating and extending conversions.
- NAME = '(a & mask) | ((a >> N) << N) => a'¶
- expr_classes = (<class 'angr.ailment.expression.BinaryOp'>,)¶