Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Embedded system and method for acquiring symbol table by same

An embedded system and symbol table technology, applied in memory systems, instruments, computing, etc.

Inactive Publication Date: 2010-05-12
ZTE CORP
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

The technical effect of this new technology described by Applicant allows for more efficient address discovery across multiple binary file systems without requiring any extra data from each system's memory space. This means that even if there are only two or three bytes left over after being added into one buffer file, it still has enough storage capacity available on both disk drives to handle these fields effectively.

Problems solved by technology

Techn problem: When trying to fix bugs during development (debugging) with an existing version of VSXware software, it may have issues due to limited accessibility from outside sources like binary codes stored within files containing dynamic data called symbol tables. Additionally, there could also exist hidden variables inside these documents without any external reference points.

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
  • Embedded system and method for acquiring symbol table by same
  • Embedded system and method for acquiring symbol table by same
  • Embedded system and method for acquiring symbol table by same

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0027] The main idea of ​​the present invention is: different from the secondary link of generating c files of Vxworks, adopting the method of generating the program with reserved space during the first compilation, then parsing the program to obtain the symbol table and filling it back into the program, so as to obtain all the Symbols, including static variables and functions.

[0028] like figure 1 Shown, a kind of embedded system of the present invention obtains the method for symbol table, specifically is divided into following steps:

[0029] Step 110, when the embedded system compiles, reserve a space of length N in the memory, and generate the obj file according to the object code;

[0030] Wherein, N is an integer greater than 0.

[0031] Step 120, obtain the quantity m of all symbols according to the obj file;

[0032] Wherein, m i...

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 an embedded system and a method for acquiring a symbol table by the same. The method comprises that: the embedded system reserves a space in a memory when compiling, an obj file is generated, the number m of all symbols are obtained according to the obj file, and a c file comprising an empty array with the length of m is generated in the reserved space according to the number m; the embedded system compiles the c file, and is linked with the obj file to generate a bin file; and the embedded system analyzes the bin file, and a new bin file comprising information of all symbol lookup tables is generated according to an array storing position in the memory. By applying the system and the method, the problem of requirement of acquiring addresses of symbols in all bin files currently is solved, and all the symbols can be acquired to the full extent, including static variables and functions.

Description

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

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
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products