Lines Matching defs:elfFile
112 static int readElfHeader(ifstream& elfFile, Elf64_Ehdr* eh) { in readElfHeader()
122 static int readSectionHeadersAll(ifstream& elfFile, vector<Elf64_Shdr>& shTable) { in readSectionHeadersAll()
141 static int readSectionByIdx(ifstream& elfFile, int id, vector<char>& sec) { in readSectionByIdx()
156 static int readSectionHeaderStrtab(ifstream& elfFile, vector<char>& strtab) { in readSectionHeaderStrtab()
168 static int getSymName(ifstream& elfFile, int nameOff, string& name) { in getSymName()
182 static int readSectionByName(const char* name, ifstream& elfFile, vector<char>& data) { in readSectionByName()
213 unsigned int readSectionUint(const char* name, ifstream& elfFile, unsigned int defVal) { in readSectionUint()
236 static int readSectionByType(ifstream& elfFile, int type, vector<char>& data) { in readSectionByType()
264 static int readSymTab(ifstream& elfFile, int sort, vector<Elf64_Sym>& data) { in readSymTab()
312 static int readProgDefs(ifstream& elfFile, vector<struct bpf_prog_def>& pd, in readProgDefs()
345 static int getSectionSymNames(ifstream& elfFile, const string& sectionName, vector<string>& names) { in getSectionSymNames()
388 static int readCodeSections(ifstream& elfFile, vector<codeSection>& cs, size_t sizeOfBpfProgDef) { in readCodeSections()
456 static int getSymNameByIdx(ifstream& elfFile, int index, string& name) { in getSymNameByIdx()
468 static int createMaps(const char* elfPath, ifstream& elfFile, vector<unique_fd>& mapFds, in createMaps()
639 static void applyMapRelo(ifstream& elfFile, vector<unique_fd> &mapFds, vector<codeSection>& cs) { in applyMapRelo()
772 ifstream elfFile(elfPath, ios::in | ios::binary); in loadProg() local