Skip to content

Installation

50417 edited this page Aug 9, 2019 · 2 revisions

Development Platforms

DeepFuzzer is tested on Ubuntu 18.04 and CentOS 7. The project can be built on Windows as well after adaptation of this script to compile protocol buffer files. The project can be built on TACC. Make sure to include <PATH_TO_libcudnn> in LD_LIBRARY_PATH

Running DeepFuzzer

$ export LD_LIBRARY_PATH=<PATH_TO_libcudnn>:$LD_LIBRARY_PATH

First, create virtual environment using Anaconda so that the installation doesnot conflict with system wide installs.

$ conda create -n python=3.6

Clone the project and install the dependencies

$ git clone https://github.com/50417/DeepFuzzTest.git $ cd DeepFuzzTest

Activate environment and Install the dependencies (Change tensorflow tp tensorflow-gpu to use GPU for training).

$ conda activate $ pip install -r requirements.txt

Compile protocol buffer files

$ chmod +x tools/protoc.sh $ ./tools/proctoc.sh

Test your installation

$ python clgen.py --config <PATH_TO_CONFIGURATION_FILE>

Clone this wiki locally