GO-V.ORG
As seen in

Symbol table

In computer science, a symbol table is a data structure where each identifier or symbol (referring to variables, constants, procedures, functions, etc.) in a program's code is associated with the necessary information for its functioning.[src] This may come in two main forms: # With object file and executables, the "code" is machine code, and the "information" is typically the memory address of the entity referred to by the symbol.[src] # With language translators such as a compiler or interpreters, the "code" is generally a source code, and the "information" refers to the entry's declaration or appearance in the source.[src] (Interpreters also need a way to find the entry's "value" in the table, often an address pointing to another data structure.) # With intermediate code files, the "information" may be intermediate between the two above types.[src] A symbol table of the second type usually only exists in memory during the translation process.[src] A symbol table of the first type is embedded in the output of the translation, such as in an ABI object file for later use.[src] For example, it might be used when loading a dynamic library, during an interactive debugging session, or as a resource for formatting a diagnostic report during or after execution of a program.[src]

In computer science, a symbol table is a data structure where each identifier or symbol (referring to variables, constants, procedures, functions, etc.) in a program's code is associated with the necessary information for its functioning.[src] This may come in two main forms: With object file and executables, the "code" is machine code, and the "information" is typically the memory address of the entity referred to by the symbol.[src] With language translators such as a compiler or interpreters, the "code" is generally a source code, and the "information" refers to the entry's declaration or appearance in the source.[src] (Interpreters also need a way to find the entry's "value" in the table, often an address pointing to another data structure.) With intermediate code files, the "information" may be intermediate between the two above types.[src] A symbol table of the second type usually only exists in memory during the translation process.[src] A symbol table of the first type is embedded in the output of the translation, such as in an ABI object file for later use.[src] For example, it might be used when loading a dynamic library, during an interactive debugging session, or as a resource for formatting a diagnostic report during or after execution of a program.[src] ===Applications=== An object file will contain a symbol table of the identifiers it contains that are externally visible.[src] During the linking of different object files, a linker will identify and resolve these symbol references.[src] Usually all undefined external symbols will be searched for in one or more object libraries.[src] If a module is found that defines that symbol it is linked together with the first object file, and any undefined external identifiers are added to the list of identifiers to be looked up.[src] This process continues until all external references have been resolved.[src] It is an error if one or more remains unresolved at the end of the process.[src] While reverse engineering an executable, many tools refer to the symbol table to check what addresses have been assigned to global variables and known functions.[src] If the symbol table has been stripped or cleaned out before being converted into an executable, tools will find it harder to determine addresses or understand anything about the program.[src] // Declare an external function extern double bar(double x); // Define a public function double foo(int count) { double sum = 0.0; // Sum all the values bar(1) to bar(count) for (int i = 1; i The object file would consist of at least two things: an address of the function and a way indicating usage of .[src] ==See also== Debug symbol .debug_info ==References== ==Bibliography==[src]

24 sentences · 24 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Symbol table." encyclopegia.org, 2026, https://encyclopegia.org/wiki/symbol-table. Accessed 03 December 2026.

Chicago

"Symbol table." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/symbol-table.

APA

encyclopegia.org. (2026). Symbol table. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/symbol-table

Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

periodic table

stub · references available

chemical symbol

stub · references available

Hitler’s Table Talk

stub · references available

All-time Fußball-Bundesliga table

stub · references available

accent symbol

stub · references available

2012 Summer Paralympics medal table

stub · references available

File Allocation Table

stub · references available

1896 Summer Olympics medal table

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1370898126 · 0.5 · snapshot enwiki-001370898126

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.