Unlock instant, AI-driven research and patent intelligence for your innovation.

Code repairing method and device, electronic equipment and computer readable storage medium

A repair method and code technology, applied in the fields of code repair devices, computer-readable storage media, and code repair methods, can solve problems such as many business code logics and high repair costs

Active Publication Date: 2020-01-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present disclosure is to provide a code repair method, a code repair device, an electronic device, and a computer-readable storage medium, so as to overcome to a certain extent the logic involved in bugs in business codes caused by the limitations and defects of related technologies Too many and expensive to fix

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 repairing method and device, electronic equipment and computer readable storage medium
  • Code repairing method and device, electronic equipment and computer readable storage medium
  • Code repairing method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details being omitted, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solution...

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 provides a code repairing method, a code repairing device, electronic equipment and a computer readable storage medium, and relates to the technical field of software engineering. The code repair method comprises the following steps: obtaining an initial dynamic library generated after compiling an original code; performing code injection processing on the initial dynamic library togenerate a modified dynamic library; determining a function with a patch label from the modified dynamic library as a patch function, and generating execution information of the patch function; and inresponse to the code execution instruction, calling a patch function according to the execution information so as to repair the original code. According to the method, the code can be directly modified in the code engineering where the original code is located, the effect of repairing the original code by loading the patch file package at the client is conveniently achieved, and meanwhile the invention has the advantages of being easy to operate, low in repairing cost and the like.

Description

technical field [0001] The present disclosure relates to the technical field of software engineering, and in particular, to a code repair method, a code repair device, electronic equipment, and a computer-readable storage medium. Background technique [0002] In the process of software development, it is usually necessary to iterate and update the code several times, add new functional modules to the code project or fix problems (bugs) in the code project, so that the corresponding application program is more suitable for the use needs of users. [0003] In the code repair technology in the prior art, developers can replace the code logic in the original code with the code logic written in scripting language. When the bugs in the business code involve too much logic, it may cause the developer's workload during the code repair process. In addition, due to the large amount of code involved in code modification, new bugs may reappear in the new code logic, reducing the develop...

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): G06F8/30
CPCG06F8/31
Inventor 车雄生
Owner TENCENT TECH (SHENZHEN) CO LTD