-
Notifications
You must be signed in to change notification settings - Fork 27
Installation
This guide provides step-by-step instructions for installing prolead, including all required dependencies.
Before proceeding, clone the prolead repository:
git clone https://github.com/ChairImpSec/PROLEADIf Git is not installed on your system, install it! On apt-based systems (e.g. Ubuntu) you can do that with:
apt-get install gitWe officially support installation via the Nix package manager.
If Nix is not installed, follow the official installation guide.
- Multi-user installation is recommended if your system meets the requirements.
- Single-user installation is also supported.
Tip
For comparison between the both provided installation methods we refer to the official NixOS download page.
To install the latest release (v3.1.0) globally:
nix-env -i -f default.nixTo install dependencies in a development shell (recommended for development):
nix-shellInside the Nix shell, build the latest development version:
make releaseImportant
Ensure that your package metadata is up-to-date:
nix-channel --updateOlder versions may cause problems.
After installation, run prolead from your terminal:
PROLEADIt will automatically search for the following files in your current directory:
design.vconfig.json-
libs/nang45.jsonThese files are used as a default to perform an evaluation.
For usage and manual file path specification, see the Quickstart Wiki.
To remove PROLEAD:
nix-env --uninstall prolead-v3.1.0
nix-collect-garbageThis method is tested on Ubuntu 24.04 (WSL 2). Package versions may vary on other distributions.
Note
We do not offer support for this manual installation method.
Ensure the following are installed:
g++ (>=10.0.0)GNU Makepkg-configPython 3
To install these dependencies on Ubuntu, run:
apt-get update
apt install g++ make pkg-config python3-devThe required Boost libraries can be installed using:
apt-get install libboost-dev libboost-python-dev libboost-filesystem-dev libboost-program-options-devImportant
Ensure all Boost packages have the same version (>= 1.75).
We tested with version 1.83, but other versions may work.
If using a different Boost version, update the -lboost_python flag in the Makefile.
Install the Flint library using:
apt-get install libflint-devIf you need the software version of prolead that compiles C code into ARM assembly, install the ARM GCC toolchain:
apt-get install gcc-arm-none-eabiNavigate to the prolead directory and build:
make releaseOnce the installation is complete, you can execute prolead by simply typing:
./release/PROLEADThis will start the default evaluation specified in design.v and config.json.
For issues or questions, refer to the PROLEAD Wiki or open an issue on GitHub.