allthingsida / strikeout

IDA strike-out: A Hex-Rays decompiler plugin to patch the Ctree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

StrikeOut is an plugin for the Hex-Rays Decompiler. It allows you to delete (hide) statements from the AST, thus simplifying the pseudocode output. This is a useful scenario when you are dealing with lots of junk code or code that don't necessarily increase your understanding of the pseudocode.

Features:

  • Delete a statement and its children
  • Patch a statement (with NOP) and its children (x86 arch. only)
  • Persistence
  • Undo support
  • Patch code (in the disassembly) view with NOPs

Building

StrikeOut uses idax and is built using ida-cmake.

If you don't want to build from sources, then there are release pre-built for MS Windows.

Use cases

  • Patching out the disassembly from the pseudocode window

  • Cleaning up ugly / 'useless' pseudocode lines

  • Manually cleaning opaque predicates from the pseudocode window

Cleaning opaque predicates

  • Patching the disassembly code with NOPs

NOP patchs

  • Moving disassembly lines up or down Move lines

Use at your own risk. This feature is experimental and does not properly relocate instructions. It only copies their bytes.

About

IDA strike-out: A Hex-Rays decompiler plugin to patch the Ctree

License:MIT License


Languages

Language:C++ 76.5%Language:Python 12.5%Language:C 4.2%Language:Makefile 2.9%Language:Batchfile 2.0%Language:CMake 1.9%