• Home
  • Raw
  • Download

Lines Matching refs:Ref

101 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const {  in toSymb()
103 reinterpret_cast<const coff_symbol_type *>(Ref.p); in toSymb()
117 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
118 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); in toSec()
133 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext()
136 const coff_symbol16 *Symb = toSymb<coff_symbol16>(Ref); in moveSymbolNext()
138 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext()
140 const coff_symbol32 *Symb = toSymb<coff_symbol32>(Ref); in moveSymbolNext()
142 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext()
148 ErrorOr<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName()
149 COFFSymbolRef Symb = getCOFFSymbol(Ref); in getSymbolName()
157 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const { in getSymbolValueImpl()
158 return getCOFFSymbol(Ref).getValue(); in getSymbolValueImpl()
161 ErrorOr<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const { in getSymbolAddress()
162 uint64_t Result = getSymbolValue(Ref); in getSymbolAddress()
163 COFFSymbolRef Symb = getCOFFSymbol(Ref); in getSymbolAddress()
182 SymbolRef::Type COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType()
183 COFFSymbolRef Symb = getCOFFSymbol(Ref); in getSymbolType()
205 uint32_t COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const { in getSymbolFlags()
206 COFFSymbolRef Symb = getCOFFSymbol(Ref); in getSymbolFlags()
233 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const { in getCommonSymbolSizeImpl()
234 COFFSymbolRef Symb = getCOFFSymbol(Ref); in getCommonSymbolSizeImpl()
239 COFFObjectFile::getSymbolSection(DataRefImpl Ref) const { in getSymbolSection()
240 COFFSymbolRef Symb = getCOFFSymbol(Ref); in getSymbolSection()
256 void COFFObjectFile::moveSectionNext(DataRefImpl &Ref) const { in moveSectionNext()
257 const coff_section *Sec = toSec(Ref); in moveSectionNext()
259 Ref.p = reinterpret_cast<uintptr_t>(Sec); in moveSectionNext()
262 std::error_code COFFObjectFile::getSectionName(DataRefImpl Ref, in getSectionName() argument
264 const coff_section *Sec = toSec(Ref); in getSectionName()
268 uint64_t COFFObjectFile::getSectionAddress(DataRefImpl Ref) const { in getSectionAddress()
269 const coff_section *Sec = toSec(Ref); in getSectionAddress()
278 uint64_t COFFObjectFile::getSectionSize(DataRefImpl Ref) const { in getSectionSize()
279 return getSectionSize(toSec(Ref)); in getSectionSize()
282 std::error_code COFFObjectFile::getSectionContents(DataRefImpl Ref, in getSectionContents() argument
284 const coff_section *Sec = toSec(Ref); in getSectionContents()
291 uint64_t COFFObjectFile::getSectionAlignment(DataRefImpl Ref) const { in getSectionAlignment()
292 const coff_section *Sec = toSec(Ref); in getSectionAlignment()
296 bool COFFObjectFile::isSectionText(DataRefImpl Ref) const { in isSectionText()
297 const coff_section *Sec = toSec(Ref); in isSectionText()
301 bool COFFObjectFile::isSectionData(DataRefImpl Ref) const { in isSectionData()
302 const coff_section *Sec = toSec(Ref); in isSectionData()
306 bool COFFObjectFile::isSectionBSS(DataRefImpl Ref) const { in isSectionBSS()
307 const coff_section *Sec = toSec(Ref); in isSectionBSS()
321 bool COFFObjectFile::isSectionVirtual(DataRefImpl Ref) const { in isSectionVirtual()
322 const coff_section *Sec = toSec(Ref); in isSectionVirtual()
362 relocation_iterator COFFObjectFile::section_rel_begin(DataRefImpl Ref) const { in section_rel_begin()
363 const coff_section *Sec = toSec(Ref); in section_rel_begin()
372 relocation_iterator COFFObjectFile::section_rel_end(DataRefImpl Ref) const { in section_rel_end()
373 const coff_section *Sec = toSec(Ref); in section_rel_end()
722 ExportDirectoryEntryRef Ref(ExportDirectory, in export_directory_end() local
724 return export_directory_iterator(Ref); in export_directory_end()
981 DataRefImpl Ref; in getRelocationSymbol() local
985 Ref.p = reinterpret_cast<uintptr_t>(SymbolTable16 + R->SymbolTableIndex); in getRelocationSymbol()
987 Ref.p = reinterpret_cast<uintptr_t>(SymbolTable32 + R->SymbolTableIndex); in getRelocationSymbol()
990 return symbol_iterator(SymbolRef(Ref, this)); in getRelocationSymbol()
1003 COFFSymbolRef COFFObjectFile::getCOFFSymbol(const DataRefImpl &Ref) const { in getCOFFSymbol()
1005 return toSymb<coff_symbol16>(Ref); in getCOFFSymbol()
1007 return toSymb<coff_symbol32>(Ref); in getCOFFSymbol()