// Explicitly instantiated in elf_file.cc using ElfFileImpl32 = ElfFileImpl<ElfTypes32>; using ElfFileImpl64 = ElfFileImpl<ElfTypes64>;
// Used for compile time and runtime for ElfFile access. Because of // the need for use at runtime, cannot directly use LLVM classes such as // ELFObjectFile. class ElfFile { public: // Loads the program headers. // Does not take the ownership of the file. It must stay alive during the `Load` call. static ElfFile* Open(File* file,
off_t start,
size_t file_length, const std::string& file_location, bool low_4gb, /*out*/ std::string* error_msg);
// Returns the location of the ELF file, for debugging purposes only. // Note that the location is not necessarily a path to a file on disk. It can also be a zip entry // inside a zip file. const std::string& GetFileLocation() const { return file_location_; }
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.