Skip to content

v2.66.0: BinaryLifter: SH-2A backend upgraded to CFG + structured control flow.

Choose a tag to compare

@Ablation-Tool Ablation-Tool released this 10 Oct 22:27
· 198 commits to main since this release

BinaryLifter: SH-2A backend upgraded to CFG + structured control flow.
Replaces the linear-walk lifter with a full decompiler pipeline.

Changed:

  • _lift_sh2a() now builds a CFG (cfg_sh2a.build_cfg) and runs the
    dominator-based structurizer (structurizer.Structurizer) before emitting
    pseudo-C. Output is now if/while/for structured code instead of goto
    chains. Falls back to linear block-ordered emit if the structurizer raises.
  • _SH2aState.emit() is unchanged — it remains the per-instruction emitter
    callback, called by the structurizer via a lambda.