SoftSec-KAIST / TikNib

Binary Code Similarity Analysis (BCSA) Tool
MIT License
114 stars 22 forks source link

About features extracted by IDApro #9

Closed yanyou426 closed 1 year ago

yanyou426 commented 1 year ago

Hello, when I extract features of binaries, I found the number of keys in ['feature'] of each function is not the same. Is it something wrong with me?

0xdkay commented 1 year ago

Hi @yanyou426, thanks for your interest.

The number of features can be different for each function because not all features can be extracted from each function. Therefore, when calculating the ROC AUC, we initialized a numpy array that will contain feature values with zeros (code). Then, we filled the array with the extracted feature values (code), considering the unextracted feature value as zero.

yanyou426 commented 1 year ago

Thank u for the reply!!