Lines Matching defs:elfFile
97 static int readElfHeader(ifstream& elfFile, Elf64_Ehdr* eh) { in readElfHeader()
107 static int readSectionHeadersAll(ifstream& elfFile, vector<Elf64_Shdr>& shTable) { in readSectionHeadersAll()
126 static int readSectionByIdx(ifstream& elfFile, int id, vector<char>& sec) { in readSectionByIdx()
144 static int readSectionHeaderStrtab(ifstream& elfFile, vector<char>& strtab) { in readSectionHeaderStrtab()
158 static int getSymName(ifstream& elfFile, int nameOff, string& name) { in getSymName()
172 static int readSectionByName(const char* name, ifstream& elfFile, vector<char>& data) { in readSectionByName()
203 static int readSectionByType(ifstream& elfFile, int type, vector<char>& data) { in readSectionByType()
231 static int readSymTab(ifstream& elfFile, int sort, vector<Elf64_Sym>& data) { in readSymTab()
279 static int readProgDefs(ifstream& elfFile, vector<struct bpf_prog_def>& pd) { in readProgDefs()
290 static int getSectionSymNames(ifstream& elfFile, const string& sectionName, vector<string>& names) { in getSectionSymNames()
333 static int readCodeSections(ifstream& elfFile, vector<codeSection>& cs) { in readCodeSections()
398 static int getSymNameByIdx(ifstream& elfFile, int index, string& name) { in getSymNameByIdx()
410 static int createMaps(const char* elfPath, ifstream& elfFile, vector<unique_fd>& mapFds) { in createMaps()
506 static void applyMapRelo(ifstream& elfFile, vector<unique_fd> &mapFds, vector<codeSection>& cs) { in applyMapRelo()
626 ifstream elfFile(elfPath, ios::in | ios::binary); in loadProg() local