Method and device for positioning bug in code, electronic equipment and readable storage medium

A positioning method and code technology, applied in the computer field, can solve problems such as repairing and affecting the normal use of users, and achieve the effect of ensuring normal use.

Active Publication Date: 2020-11-06
CCB FINTECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the software used is a non-open source version, the bug cannot be fixed by directly modifying the open source code, which may affect the normal use of users

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
  • Method and device for positioning bug in code, electronic equipment and readable storage medium
  • Method and device for positioning bug in code, electronic equipment and readable storage medium
  • Method and device for positioning bug in code, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and should not be construed as limiting the present invention.

[0041] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof. It will be u...

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 embodiment of the invention provides a method and device for positioning a bug in a code, electronic equipment and a readable storage medium. The method comprises the following steps: decompilinga target file with bug in a target program to obtain a target code; obtaining a replacement program of the target program, and replacing a corresponding part of codes in the replacement program with the target code to obtain a test program; and determining a bug code in the target code based on the test program. Based on this scheme, a test program is obtained by replacing a code with a bug into acode of an alternative program; the bug code is determined by debugging the test program, so that the bug code is determined under the condition that the code of the target program is not subjected to open source, a basis can be provided for modifying the determined bug code to repair the bug, and normal use of a user is guaranteed.

Description

technical field [0001] The present application relates to the field of computer technology, in particular, the present application relates to a method, device, electronic equipment and readable storage medium for locating bugs in codes. Background technique [0002] There may be bugs during the running of the software. If the software used is an open source version, the open source code of the software may be directly modified, and then packaged and compiled to complete the repair of the bugs. However, if the software used is a non-open source version, the bug cannot be fixed by directly modifying the open source code, which may affect the normal use of users. Contents of the invention [0003] The purpose of this application is to at least solve one of the above-mentioned technical defects. The technical scheme adopted in this application is as follows: [0004] In the first aspect, the embodiment of the present application provides a method for locating bugs in code, t...

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/36G06F8/53
CPCG06F11/3684G06F11/3688G06F8/53Y02D10/00
Inventor 李龙飞
Owner CCB FINTECH 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