Method and system for acquiring program symbol table

A program symbol and acquisition method technology, applied in the computer field, can solve problems such as large space, low acquisition efficiency, program occupation, etc., to achieve the effect of improving efficiency, saving running space, and solving program occupying large space

Pending Publication Date: 2016-06-15
OPZOON TECH
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is: the acquisition method of the existing program symbol table leads to the problem that the program occupies a large space and the acquisition efficiency is low

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 system for acquiring program symbol table
  • Method and system for acquiring program symbol table
  • Method and system for acquiring program symbol table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0039] figure 1 It is a schematic diagram of a method for obtaining a program symbol table according to an embodiment of the present invention. Such as figure 1 As shown, the methods for obtaining the program symbol table include:

[0040] S1: Extract the symbol table information in the program debugging information, and save the symbol table information in a symbol table source file;

[0041] S2: Compile the symbol table source file to generate a symbol table dynamic link library;

[0042] S3: Run the program and load the symbol table dynamic link library to obtain the program symbol table.

[0043] The method and system for obtaining a program symbol table in this embodiment does not require manual search to obtain a symbol table, and does not increase the space of the program, which effectively solves the problem that the existing method for obtai...

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 relates to a method and system for obtaining a program symbol table. The method includes: extracting symbol table information in program debugging information, storing the symbol table information in a symbol table source file; compiling the symbol table source file to generate a symbol table dynamic link library; running the program and loading the symbol Table dynamic link library, get the program symbol table. The present invention does not need manual search to obtain the symbol table, and does not increase the space of the program at the same time, which effectively solves the problem that the existing program symbol table acquisition method causes the program to occupy a large space and the acquisition efficiency is low, saves the program running space, and improves the efficiency of the program. In order to obtain the efficiency of the symbol table.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and system for obtaining a program symbol table. Background technique [0002] In computer science, a symbol table is a data structure used in language translators such as compilers and interpreters. In a symbol table, each identifier in a program's source code is bound to its declaration or usage information, such as its data type, scope, and memory address. The symbol table needs to continuously collect, record and use relevant information such as the types and characteristics of some grammatical symbols in the source program during the process of compiling the program. This information is generally stored in the system in the form of tables. Such as constant table, variable name table, array name table, process name table, label table, etc., collectively referred to as symbol table. The quality of the symbol table organization, construction and management methods will dire...

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): G06F9/45
CPCG06F8/4434
Inventor 李鹏
Owner OPZOON TECH
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