Lines Matching refs:rFile
81 ElfError(const std::string& rFile, const std::string& rMessage);
89 ElfError::ElfError(const std::string& rFile, const std::string& rMessage) in ElfError() argument
91 if ( rFile != "" ) { in ElfError()
92 m_sMessage = rFile; in ElfError()
129 void adjustVisibility( const std::string& rFile, int fd, bool bVerbose) in adjustVisibility() argument
132 std::cout << "File: " << rFile << ": adjusting 'fix and continue' symbol visibility\n"; in adjustVisibility()
138 throw ElfError(rFile, "elf_begin() failed"); in adjustVisibility()
142 throw ElfError(rFile, "elf_kind() failed, file is not an ELF object file"); in adjustVisibility()
150 throw ElfError(rFile, "gelf_getshdr() failed"); in adjustVisibility()
158 throw ElfError(rFile, "elf_getdata() failed"); in adjustVisibility()
164 throw ElfError(rFile, "too many symbols"); in adjustVisibility()
171 throw ElfError(rFile, "gelf_getsym() failed"); in adjustVisibility()
207 throw ElfError(rFile, "gelf_update_sym() failed"); in adjustVisibility()
214 throw ElfError(rFile, "elf_update() failed"); in adjustVisibility()
225 void processObject(const std::string& rFile, bool bPreserve, bool bVerbose) in processObject() argument
230 if ((fd = open(rFile.c_str(), O_RDWR)) == -1) { in processObject()
232 sMessage += rFile; in processObject()
241 sMessage += rFile; in processObject()
248 adjustVisibility(rFile, fd, bVerbose); in processObject()
254 if ( utime(rFile.c_str(), &aUtimBuf) == -1 ) { in processObject()
256 sMessage += rFile; in processObject()