This repo provides an implementation of the Gemini network for binary code similarity detection in this paper.
Unzip the data by running:
unzip data.zipThe network is written using Tensorflow 1.4 in Python 2.7. You can install the dependencies by running:
pip install -r requirements.txtThe model is implemented in graphnnSiamese.py.
Run the following code to train the model:
python train.pyor run python train.py -h to check the optional arguments.
After training, run the following code to evaluate the model:
python eval.pyor run python eval.py -h to check the optional arguments.