A basic python script for COMP323 project for graph theory.
Warning
This is not a optimal way to perform malware variant detection. For that you want to use markov chains or GNN. This is exercise was only done for the project. Though this my detect some malware-variant, this method is too strict to be majorily useful in production.
Currently it uses isomorphism. I tried graph edit distance but that took to much time.
angr: For making CFG, FCG.angrutils: For visualizing CFG.networkx: For the graphmatplotlib: For plotting graph
poetry install
python mal-an.py <file1> <file2>