File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,24 +2,25 @@ BAP python bindings
2
2
3
3
# Installing
4
4
5
- Install python bindings with pip (after you installed `bap`):
5
+ Install python bindings with pip (after you have installed `bap`):
6
6
7
7
```bash
8
8
$ pip install bap
9
9
```
10
10
11
11
Alternatively you can just copy paste files into your project, or clone it
12
- with git-subtree, or whatever.. .
12
+ with git-subtree.
13
13
14
14
15
15
## Installing low-level bindings
16
16
17
- An optional low-level interface, called [rpc] depends on requests, so
18
- install [requests] package from pip and `bap-server` from opam:
17
+ An optional low-level interface, called [rpc] depends on the requests
18
+ library and the bap-server package. To use it, you need to install
19
+ them from pip and opam correspondigly:
19
20
20
21
```bash
21
22
$ pip install bap[rpc]
22
- $ opam install bap
23
+ $ opam install bap-server
23
24
```
24
25
25
26
## Installing development version
@@ -34,8 +35,7 @@ pip install git+git://github.com/BinaryAnalysisPlatform/bap-python.git
34
35
35
36
```python
36
37
>>> import bap
37
- >>> proj = bap.run('/bin/true', ['--symbolizer=ida'])
38
- >>> text = proj.sections['.text']
38
+ >>> proj = bap.run('/bin/true')
39
39
>>> main = proj.program.subs.find('main')
40
40
>>> entry = main.blks[0]
41
41
>>> next = main.blks.find(entry.jmps[0].target.arg)
You can’t perform that action at this time.
0 commit comments