首页>
外国专利>
Measuring code sharing of software modules based on fingerprinting of assembly code
Measuring code sharing of software modules based on fingerprinting of assembly code
展开▼
机译:基于汇编代码的指纹识别测量软件模块的代码共享
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method includes obtaining assembly code of a first software module, the assembly code comprising one or more assembly functions each comprising at least one basic block. The method also includes computing fingerprints of the basic blocks of the first software module by application of a fuzzy hash function, generating a representation of the first software module as a set of assembly functions each represented as a sequence of fingerprints of its associated basic blocks, and determining a similarity score between the first software module and at least a second software module classified as a given software module type. The similarity score is based on distances between the fingerprints of the basic blocks of the assembly functions of the first software module and corresponding fingerprints of the second software module. The method further includes determining a measure of code sharing between the first and second software modules based on the similarity score.
展开▼