Supercharge Your Innovation With Domain-Expert AI Agents!

File processing method and device, electronic equipment and storage medium

A file processing and module file technology, applied in the computer field, can solve problems such as finding the running address and locating the cause of the crash

Pending Publication Date: 2021-09-10
龙芯中科(西安)科技有限公司
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the embodiments of the present invention is to provide a file processing method, device, electronic equipment, and readable storage medium, so as to solve the problem that it is difficult to find the address where the code of each module actually runs, and thus it is difficult to locate the cause of the crash.

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
  • File processing method and device, electronic equipment and storage medium
  • File processing method and device, electronic equipment and storage medium
  • File processing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0057] refer to figure 1 , which shows a flow chart of the steps of a file processing method provided by an embodiment of the present invention, which may specifically include the following steps:

[0058] Step 101, obtain the module file in the firmware interface system, and the entry address of the module file at runtime.

[0059] In the embodiment of the present invention, the firmware interface system includes UEFI, etc., or any other applicable firmware interface system, such as PMIN, BIOS, etc., which is not limited in the embodiment of the present invention. The module file includes a DLL file, etc., or any other applicable file, which is not limited in this embodiment of the present invention. When the module file is run...

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 file processing method and device, and the method comprises the steps: obtaining a module file in a firmware interface system and an entry address of the module file during operation, carrying out the compiling and decompiling of the module file, and obtaining a source code instruction employing an assembly language corresponding to the module file, wherein the source code instruction carries a corresponding address offset, and processing the source code instruction into a source code instruction with link information according to the entry address and the address offset, so that a module file is automatically processed to obtain the source code instruction with the link information, and therefore, the problem that a real environment cannot be completely simulated during debugging on a virtual machine is avoided, so that developers are helped to quickly and directly find the actual running address of the code of each module file, and the problems such as crash at a certain address and the like can be accurately positioned.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a file processing method, a file processing device, an electronic device and a readable storage medium. Background technique [0002] UEFI (Unified Extensible Firmware Interface, Unified Extensible Firmware Interface) is a personal computer system specification used to define the software interface between the operating system and system firmware, as a substitute for BIOS (BasicInput Output System, Basic Input Output System) Program. The extensible firmware interface is responsible for power-on self-test, contacting the operating system, and providing an interface connecting the operating system and hardware. [0003] In UEFI, many programs are not a complete executable file, they are divided into some relatively independent module files, for example, DLL (Dynamic Link Library, dynamic link library) files. The entry address of each module is dynamically loaded when it...

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): G06F8/35G06F8/41G06F8/52G06F8/53
CPCG06F8/355G06F8/44G06F8/53G06F8/52
Inventor 李强李超
Owner 龙芯中科(西安)科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More