package bap-optimization

  1. Overview
  2. No Docs
A BAP plugin that removes dead IR code

Install

Dune Dependency

Authors

Maintainers

Sources

v2.4.0.tar.gz
sha256=63ada71fa4f602bd679174dc6bf780d54aeded40ad4ec20d256df15886e3d2d5
md5=b8b1aff8c6846f2213eafc54de07b304

Description

A pass that conservatively removes dead code in the generated IR. The removed dead code is usually produced by a lifter, though it might be possible that a binary indeed contains a dead code. The algorithm doesn't remove variables that are stored in memory, only registers are considered.

Published: 12 Dec 2021

Dependencies (6)

  1. graphlib = "2.4.0"
  2. regular = "2.4.0"
  3. bap-std = "2.4.0"
  4. ppx_bap >= "v0.14" & < "v0.15"
  5. core_kernel >= "v0.14" & < "v0.15"
  6. ocaml >= "4.08.0"

Dev Dependencies

None

Used by (1)

  1. bap-core < "2.5.0"

Conflicts

None

OCaml

Innovation. Community. Security.