Wu Guangli, Tang Huili, Zhang Jing. BINARY CODE VULNERABILITY DETECTION BASED ON RESTEXT CNN AND SELF-ATTENTIONJ. Computer Applications and Software, 2025, 42(10): 367-375. DOI: 10.3969/j.issn.1000-386x.2025.10.048
Citation: Wu Guangli, Tang Huili, Zhang Jing. BINARY CODE VULNERABILITY DETECTION BASED ON RESTEXT CNN AND SELF-ATTENTIONJ. Computer Applications and Software, 2025, 42(10): 367-375. DOI: 10.3969/j.issn.1000-386x.2025.10.048

BINARY CODE VULNERABILITY DETECTION BASED ON RESTEXT CNN AND SELF-ATTENTION

  • In order to automatically extract complex semantic features and determine the contribution degree of instructions in assembly code segment to the task, an attention residual convolutional network (ISA-ResTextCNN) based on ResTextCNN and self-attention mechanism is proposed. The self-attention mechanism was adopted to give weight to each instruction in the code segment, and pay attention to the influence of the instruction on the binary vulnerability detection task. ResTextCNN was used to fully consider the input information while extracting more deeper semantic features, so as to improve the detection performance of the model. During model training, max-norm regularization was added to solve the problem of overfitting. Experimental results show that the proposed model can improve the performance of binary code vulnerability detection, and the accuracy and F1-score are improved compared with similar benchmark models.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return