Skip to content

Commit

Permalink
Add python3 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
soomin-kim committed Aug 22, 2023
1 parent 77eb5d5 commit 251720d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,32 @@ FunProbe (the root directory)
+-...
```

### Setting up Python3

## Building FunProbe
`FunProbe` does not need any special Python3 packages. However, for
experimental scripts, `pyelftools` is required. To install pyelftools,

Clone the repository:
```
user@ubuntu:~$ git clone https://github.com/B2R2-org/FunProbe.git
user@ubuntu:~/FunProbe$ python3 -m pip install pyelftools
```

or

```
user@ubuntu:~/FunProbe$ python3 -m pip install -r requirements.txt
```
In this document (and other documents in this repository), we assume that you
cloned the repository at `~/FunProbe`. The prefix before commands will indicate
where you need to execute the command.


## Building FunProbe

Clone the repository:
```
user@ubuntu:~$ git clone https://github.com/B2R2-org/FunProbe.git
```

To build FunProbe, type the following command:
```
user@ubuntu:~/FunProbe$ dotnet build -c Release
Expand Down
2 changes: 1 addition & 1 deletion REQUIREMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ installing `FunProbe` on the naive system requires the
following software dependencies:

- .NET 6.0
- Python3
- Python3 (with `pyelftools` package)
- GNU Binutils

To build Docker environments, one additionally needs
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pyelftools

0 comments on commit 251720d

Please sign in to comment.