yueduan / DeepBinDiff

Official repository for DeepBinDiff
BSD 3-Clause "New" or "Revised" License
227 stars 49 forks source link

Memory Error #18

Open Patrick-ICT opened 2 years ago

Patrick-ICT commented 2 years ago

The sizes of the two binaries are 11.3MB and 18.2MB, causing MemoryError.

Screen Shot 2022-01-21 at 8 54 37 AM
Patrick-ICT commented 2 years ago

I am here again. It seems DeepBinDiff costs too much time to compare large binaries. For example, I am diffing the "508.namd_r" in SPEC CPU 2017 on a server. 2000 minutes passed, and it's still diffing. Is there any way to speed it up?

yueduan commented 2 years ago

The TADW may consume a lot of memory, there is nothing much we can do about it. To speed up DeepBinDiff, you may change the parameter 'k' in the k-hop algorithm, say make k=2.