Xiaochuan Zhang, Wenjie Sun, Jianmin Pang, Fudong Liu and Zhen Ma
This is the the prototype system of paper Similarity Metric Method for Binary Basic Blocks of Cross-Instruction Set Architecture.
If you find the code and datasets useful in your research, please cite:
@inproceedings{mirror,
title={Similarity Metric Method for Binary Basic Blocks of Cross-Instruction Set Architecture},
author={Xiaochuan, Zhang and Wenjie, Sun and Jianmin, Pang and Fudong, Liu and Zhen, Ma},
booktitle={Proceedings of the NDSS Workshop on Binary Analysis Research},
year={2020}
}
- Ubuntu (We test with Ubuntu = 18.04 LTS)
- Python (We test with Python = 3.7.4)
- CUDA & cuDNN (We test with CUDA = 10.1 and cuDNN = 7.6.5)
- PyTorch (We test with PyTorch = 1.0.0)
- NVIDIA GPU(s) (We use 4 RTX 2080Ti)
Download repository:
$ git clone https://github.com/zhangxiaochuan/MIRROR.git
$ cd MIRROR
The dataset MISA (Multi-ISAs basic block dataset) is available at link. Please download and uncompress MISA.zip
, and place MISA in the root directory of the project.
$ python data_manager.py
$ python pretrain.py
$ python train.py
See MIT License