Code scanning method and device, computing equipment and computer storage medium

A scanning method and code technology, applied in the field of code security, can solve problems such as code error reporting and code scanning tools that cannot be found and located in time

Pending Publication Date: 2021-03-19
BEIJING QIHOO TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These problems are not detected before the code is executed, which will cause the code to report an error during execution
[0003] Although existing technologies can use code scanning tools to scan codes, for the above non-code logic problems, existing code scanning tools cannot detect and locate problems in time

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 scanning method and device, computing equipment and computer storage medium
  • Code scanning method and device, computing equipment and computer storage medium
  • Code scanning method and device, computing equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0031] figure 1 shows a schematic flow chart of a code scanning method according to an embodiment of the present invention, as figure 1 As shown, the method includes the following steps:

[0032] Step S101, scanning the code file to extract the code information of the code file.

[0033] Obtain code files, such as the test.sh file, and scan the test.sh file. When scanning, you can scan one line at a time to obtain the content of...

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 discloses a code scanning method and device, computing equipment and a computer storage medium. The method comprises the steps of scanning a code file, and extracting code information ofthe code file; analyzing and sorting the code information, and caching the code information in a classified manner; detecting the cached code information, and determining whether a code problem exists in the code information or not; and if yes, marking and positioning the code problem. By scanning the code file, the code problem existing in the code can be found before the code is executed on thecode line, the code problem is effectively positioned and marked, the code file is conveniently corrected, and the existing code problem is solved.

Description

technical field [0001] The invention relates to the field of code security, in particular to a code scanning method and device. Background technique [0002] For the code executed online, there are problems such as no alarm mechanism for code execution failure, no necessary judgment on the required resources before code execution, and the data that the code relies on are not the latest data. These problems are not detected before the code is executed, which will cause the code to report an error during execution. [0003] Although code scanning tools can be used to scan codes in the prior art, for the above non-code logic problems, the existing code scanning tools cannot find and locate the problems in time. Contents of the invention [0004] In view of the above problems, the present invention is proposed to provide a code scanning method, device, computing device, and computer storage medium that overcome the above problems or at least partially solve the above problems...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3616
Inventor 王晓军
Owner BEIJING QIHOO TECH CO LTD
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