APIdia Launch Partner
Top Description Fields
sun.jvm.hotspot.debugger.win32.coff

public Interface COFFSymbolConstants

Known Direct Implementers
sun.jvm.hotspot.debugger.win32.coff.COFFFileParser.COFFFileImpl.COFFHeaderImpl.COFFSymbolImpl

Constants providing information about the section number, type representation, and storage class of symbols. (Some of the descriptions are taken directly from Microsoft's documentation and are copyrighted by Microsoft.)

Field Summary

Modifier and TypeField and Description
public static final short
IMAGE_SYM_ABSOLUTE

The symbol has an absolute (non-relocatable) value and is not an address.

public static final byte
IMAGE_SYM_CLASS_ARGUMENT

Formal argument (parameter) of a function.

public static final byte
IMAGE_SYM_CLASS_AUTOMATIC

Automatic (stack) variable.

public static final byte
IMAGE_SYM_CLASS_BIT_FIELD

Bit-field reference.

public static final byte
IMAGE_SYM_CLASS_BLOCK

A .bb (beginning of block) or .eb (end of block) record.

public static final byte
IMAGE_SYM_CLASS_END_OF_FUNCTION

(0xFF) Special symbol representing end of function, for debugging purposes.

public static final byte
IMAGE_SYM_CLASS_END_OF_STRUCT

End of structure entry.

public static final byte
IMAGE_SYM_CLASS_ENUM_TAG

Enumerated type tagname entry.

public static final byte
IMAGE_SYM_CLASS_EXTERNAL

Used by Microsoft tools for external symbols.

public static final byte
IMAGE_SYM_CLASS_EXTERNAL_DEF

Symbol is defined externally.

public static final byte
IMAGE_SYM_CLASS_FILE

Used by Microsoft tools, as well as traditional COFF format, for the source-file symbol record.

public static final byte
IMAGE_SYM_CLASS_FUNCTION

Used by Microsoft tools for symbol records that define the extent of a function: begin function (named .bf), end function (.ef), and lines in function (.lf).

public static final byte
IMAGE_SYM_CLASS_LABEL

Code label defined within the module.

public static final byte
IMAGE_SYM_CLASS_MEMBER_OF_ENUM

Member of enumeration.

public static final byte
public static final byte
public static final byte
IMAGE_SYM_CLASS_NULL

No storage class assigned.

public static final byte
IMAGE_SYM_CLASS_REGISTER

Register variable.

public static final byte
IMAGE_SYM_CLASS_REGISTER_PARAM

Register parameter.

public static final byte
IMAGE_SYM_CLASS_SECTION

Definition of a section (Microsoft tools use STATIC storage class instead).

public static final byte
IMAGE_SYM_CLASS_STATIC

The Value field specifies the offset of the symbol within the section.

public static final byte
IMAGE_SYM_CLASS_STRUCT_TAG

Structure tag-name entry.

public static final byte
public static final byte
IMAGE_SYM_CLASS_UNDEFINED_LABEL

Reference to a code label not defined.

public static final byte
IMAGE_SYM_CLASS_UNDEFINED_STATIC

Static data declaration.

public static final byte
IMAGE_SYM_CLASS_UNION_TAG

Union tag-name entry.

public static final byte
public static final short
IMAGE_SYM_DEBUG

The symbol provides general type or debugging information but does not correspond to a section.

public static final short
IMAGE_SYM_DTYPE_ARRAY

Array of base type.

public static final short
IMAGE_SYM_DTYPE_FUNCTION

Function returning base type.

public static final short
IMAGE_SYM_DTYPE_NULL

No derived type; the symbol is a simple scalar variable.

public static final short
IMAGE_SYM_DTYPE_POINTER

Pointer to base type.

public static final short
IMAGE_SYM_TYPE_BYTE

Byte; unsigned one-byte integer.

public static final short
IMAGE_SYM_TYPE_CHAR

Character (signed byte).

public static final short
IMAGE_SYM_TYPE_DOUBLE

Eight-byte floating-point number.

public static final short
IMAGE_SYM_TYPE_DWORD

Unsigned four-byte integer.

public static final short
IMAGE_SYM_TYPE_ENUM

Enumerated type.

public static final short
IMAGE_SYM_TYPE_FLOAT

Four-byte floating-point number.

public static final short
IMAGE_SYM_TYPE_INT

Natural integer type (normally four bytes in Windows NT).

public static final short
IMAGE_SYM_TYPE_LONG

Four-byte signed integer.

public static final short
IMAGE_SYM_TYPE_MOE

Member of enumeration (a specific value).

public static final short
IMAGE_SYM_TYPE_NULL

No type information or unknown base type.

public static final short
IMAGE_SYM_TYPE_SHORT

Two-byte signed integer.

public static final short
public static final short
IMAGE_SYM_TYPE_UINT

Unsigned integer of natural size (normally, four bytes).

public static final short
public static final short
IMAGE_SYM_TYPE_VOID

No valid type; used with void pointers and functions.

public static final short
IMAGE_SYM_TYPE_WORD

Word; unsigned two-byte integer.

public static final short
IMAGE_SYM_UNDEFINED

Symbol record is not yet assigned a section.

Field Detail

IMAGE_SYM_ABSOLUTEback to summary
public static final short IMAGE_SYM_ABSOLUTE

The symbol has an absolute (non-relocatable) value and is not an address.

IMAGE_SYM_CLASS_ARGUMENTback to summary
public static final byte IMAGE_SYM_CLASS_ARGUMENT

Formal argument (parameter) of a function. The Value field specifies nth argument.

IMAGE_SYM_CLASS_AUTOMATICback to summary
public static final byte IMAGE_SYM_CLASS_AUTOMATIC

Automatic (stack) variable. The Value field specifies stack frame offset.

IMAGE_SYM_CLASS_BIT_FIELDback to summary
public static final byte IMAGE_SYM_CLASS_BIT_FIELD

Bit-field reference. Value specifies nth bit in the bit field.

IMAGE_SYM_CLASS_BLOCKback to summary
public static final byte IMAGE_SYM_CLASS_BLOCK

A .bb (beginning of block) or .eb (end of block) record. Value is the relocatable address of the code location.

IMAGE_SYM_CLASS_END_OF_FUNCTIONback to summary
public static final byte IMAGE_SYM_CLASS_END_OF_FUNCTION

(0xFF) Special symbol representing end of function, for debugging purposes.

IMAGE_SYM_CLASS_END_OF_STRUCTback to summary
public static final byte IMAGE_SYM_CLASS_END_OF_STRUCT

End of structure entry.

IMAGE_SYM_CLASS_ENUM_TAGback to summary
public static final byte IMAGE_SYM_CLASS_ENUM_TAG

Enumerated type tagname entry.

IMAGE_SYM_CLASS_EXTERNALback to summary
public static final byte IMAGE_SYM_CLASS_EXTERNAL

Used by Microsoft tools for external symbols. The Value field indicates the size if the section number is IMAGE_SYM_UNDEFINED (0). If the section number is not 0, then the Value field specifies the offset within the section.

IMAGE_SYM_CLASS_EXTERNAL_DEFback to summary
public static final byte IMAGE_SYM_CLASS_EXTERNAL_DEF

Symbol is defined externally.

IMAGE_SYM_CLASS_FILEback to summary
public static final byte IMAGE_SYM_CLASS_FILE

Used by Microsoft tools, as well as traditional COFF format, for the source-file symbol record. The symbol is followed by auxiliary records that name the file.

IMAGE_SYM_CLASS_FUNCTIONback to summary
public static final byte IMAGE_SYM_CLASS_FUNCTION

Used by Microsoft tools for symbol records that define the extent of a function: begin function (named .bf), end function (.ef), and lines in function (.lf). For .lf records, Value gives the number of source lines in the function. For .ef records, Value gives the size of function code.

IMAGE_SYM_CLASS_LABELback to summary
public static final byte IMAGE_SYM_CLASS_LABEL

Code label defined within the module. The Value field specifies the offset of the symbol within the section.

IMAGE_SYM_CLASS_MEMBER_OF_ENUMback to summary
public static final byte IMAGE_SYM_CLASS_MEMBER_OF_ENUM

Member of enumeration. Value specifies nth member.

IMAGE_SYM_CLASS_MEMBER_OF_STRUCTback to summary
public static final byte IMAGE_SYM_CLASS_MEMBER_OF_STRUCT

Structure member. The Value field specifies nth member.

IMAGE_SYM_CLASS_MEMBER_OF_UNIONback to summary
public static final byte IMAGE_SYM_CLASS_MEMBER_OF_UNION

Union member. The Value field specifies nth member.

IMAGE_SYM_CLASS_NULLback to summary
public static final byte IMAGE_SYM_CLASS_NULL

No storage class assigned.

IMAGE_SYM_CLASS_REGISTERback to summary
public static final byte IMAGE_SYM_CLASS_REGISTER

Register variable. The Value field specifies register number.

IMAGE_SYM_CLASS_REGISTER_PARAMback to summary
public static final byte IMAGE_SYM_CLASS_REGISTER_PARAM

Register parameter.

IMAGE_SYM_CLASS_SECTIONback to summary
public static final byte IMAGE_SYM_CLASS_SECTION

Definition of a section (Microsoft tools use STATIC storage class instead).

IMAGE_SYM_CLASS_STATICback to summary
public static final byte IMAGE_SYM_CLASS_STATIC

The Value field specifies the offset of the symbol within the section. If the Value is 0, then the symbol represents a section name.

IMAGE_SYM_CLASS_STRUCT_TAGback to summary
public static final byte IMAGE_SYM_CLASS_STRUCT_TAG

Structure tag-name entry.

IMAGE_SYM_CLASS_TYPE_DEFINITIONback to summary
public static final byte IMAGE_SYM_CLASS_TYPE_DEFINITION

Typedef entry.

IMAGE_SYM_CLASS_UNDEFINED_LABELback to summary
public static final byte IMAGE_SYM_CLASS_UNDEFINED_LABEL

Reference to a code label not defined.

IMAGE_SYM_CLASS_UNDEFINED_STATICback to summary
public static final byte IMAGE_SYM_CLASS_UNDEFINED_STATIC

Static data declaration.

IMAGE_SYM_CLASS_UNION_TAGback to summary
public static final byte IMAGE_SYM_CLASS_UNION_TAG

Union tag-name entry.

IMAGE_SYM_CLASS_WEAK_EXTERNALback to summary
public static final byte IMAGE_SYM_CLASS_WEAK_EXTERNAL

Weak external.

IMAGE_SYM_DEBUGback to summary
public static final short IMAGE_SYM_DEBUG

The symbol provides general type or debugging information but does not correspond to a section. Microsoft tools use this setting along with .file records (storage class FILE).

IMAGE_SYM_DTYPE_ARRAYback to summary
public static final short IMAGE_SYM_DTYPE_ARRAY

Array of base type.

IMAGE_SYM_DTYPE_FUNCTIONback to summary
public static final short IMAGE_SYM_DTYPE_FUNCTION

Function returning base type.

IMAGE_SYM_DTYPE_NULLback to summary
public static final short IMAGE_SYM_DTYPE_NULL

No derived type; the symbol is a simple scalar variable.

IMAGE_SYM_DTYPE_POINTERback to summary
public static final short IMAGE_SYM_DTYPE_POINTER

Pointer to base type.

IMAGE_SYM_TYPE_BYTEback to summary
public static final short IMAGE_SYM_TYPE_BYTE

Byte; unsigned one-byte integer.

IMAGE_SYM_TYPE_CHARback to summary
public static final short IMAGE_SYM_TYPE_CHAR

Character (signed byte).

IMAGE_SYM_TYPE_DOUBLEback to summary
public static final short IMAGE_SYM_TYPE_DOUBLE

Eight-byte floating-point number.

IMAGE_SYM_TYPE_DWORDback to summary
public static final short IMAGE_SYM_TYPE_DWORD

Unsigned four-byte integer.

IMAGE_SYM_TYPE_ENUMback to summary
public static final short IMAGE_SYM_TYPE_ENUM

Enumerated type.

IMAGE_SYM_TYPE_FLOATback to summary
public static final short IMAGE_SYM_TYPE_FLOAT

Four-byte floating-point number.

IMAGE_SYM_TYPE_INTback to summary
public static final short IMAGE_SYM_TYPE_INT

Natural integer type (normally four bytes in Windows NT).

IMAGE_SYM_TYPE_LONGback to summary
public static final short IMAGE_SYM_TYPE_LONG

Four-byte signed integer.

IMAGE_SYM_TYPE_MOEback to summary
public static final short IMAGE_SYM_TYPE_MOE

Member of enumeration (a specific value).

IMAGE_SYM_TYPE_NULLback to summary
public static final short IMAGE_SYM_TYPE_NULL

No type information or unknown base type. Microsoft tools use this setting.

IMAGE_SYM_TYPE_SHORTback to summary
public static final short IMAGE_SYM_TYPE_SHORT

Two-byte signed integer.

IMAGE_SYM_TYPE_STRUCTback to summary
public static final short IMAGE_SYM_TYPE_STRUCT

Structure.

IMAGE_SYM_TYPE_UINTback to summary
public static final short IMAGE_SYM_TYPE_UINT

Unsigned integer of natural size (normally, four bytes).

IMAGE_SYM_TYPE_UNIONback to summary
public static final short IMAGE_SYM_TYPE_UNION

Union.

IMAGE_SYM_TYPE_VOIDback to summary
public static final short IMAGE_SYM_TYPE_VOID

No valid type; used with void pointers and functions.

IMAGE_SYM_TYPE_WORDback to summary
public static final short IMAGE_SYM_TYPE_WORD

Word; unsigned two-byte integer.

IMAGE_SYM_UNDEFINEDback to summary
public static final short IMAGE_SYM_UNDEFINED

Symbol record is not yet assigned a section. If the value is 0 this indicates a references to an external symbol defined elsewhere. If the value is non-zero this is a common symbol with a size specified by the value.