|
LLVM
4.0.0
|
#include "llvm/Object/COFF.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/StringSwitch.h"#include "llvm/ADT/Triple.h"#include "llvm/ADT/iterator_range.h"#include "llvm/Support/COFF.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include <cctype>#include <limits>Go to the source code of this file.
Macros | |
| #define | LLVM_COFF_SWITCH_RELOC_TYPE_NAME(reloc_type) |
Functions | |
| static bool | checkSize (MemoryBufferRef M, std::error_code &EC, uint64_t Size) |
| static std::error_code | checkOffset (MemoryBufferRef M, uintptr_t Addr, const uint64_t Size) |
| template<typename T > | |
| static std::error_code | getObject (const T *&Obj, MemoryBufferRef M, const void *Ptr, const uint64_t Size=sizeof(T)) |
| static bool | decodeBase64StringEntry (StringRef Str, uint32_t &Result) |
| static uint32_t | getNumberOfRelocations (const coff_section *Sec, MemoryBufferRef M, const uint8_t *base) |
| static const coff_relocation * | getFirstReloc (const coff_section *Sec, MemoryBufferRef M, const uint8_t *Base) |
| static imported_symbol_iterator | makeImportedSymbolIterator (const COFFObjectFile *Object, uintptr_t Ptr, int Index) |
| static imported_symbol_iterator | importedSymbolBegin (uint32_t RVA, const COFFObjectFile *Object) |
| static imported_symbol_iterator | importedSymbolEnd (uint32_t RVA, const COFFObjectFile *Object) |
| #define LLVM_COFF_SWITCH_RELOC_TYPE_NAME | ( | reloc_type | ) |
Definition at line 1129 of file COFFObjectFile.cpp.
Referenced by llvm::object::COFFObjectFile::getRelocationTypeName().
|
static |
Definition at line 42 of file COFFObjectFile.cpp.
References llvm::MemoryBufferRef::getBufferEnd(), llvm::MemoryBufferRef::getBufferStart(), and llvm::object::unexpected_eof.
Referenced by getFirstReloc(), getObject(), and llvm::object::COFFObjectFile::toSymb().
|
static |
Definition at line 34 of file COFFObjectFile.cpp.
References llvm::MemoryBufferRef::getBufferSize(), and llvm::object::unexpected_eof.
Referenced by llvm::object::COFFObjectFile::COFFObjectFile().
Definition at line 67 of file COFFObjectFile.cpp.
References assert(), llvm::StringRef::empty(), llvm::StringRef::size(), and llvm::StringRef::substr().
|
static |
Definition at line 356 of file COFFObjectFile.cpp.
References llvm::sys::path::begin(), checkOffset(), getNumberOfRelocations(), llvm::object::coff_section::hasExtendedRelocations(), and llvm::object::coff_section::PointerToRelocations.
Referenced by llvm::object::COFFObjectFile::getRelocations(), llvm::object::COFFObjectFile::section_rel_begin(), and llvm::object::COFFObjectFile::section_rel_end().
|
static |
Definition at line 338 of file COFFObjectFile.cpp.
References getObject(), llvm::object::coff_section::hasExtendedRelocations(), llvm::object::coff_section::NumberOfRelocations, llvm::object::coff_section::PointerToRelocations, and llvm::object::coff_relocation::VirtualAddress.
Referenced by getFirstReloc(), llvm::object::COFFObjectFile::getRelocations(), and llvm::object::COFFObjectFile::section_rel_end().
|
static |
Definition at line 55 of file COFFObjectFile.cpp.
References checkOffset().
Referenced by llvm::object::COFFObjectFile::COFFObjectFile(), llvm::object::ImportDirectoryEntryRef::getImportTableEntry(), and getNumberOfRelocations().
|
static |
Definition at line 1242 of file COFFObjectFile.cpp.
References makeImportedSymbolIterator().
Referenced by llvm::object::ImportDirectoryEntryRef::imported_symbol_begin(), llvm::object::DelayImportDirectoryEntryRef::imported_symbol_begin(), and llvm::object::ImportDirectoryEntryRef::lookup_table_begin().
|
static |
Definition at line 1249 of file COFFObjectFile.cpp.
References makeImportedSymbolIterator().
Referenced by llvm::object::ImportDirectoryEntryRef::imported_symbol_end(), llvm::object::DelayImportDirectoryEntryRef::imported_symbol_end(), and llvm::object::ImportDirectoryEntryRef::lookup_table_end().
|
static |
Definition at line 1231 of file COFFObjectFile.cpp.
Referenced by importedSymbolBegin(), and importedSymbolEnd().
1.8.6