DEEP-LEARNING BASED DEVICE AND METHOD FOR DETECTING SOURCE-CODE VULNERABILITY WITH IMPROVED ROBUSTNESS

    公开(公告)号:US20220292200A1

    公开(公告)日:2022-09-15

    申请号:US17444612

    申请日:2021-08-06

    Abstract: The present invention relates a device for improving robustness of deep-learning based detection of source-code vulnerability, the device at least comprises a code-converting module, a mapping module, and a neural-network module, wherein the mapping module is in data connection with the code-converting module, the mapping module is in data connection with the neural-network module, respectively, and the neural-network module includes at least two first classifiers, based on a received first training program source code, the mapping module maps a plurality of code snippets, and the neural-network module trains the at least two first classifiers according to a first sample vector. The present invention improves the robustness of detection of source-code vulnerability by performing classification training on the feature generators and the classifiers.

Patent Agency Ranking