support::ulittle32_t Value;
};
-struct coff_aux_section_definition;
-
class COFFSymbolRef {
public:
COFFSymbolRef() = default;
return (getType() & 0xF0) >> COFF::SCT_COMPLEX_TYPE_SHIFT;
}
- template <typename T> const T *getAux() const {
- return CS16 ? reinterpret_cast<const T *>(CS16 + 1)
- : reinterpret_cast<const T *>(CS32 + 1);
- }
-
- const coff_aux_section_definition *getSectionDefinition() const {
- if (!getNumberOfAuxSymbols() ||
- getStorageClass() != COFF::IMAGE_SYM_CLASS_STATIC)
- return nullptr;
- return getAux<coff_aux_section_definition>();
- }
-
bool isAbsolute() const {
return getSectionNumber() == -1;
}