Skip to content

Commit

Permalink
minor fixes to the readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
ivg committed Feb 28, 2018
1 parent 9ade019 commit 615d44f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@ BAP python bindings

# Installing

Install python bindings with pip (after you installed `bap`):
Install python bindings with pip (after you have installed `bap`):

```bash
$ pip install bap
```

Alternatively you can just copy paste files into your project, or clone it
with git-subtree, or whatever...
with git-subtree.


## Installing low-level bindings

An optional low-level interface, called [rpc] depends on requests, so
install [requests] package from pip and `bap-server` from opam:
An optional low-level interface, called [rpc] depends on the requests
library and the bap-server package. To use it, you need to install
them from pip and opam correspondigly:

```bash
$ pip install bap[rpc]
$ opam install bap
$ opam install bap-server
```

## Installing development version
Expand All @@ -34,8 +35,7 @@ pip install git+git://github.com/BinaryAnalysisPlatform/bap-python.git

```python
>>> import bap
>>> proj = bap.run('/bin/true', ['--symbolizer=ida'])
>>> text = proj.sections['.text']
>>> proj = bap.run('/bin/true')
>>> main = proj.program.subs.find('main')
>>> entry = main.blks[0]
>>> next = main.blks.find(entry.jmps[0].target.arg)
Expand Down

0 comments on commit 615d44f

Please sign in to comment.