opam-version: "2.0"
maintainer: "Thomas Barabosch <thomas.barabosch@fkie.fraunhofer.de>"
authors: "Thomas Barabosch <thomas.barabosch@fkie.fraunhofer.de>"
homepage: "https://github.com/fkie-cad/bap-mode"
bug-reports: "https://github.com/fkie-cad/bap-mode/issues"
dev-repo: "git+https://github.com/fkie-cad/bap-mode"
license: "MIT"
install: [
  ["mkdir" "-p" "%{share}%/emacs/site-lisp"]
  ["cp" "bap-mode.el" "%{share}%/emacs/site-lisp"]
]
remove: [["rm" "%{share}%/emacs/site-lisp/bap-mode.el"]]
synopsis: "Emacs major mode for reading and analyzing programs in BAP's IR"
description: """
It allows to interact with BAP from within emacs. For example, bap-open-file (C-c C-b o) opens
a file with BAP and emits the IR to an Emacs buffer. bap-mode hightlights the syntax and allows
to quickly navigate the code (e.g. C-c C-b m to jump to the main function).
https://github.com/fkie-cad/bap-mode"""
depends: ["ocaml"]
flags: light-uninstall
url {
  src: "git+https://github.com/fkie-cad/bap-mode.git"
}
