Lines Matching refs:line

339     std::string line = GetNextLine(fp, &status);  in GetPrgOffset()  local
344 auto strVec = StringSplit(line, " "); in GetPrgOffset()
348 DFXLOG_ERROR(" line = %s", line.c_str()); in GetPrgOffset()
360 std::string line = GetNextLine(fp, &status); in GetSecOffset() local
365 auto strVec = StringSplit(line, " "); in GetSecOffset()
369 DFXLOG_ERROR(" line = %s", line.c_str()); in GetSecOffset()
381 std::string line = GetNextLine(fp, &status); in GetFlag() local
386 auto strVec = StringSplit(line, " "); in GetFlag()
390 DFXLOG_ERROR(" line = %s", line.c_str()); in GetFlag()
402 std::string line = GetNextLine(fp, &status); in GetEhdrSize() local
407 auto strVec = StringSplit(line, " "); in GetEhdrSize()
411 DFXLOG_ERROR(" line = %s", line.c_str()); in GetEhdrSize()
423 std::string line = GetNextLine(fp, &status); in GetPhdrSize() local
428 auto strVec = StringSplit(line, " "); in GetPhdrSize()
432 DFXLOG_ERROR(" line = %s", line.c_str()); in GetPhdrSize()
444 std::string line = GetNextLine(fp, &status); in GetNumPhdrs() local
449 auto strVec = StringSplit(line, " "); in GetNumPhdrs()
453 DFXLOG_ERROR(" line = %s", line.c_str()); in GetNumPhdrs()
465 std::string line = GetNextLine(fp, &status); in GetShdrSize() local
470 auto strVec = StringSplit(line, " "); in GetShdrSize()
474 DFXLOG_ERROR(" line = %s", line.c_str()); in GetShdrSize()
486 std::string line = GetNextLine(fp, &status); in GetNumShdrs() local
491 auto strVec = StringSplit(line, " "); in GetNumShdrs()
495 DFXLOG_ERROR(" line = %s", line.c_str()); in GetNumShdrs()
507 std::string line = GetNextLine(fp, &status); in GetShdrStrTabIdx() local
512 auto strVec = StringSplit(line, " "); in GetShdrStrTabIdx()
516 DFXLOG_ERROR(" line = %s", line.c_str()); in GetShdrStrTabIdx()
529 std::string line {}; in ParseProgramHeaders() local
530 line = GetNextPhdrLine(); in ParseProgramHeaders()
531 if (line.empty()) { in ParseProgramHeaders()
546 line += lineAppend; in ParseProgramHeaders()
549 auto strVec = StringSplit(line, " "); in ParseProgramHeaders()
583 std::string line {}; in ParseSectionHeaders() local
589 line = GetNextShdrLine(); in ParseSectionHeaders()
590 if (line.empty()) { in ParseSectionHeaders()
600 line += lineAppend; in ParseSectionHeaders()
603 auto secIndex = GetSecIndex(line); in ParseSectionHeaders()
605 auto pos = line.find("]"); in ParseSectionHeaders()
607 DFXLOG_INFO("incorrect section line: %s", line.c_str()); in ParseSectionHeaders()
611 std::string tmpLine = line.substr(pos, line.length() - pos); in ParseSectionHeaders()
656 std::string line {}; in GetNextPhdrLine() local
659 line = GetNextLine(phdrFP_, &status); in GetNextPhdrLine()
662 line = ""; in GetNextPhdrLine()
665 if (line.find(effectFlag) != std::string::npos) { in GetNextPhdrLine()
666 DFXLOG_ERROR("effective program header line: %s", line.c_str()); in GetNextPhdrLine()
670 return line; in GetNextPhdrLine()
676 std::string line {}; in GetNextShdrLine() local
679 line = GetNextLine(shdrFP_, &status); in GetNextShdrLine()
682 line = ""; in GetNextShdrLine()
685 auto pos = line.find(effectFlag); in GetNextShdrLine()
686 if ((pos != std::string::npos) and isdigit(line.at(pos - 1))) { in GetNextShdrLine()
687 DFXLOG_ERROR("effective section header line: %s", line.c_str()); in GetNextShdrLine()
691 return line; in GetNextShdrLine()
693 int64_t ElfImitate::GetSecIndex(const std::string &line) in GetSecIndex() argument
696 auto pos = line.find("["); in GetSecIndex()
698 DFXLOG_INFO("no section index found: %s", line.c_str()); in GetSecIndex()
702 std::string str = line.substr(pos, len); in GetSecIndex()
738 std::string line {}; in ParseElfSymbols() local
739 line = GetNextSymLine(); in ParseElfSymbols()
740 if (line.empty()) { in ParseElfSymbols()
744 auto strVec = StringSplit(line, " "); in ParseElfSymbols()
766 std::string line {}; in GetNextSymLine() local
769 line = GetNextLine(symTabFP_, &status); in GetNextSymLine()
772 line = ""; in GetNextSymLine()
775 auto pos = line.find(effectFlag); in GetNextSymLine()
776 if ((pos != std::string::npos) and isdigit(line.at(pos - 1))) { in GetNextSymLine()
777 DFXLOG_INFO("effective symbol line: %s", line.c_str()); in GetNextSymLine()
781 return line; in GetNextSymLine()