Code auditing method and device, electronic equipment and medium

A code auditing and code technology, applied in the field of electronic equipment and media, can solve the problems of difficult to detect code fragments, indistinguishable, low accuracy, etc.

Pending Publication Date: 2020-10-27
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of conceiving the technical solution of the present disclosure, the inventor found the following defects in the prior art: although dynamic program analysis can achieve high precision, it is difficult to detect all abnormal code fragments;

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code auditing method and device, electronic equipment and medium
  • Code auditing method and device, electronic equipment and medium
  • Code auditing method and device, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. It should be understood, however, that these descriptions are exemplary only, and are not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present disclosure.

[0049] The terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the present disclosure. The terms "comprising", "comprising", etc. used herein indicate the presence of stated features, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of artificial intelligence, and provides a code auditing method and device. The code auditing method comprises the following steps: acquiring a to-be-detected first code fragment; processing the first code snippet to obtain a first code attribute graph corresponding to the first code snippet; inputting the first code attribute graph into a code auditingmodel, wherein the code auditing model is a machine learning model obtained by training based on N second code attribute graphs corresponding to N second code snippets and N third code attribute graphs corresponding to N third code snippets; wherein the second code snippets are code snippets with bugs, and the third code snippets are code snippets obtained after bugs in the second code snippets are repaired; and obtaining an output of the code auditing model to obtain a detection result of auditing the first code snippet. The invention further provides a training method and device of the codeauditing module, electronic equipment and a medium.

Description

technical field [0001] The present disclosure relates to the technical field of artificial intelligence, and more specifically, to a code audit method and device, a code audit model training method and training device, an electronic device, and a medium. Background technique [0002] In the past time, a large number of enterprises around the world have been attacked by cyber attacks, with a total loss of tens of billions of dollars. Nowadays, the network permeates all aspects of work and life, and network security is particularly important for enterprises. Code auditing is an analysis method aimed at discovering security vulnerabilities, program errors, and source code violations of program coding standards. Source code security audit is a crucial step in routine penetration testing services and software architecture security checks. [0003] Existing code audits mostly use a combination of source code scanning and manual analysis and confirmation. Code audit tools commonl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F21/57G06N3/04G06N3/08
CPCG06F21/577G06N3/08G06F2221/033G06N3/045
Inventor 姜又荷苏建明蒋家堂尉翰龙
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products