Symbol Locations
Most symbols have a defined location within the image file. A symbol's location is specified with a value from the LocationType enumeration. The symbol may support additional properties depending on its location.
The following table shows the most commonly used location types and their additional properties.
Location type |
Additional properties |
---|---|
LocIsNull |
none |
LocIsStatic |
IDiaSymbol::get_addressSection IDiaSymbol::get_relativeVirtualAddress (if relative virtual addresses are enabled) IDiaSymbol::get_virtualAddress (if the image base has been set to nonzero) |
LocIsTLS |
|
LocIsRegRel |
|
LocIsThisRel |
|
LocIsEnregistered |
|
LocIsBitField |
|
LocIsSlot |
|
LocIsIlRel |
|
LocInMetaData |
|
LocIsConstant |
See Also
Reference
IDiaSymbol::get_addressSection
IDiaSymbol::get_relativeVirtualAddress
IDiaSymbol::get_virtualAddress