nao(no-meaning assembly omiter) is simple dead code eliminator plugin for IDA pro.
Nao is just a prototype
Please follow the link.
Please copy the contents of
nao directory in this repository to
$IDA_ROOT/plugins folder, or just run
nao/nao.py as the IDAPython script.
After you install nao.py, you'll see
eliminate dead code button on Edit/Plugins menu.
Shift-D display eliminated disassemble code from current function.