Content-type: text/html
syms - Symbol table
#include <sym.h>
#include <symconst.h>
The symbol table departs from the standard COFF symbol table. The symbol table consists of many tables unbundling information usually found in the one COFF symbol table. The symbol table should be viewed as a handcrafted, network-style database designed for space and access efficiency.
The following structures or tables appear in the symbol table:
External and local symbols are both represented using the following structure:
struct
{
long iss; /* index into string space */
long value; /* address, size, etc.; depends on sc and st */
unsigned st: 6; /* symbol type (e.g., local, param, etc.) */
unsigned sc: 5; /* storage class (e.g., text, bss, etc.) */
unsigned reserved: 1;
unsigned index; /* index to symbol or auxiliary tables */ };
ldfcn(4). delim off