Lines Matching refs:file
410 std::string Objdump(std::string file) { in Objdump() argument
421 args.push_back(file); in Objdump()
423 args.push_back(file+".dump"); in Objdump()
435 std::ifstream dump(file+".dump"); in Objdump()
493 bool DisassembleBinary(std::string file, std::string* error_msg) { in DisassembleBinary() argument
497 args.push_back(file); in DisassembleBinary()
500 args.push_back(file+".dis"); in DisassembleBinary()
601 static bool FileExists(std::string file) { in FileExists() argument
602 if (file.length() == 0) { in FileExists()
607 size_t last_slash = file.find_last_of('/'); in FileExists()
612 size_t space_index = file.find(' ', last_slash); in FileExists()
615 std::ifstream infile(file.c_str()); in FileExists()
618 std::string copy = file.substr(0, space_index - 1); in FileExists()