bindiff | Compare two binary files
kandi X-RAY | bindiff Summary
kandi X-RAY | bindiff Summary
Compare two binary files making a basic diff. A message is printed that indicates if the files are identical or differs. It that case the offset where the files differ is provided. An option -l allow will list the differences.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Compare two files
- Compare two files
- Display an ASCII character
bindiff Key Features
bindiff Examples and Code Snippets
Community Discussions
Trending Discussions on bindiff
QUESTION
I computed the similarity between malware files using Bindiff, accordingly built a similarity matrix based on the pairwise similarity comparison. I want to cluster the results using scipy.cluster.hierarchy.linkage(y, method='single', metric='euclidean')
, but the documentation says that y should be A condensed or redundant distance matrix.
So, how can I convert the similarity matrix (NOT distance matrix) to the required format?
Where on this thread it's mention y
can be he upper triangle of the distance matrix. But I want to point out that the order of comparison in Bindiff changes the result so similarity(file1,file2) != similarity(file2,file1)
so how can I overcome this issue?
...ANSWER
Answered 2017-Feb-16 at 19:02You can just implement hierarchical clustering yourself!
There are tutorials for implementing it. All you need to do is use a similarity rather than a distance.
But as you will quickly realize, you need to make it a symmetric similarity, min, average, max of the two distance, whatever.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bindiff
You can use bindiff like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page