Research Article

HGVul: A Code Vulnerability Detection Method Based on Heterogeneous Source-Level Intermediate Representation

Table 11

Performance for the vulnerable functions of actual CVEs.

Project Vulnerable funcsRATSFlawfinderVUDDYVulDeePeckerBGNN4VDDevignHGVul
DetectedF1 (%) DetectedF1 (%) DetectedF1 (%) DetectedF1 (%) DetectedF1 (%) DetectedF1 (%) DetectedF1 (%)

ffmpeg11115.4115.400652.2861.5751.9966.7
openssl16642.9433.3866.7743.81466.71463.61257.1
libav10228.6228.6675.0550.0543.5861.5756.0
httpd13438.1438.11087.0646.21058.8958.11266.7
nginx10228.6228.6118.2869.61069.0864.0964.3
libtiff13113.3113.3555.6442.11058.81164.71168.8
Total/avg731627.81426.23050.43650.75658.85459.06063.3