
opam-version: "2.0"
maintainer: "Ivan Gotovchits <ivg@ieee.org>"
authors: "BAP Team"
homepage: "https://github.com/BinaryAnalysisPlatform/bap/"
bug-reports: "https://github.com/BinaryAnalysisPlatform/bap/issues"
dev-repo: "git://github.com/BinaryAnalysisPlatform/bap/"
license: "MIT"
build: [
  ["./configure" "--prefix=%{prefix}%" "--enable-stub-resolver"]
  [make]
]

install: [[make "install"]]

remove: [
        ["ocamlfind" "remove" "bap-plugin-stub_resolver"]
        ["bapbundle" "remove" "stub_resolver.plugin"]
        ]

depends: [
  "ocaml" {>= "4.07.0" & < "4.10.0"}
  "bap-std" {= "2.1.0"}
  "bap-abi" {= "2.1.0"}
  "bap-knowledge" {= "2.1.0"}
  "bap-core-theory" {= "2.1.0"}
  "bap-main" {= "2.1.0"}
  "bitvec-order" {= "2.1.0"}
  "core_kernel" {>= "v0.12" & < "v0.13"}
  "ounit"
]
synopsis: "Substitutes calls to stubs with calls to real functions"
description: """
  Provides an abi pass that transforms a program by substituting calls
  to stubs with calls to real subroutines when they are present in
  the binary."""
url {
  src: "https://github.com/BinaryAnalysisPlatform/bap/archive/v2.1.0.tar.gz"
  checksum: "md5=3db9deac8d429b9b8a8ec9aec54987b1"
  mirrors: "https://mirrors.aegis.cylab.cmu.edu/bap/2.1.0/v2.1.0.tar.gz"
}
