_ZN7DNSNameC2ENSt3__117basic_string_viewIcNS0_11char_traitsIcEEEE:
   77|     30|{
   78|     30|  if (content.empty() || (content.size() == 1 && content.at(0) == '.')) {
  ------------------
  |  Branch (78:7): [True: 0, False: 30]
  |  Branch (78:27): [True: 6, False: 24]
  |  Branch (78:50): [True: 4, False: 2]
  ------------------
   79|      4|    d_storage.assign(1U, '\0');
   80|      4|    return;
   81|      4|  }
   82|       |
   83|     26|  if (std::memchr(content.data(), '\\', content.size()) != nullptr) {
  ------------------
  |  Branch (83:7): [True: 0, False: 26]
  ------------------
   84|      0|    d_storage = segmentDNSNameRaw(content.data(), content.size());
   85|      0|    if (d_storage.size() > s_maxDNSNameLength) {
  ------------------
  |  Branch (85:9): [True: 0, False: 0]
  ------------------
   86|      0|      throwSafeRangeError("name too long: ", content);
   87|      0|    }
   88|      0|    return;
   89|      0|  }
   90|       |
   91|     26|  unsigned char lenpos = 0;
   92|     26|  unsigned char labellen = 0;
   93|       |
   94|     26|  d_storage.reserve(content.size() + 1U);
   95|     58|  for (size_t position = 0; position < content.size(); ) {
  ------------------
  |  Branch (95:29): [True: 32, False: 26]
  ------------------
   96|     32|    lenpos = d_storage.size();
   97|     32|    if (content.at(position) == '.') {
  ------------------
  |  Branch (97:9): [True: 0, False: 32]
  ------------------
   98|      0|      throwSafeRangeError("Found . in wrong position in DNSName: ", content);
   99|      0|    }
  100|     32|    d_storage.append(1U, '\0');
  101|     32|    labellen = 0;
  102|     32|    size_t begPosition = position;
  103|    254|    for(; position < content.size() && content.at(position) != '.'; ++position) {
  ------------------
  |  Branch (103:11): [True: 228, False: 26]
  |  Branch (103:40): [True: 222, False: 6]
  ------------------
  104|    222|      labellen++;
  105|    222|    }
  106|       |    // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
  107|     32|    d_storage.append(content.begin() + begPosition, content.begin() + position);
  108|     32|    if (position < content.size()) {
  ------------------
  |  Branch (108:9): [True: 6, False: 26]
  ------------------
  109|      6|      ++position;
  110|      6|    }
  111|     32|    if (labellen > s_maxDNSLabelLength) {
  ------------------
  |  Branch (111:9): [True: 0, False: 32]
  ------------------
  112|      0|      throwSafeRangeError("label too long to append: ", content);
  113|      0|    }
  114|       |
  115|     32|    if (position > s_maxDNSNameLength - 1U) {
  ------------------
  |  Branch (115:9): [True: 0, False: 32]
  ------------------
  116|       |      // reserve two bytes, one for length and one for the root label
  117|      0|      throwSafeRangeError("name too long to append: ", content);
  118|      0|    }
  119|       |
  120|     32|    d_storage.at(lenpos) = static_cast<char>(labellen);
  121|     32|  }
  122|     26|  if (d_storage.size() > s_maxDNSNameLength - 1U) {
  ------------------
  |  Branch (122:7): [True: 0, False: 26]
  ------------------
  123|      0|    throwSafeRangeError("name too long: ", content);
  124|      0|  }
  125|     26|  d_storage.append(1U, '\0');
  126|     26|}
_ZN7DNSNameC2EPKcmmbPtS2_PjtPm:
  129|   292k|{
  130|   292k|  if (offset >= len)
  ------------------
  |  Branch (130:7): [True: 4.58k, False: 288k]
  ------------------
  131|  4.58k|    throw std::range_error("Trying to read past the end of the buffer ("+std::to_string(offset)+ " >= "+std::to_string(len)+")");
  132|       |
  133|   288k|  if(!uncompress) {
  ------------------
  |  Branch (133:6): [True: 0, False: 288k]
  ------------------
  134|      0|    if(const void * fnd=memchr(pos+offset, 0, len-offset)) {
  ------------------
  |  Branch (134:21): [True: 0, False: 0]
  ------------------
  135|      0|      d_storage.reserve(2+(const char*)fnd-(pos+offset));
  136|      0|    }
  137|      0|  }
  138|       |
  139|   288k|  packetParser(pos, len, offset, uncompress, qtype, qclass, consumed, 0, minOffset, 0, pointerBudget);
  140|   288k|}
_ZN7DNSName23parsePacketUncompressedERKN4pdns5views16UnsignedCharViewEmb:
  154|   311k|{
  155|   311k|  const size_t initialPos = pos;
  156|   311k|  auto existingSize = d_storage.size();
  157|   311k|  const size_t neededSizeForFinalLabel = /* final empty label length */ (existingSize == 0 ? 1U : 0U);
  ------------------
  |  Branch (157:74): [True: 301k, False: 9.93k]
  ------------------
  158|   311k|  size_t totalLength = 0;
  159|   311k|  unsigned char labellen = 0;
  160|       |
  161|   462k|  do {
  162|   462k|    labellen = view.at(pos);
  163|   462k|    ++pos;
  164|       |
  165|   462k|    if (labellen == 0) {
  ------------------
  |  Branch (165:9): [True: 287k, False: 175k]
  ------------------
  166|   287k|      --pos;
  167|   287k|      break;
  168|   287k|    }
  169|       |
  170|   175k|    if (labellen >= 0xc0) {
  ------------------
  |  Branch (170:9): [True: 23.6k, False: 151k]
  ------------------
  171|  23.6k|      if (!uncompress) {
  ------------------
  |  Branch (171:11): [True: 0, False: 23.6k]
  ------------------
  172|      0|        throw std::range_error("Found compressed label, instructed not to follow");
  173|      0|      }
  174|  23.6k|      --pos;
  175|  23.6k|      break;
  176|  23.6k|    }
  177|       |
  178|   151k|    if ((labellen & 0xc0) != 0) {
  ------------------
  |  Branch (178:9): [True: 175, False: 151k]
  ------------------
  179|    175|      throw std::range_error("Found an invalid label length in qname (only one of the first two bits is set)");
  180|    175|    }
  181|   151k|    checkLabelLength(labellen);
  182|       |
  183|       |    // reserve one byte for the label length, plus one byte for the final empty label if we were empty before
  184|   151k|    if ((existingSize + totalLength + labellen + 1U + neededSizeForFinalLabel) > s_maxDNSNameLength) {
  ------------------
  |  Branch (184:9): [True: 8, False: 151k]
  ------------------
  185|      8|      throw std::range_error("name too long to append");
  186|      8|    }
  187|   151k|    if (pos + labellen >= view.size()) {
  ------------------
  |  Branch (187:9): [True: 324, False: 151k]
  ------------------
  188|    324|      throw std::range_error("Found an invalid label length in qname");
  189|    324|    }
  190|   151k|    pos += labellen;
  191|   151k|    totalLength += 1U + labellen;
  192|   151k|  }
  193|   311k|  while (pos < view.size());
  ------------------
  |  Branch (193:10): [True: 151k, False: 0]
  ------------------
  194|       |
  195|   310k|  if (totalLength != 0) {
  ------------------
  |  Branch (195:7): [True: 88.2k, False: 222k]
  ------------------
  196|  88.2k|    if (existingSize > 0) {
  ------------------
  |  Branch (196:9): [True: 8.47k, False: 79.7k]
  ------------------
  197|       |      // remove the last label count, we are about to override it */
  198|  8.47k|      --existingSize;
  199|  8.47k|    }
  200|  88.2k|    if ((existingSize + totalLength + 1U) > s_maxDNSNameLength) {
  ------------------
  |  Branch (200:9): [True: 0, False: 88.2k]
  ------------------
  201|      0|      throw std::range_error("name too long to append");
  202|      0|    }
  203|  88.2k|    d_storage.reserve(existingSize + totalLength + 1);
  204|  88.2k|    d_storage.resize(existingSize + totalLength);
  205|  88.2k|    memcpy(&d_storage.at(existingSize), &view.at(initialPos), totalLength);
  206|  88.2k|    d_storage.append(1, static_cast<char>(0));
  207|  88.2k|  }
  208|   310k|  return pos;
  209|   310k|}
_ZN7DNSName12packetParserEPKcmmbPtS2_PjittPm:
  213|   311k|{
  214|   311k|  if (offset >= len) {
  ------------------
  |  Branch (214:7): [True: 0, False: 311k]
  ------------------
  215|      0|    throw std::range_error("Trying to read past the end of the buffer ("+std::to_string(offset)+ " >= "+std::to_string(len)+")");
  216|      0|  }
  217|       |
  218|   311k|  if (offset < static_cast<size_t>(minOffset)) {
  ------------------
  |  Branch (218:7): [True: 0, False: 311k]
  ------------------
  219|      0|    throw std::range_error("Trying to read before the beginning of the buffer ("+std::to_string(offset)+ " < "+std::to_string(minOffset)+")");
  220|      0|  }
  221|   311k|  unsigned char labellen{0};
  222|       |
  223|   311k|  pdns::views::UnsignedCharView view(qpos, len);
  224|   311k|  auto pos = parsePacketUncompressed(view, offset, uncompress);
  225|       |
  226|       |
  227|   311k|  labellen = view.at(pos);
  228|   311k|  if (pos == offset && labellen != 0) {
  ------------------
  |  Branch (228:7): [True: 222k, False: 88.7k]
  |  Branch (228:24): [True: 13.5k, False: 208k]
  ------------------
  229|       |    // It's a pointer
  230|  13.5k|    if (pointerBudget != nullptr) {
  ------------------
  |  Branch (230:9): [True: 13.5k, False: 0]
  ------------------
  231|  13.5k|      if (*pointerBudget == 0) {
  ------------------
  |  Branch (231:11): [True: 0, False: 13.5k]
  ------------------
  232|      0|        throw std::range_error("Too many compression pointers processed in packet");
  233|      0|      }
  234|  13.5k|      (*pointerBudget)--;
  235|  13.5k|    }
  236|       |    // Are we chasing a pointer chain already for this name?
  237|  13.5k|    if (pointerChainLength++ > s_maxPointersToPointers) {
  ------------------
  |  Branch (237:9): [True: 3, False: 13.5k]
  ------------------
  238|      3|      throw std::range_error("Too many pointer to pointers during decompression (" + std::to_string(pointerChainLength) + ")");
  239|      3|    }
  240|  13.5k|  }
  241|   297k|  else {
  242|   297k|    pointerChainLength = 0; // not an immediate pointer to pointer case any more
  243|   297k|  }
  244|   311k|  pos++;
  245|   311k|  if (labellen != 0 && pos < view.size()) {
  ------------------
  |  Branch (245:7): [True: 23.6k, False: 287k]
  |  Branch (245:24): [True: 23.3k, False: 357]
  ------------------
  246|  23.3k|    if (labellen < 0xc0) {
  ------------------
  |  Branch (246:9): [True: 0, False: 23.3k]
  ------------------
  247|      0|      throw std::range_error("Invalid label byte during decompression ("+std::to_string(labellen)+")");
  248|      0|    }
  249|       |
  250|  23.3k|    if (!uncompress) {
  ------------------
  |  Branch (250:9): [True: 0, False: 23.3k]
  ------------------
  251|      0|      throw std::range_error("Found compressed label, instructed not to follow");
  252|      0|    }
  253|       |
  254|  23.3k|    labellen &= (~0xc0);
  255|  23.3k|    size_t newpos = (labellen << 8) + view.at(pos);
  256|       |
  257|  23.3k|    if (newpos >= offset) {
  ------------------
  |  Branch (257:9): [True: 209, False: 23.1k]
  ------------------
  258|    209|      throw std::range_error("Found a forward reference during label decompression");
  259|    209|    }
  260|       |
  261|  23.1k|    if (newpos < minOffset) {
  ------------------
  |  Branch (261:9): [True: 13, False: 23.1k]
  ------------------
  262|     13|      throw std::range_error("Invalid label position during decompression ("+std::to_string(newpos)+ " < "+std::to_string(minOffset)+")");
  263|     13|    }
  264|       |
  265|  23.1k|    if (++depth > s_maxPointersPerName) {
  ------------------
  |  Branch (265:9): [True: 1, False: 23.1k]
  ------------------
  266|      1|      throw std::range_error("Abort label decompression after too many redirects (" + std::to_string(depth) + ")");
  267|      1|    }
  268|       |
  269|  23.1k|    packetParser(qpos, len, newpos, true, nullptr, nullptr, nullptr, depth, minOffset, pointerChainLength, pointerBudget);
  270|       |
  271|  23.1k|    pos++;
  272|  23.1k|  }
  273|       |
  274|   310k|  if (d_storage.empty()) {
  ------------------
  |  Branch (274:7): [True: 207k, False: 103k]
  ------------------
  275|   207k|    d_storage.append(1, static_cast<char>(0)); // we just parsed the root
  276|   207k|  }
  277|       |
  278|   310k|  if (consumed != nullptr) {
  ------------------
  |  Branch (278:7): [True: 287k, False: 23.6k]
  ------------------
  279|   287k|    *consumed = pos - offset;
  280|   287k|  }
  281|       |
  282|   310k|  if (qtype != nullptr) {
  ------------------
  |  Branch (282:7): [True: 0, False: 310k]
  ------------------
  283|      0|    if (pos + 2 > view.size()) {
  ------------------
  |  Branch (283:9): [True: 0, False: 0]
  ------------------
  284|      0|      throw std::range_error("Trying to read qtype past the end of the buffer ("+std::to_string(pos + 2)+ " > "+std::to_string(len)+")");
  285|      0|    }
  286|      0|    *qtype = view.at(pos)*256 + view.at(pos+1);
  287|      0|  }
  288|       |
  289|   310k|  pos += 2;
  290|   310k|  if (qclass != nullptr) {
  ------------------
  |  Branch (290:7): [True: 0, False: 310k]
  ------------------
  291|      0|    if (pos + 2 > view.size()) {
  ------------------
  |  Branch (291:9): [True: 0, False: 0]
  ------------------
  292|      0|      throw std::range_error("Trying to read qclass past the end of the buffer ("+std::to_string(pos + 2)+ " > "+std::to_string(len)+")");
  293|      0|    }
  294|      0|    *qclass = view.at(pos)*256 + view.at(pos+1);
  295|      0|  }
  296|   310k|}
_ZNK7DNSName8toStringERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEb:
  299|    325|{
  300|    325|  std::string ret;
  301|    325|  toString(ret, separator, trailing);
  302|    325|  return ret;
  303|    325|}
_ZNK7DNSName8toStringERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERKS6_b:
  306|    325|{
  307|    325|  if (empty()) {
  ------------------
  |  Branch (307:7): [True: 174, False: 151]
  ------------------
  308|    174|    throw std::out_of_range("Attempt to print an unset DNSName");
  309|    174|  }
  310|       |
  311|    151|  if (isRoot()) {
  ------------------
  |  Branch (311:7): [True: 7, False: 144]
  ------------------
  312|      7|    output += (trailing ? separator : "");
  ------------------
  |  Branch (312:16): [True: 7, False: 0]
  ------------------
  313|      7|    return;
  314|      7|  }
  315|       |
  316|    144|  if (output.capacity() < (output.size() + d_storage.size())) {
  ------------------
  |  Branch (316:7): [True: 36, False: 108]
  ------------------
  317|     36|    output.reserve(output.size() + d_storage.size());
  318|     36|  }
  319|       |
  320|    144|  {
  321|       |    // iterate over the raw labels
  322|    144|    const char* p = d_storage.c_str();
  323|    144|    const char* end = p + d_storage.size();
  324|       |
  325|    698|    while (p < end && *p) {
  ------------------
  |  Branch (325:12): [True: 698, False: 0]
  |  Branch (325:23): [True: 554, False: 144]
  ------------------
  326|    554|      appendEscapedLabel(output, p + 1, static_cast<size_t>(*p));
  327|    554|      output += separator;
  328|    554|      p += *p + 1;
  329|    554|    }
  330|    144|  }
  331|       |
  332|    144|  if (!trailing) {
  ------------------
  |  Branch (332:7): [True: 141, False: 3]
  ------------------
  333|    141|    output.resize(output.size() - separator.size());
  334|    141|  }
  335|    144|}
_ZNK7DNSName11toLogStringEv:
  338|    245|{
  339|    245|  if (empty()) {
  ------------------
  |  Branch (339:7): [True: 76, False: 169]
  ------------------
  340|     76|    return "(empty)";
  341|     76|  }
  342|       |
  343|    169|  return toStringRootDot();
  344|    245|}
_ZN7DNSName18appendEscapedLabelERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPKcm:
  723|    554|{
  724|    554|  size_t pos = 0;
  725|       |
  726|  3.47k|  while (pos < len) {
  ------------------
  |  Branch (726:10): [True: 2.91k, False: 554]
  ------------------
  727|  2.91k|    auto p = static_cast<uint8_t>(orig[pos]);
  728|  2.91k|    if (p=='.') {
  ------------------
  |  Branch (728:9): [True: 205, False: 2.71k]
  ------------------
  729|    205|      appendTo+="\\.";
  730|    205|    }
  731|  2.71k|    else if (p=='\\') {
  ------------------
  |  Branch (731:14): [True: 268, False: 2.44k]
  ------------------
  732|    268|      appendTo+="\\\\";
  733|    268|    }
  734|  2.44k|    else if (p > 0x20 && p < 0x7f) {
  ------------------
  |  Branch (734:14): [True: 1.06k, False: 1.37k]
  |  Branch (734:26): [True: 526, False: 538]
  ------------------
  735|    526|      appendTo.append(1, static_cast<char>(p));
  736|    526|    }
  737|  1.91k|    else {
  738|  1.91k|      char buf[] = "000";
  739|  1.91k|      auto got = snprintf(buf, sizeof(buf), "%03" PRIu8, p);
  740|  1.91k|      if (got < 0 || static_cast<size_t>(got) >= sizeof(buf)) {
  ------------------
  |  Branch (740:11): [True: 0, False: 1.91k]
  |  Branch (740:22): [True: 0, False: 1.91k]
  ------------------
  741|      0|        throw std::runtime_error("Error, snprintf returned " + std::to_string(got) + " while escaping label " + std::string(orig, len));
  742|      0|      }
  743|  1.91k|      appendTo.append(1, '\\');
  744|  1.91k|      appendTo += buf;
  745|  1.91k|    }
  746|  2.91k|    ++pos;
  747|  2.91k|  }
  748|    554|}
_ZN8ZoneName20findVariantSeparatorENSt3__117basic_string_viewIcNS0_11char_traitsIcEEEE:
  939|      2|{
  940|      2|  std::string_view::size_type pos{0};
  941|       |
  942|       |  // Try to be as fast as possible in the non-variant case and exit
  943|       |  // quickly if we don't find two dots in a row.
  944|      2|  while ((pos = name.find('.', pos)) != std::string_view::npos) {
  ------------------
  |  Branch (944:10): [True: 2, False: 0]
  ------------------
  945|      2|    ++pos;
  946|      2|    if (pos >= name.length()) { // trailing single dot
  ------------------
  |  Branch (946:9): [True: 2, False: 0]
  ------------------
  947|      2|      return std::string_view::npos;
  948|      2|    }
  949|      0|    if (name.at(pos) == '.') {
  ------------------
  |  Branch (949:9): [True: 0, False: 0]
  ------------------
  950|       |      // We have found two dots in a row, but the first dot might have been
  951|       |      // escaped. So we now need to count how many \ characters we can find a
  952|       |      // row before it; if their number is odd, the first dot is escaped and
  953|       |      // we need to keep searching.
  954|      0|      size_t slashes{0};
  955|      0|      while (pos >= 2 + slashes && name.at(pos - 2 - slashes) == '\\') {
  ------------------
  |  Branch (955:14): [True: 0, False: 0]
  |  Branch (955:36): [True: 0, False: 0]
  ------------------
  956|      0|        ++slashes;
  957|      0|      }
  958|      0|      if ((slashes % 2) == 0) {
  ------------------
  |  Branch (958:11): [True: 0, False: 0]
  ------------------
  959|      0|        break;
  960|      0|      }
  961|      0|    }
  962|      0|  }
  963|      0|  return pos;
  964|      2|}
_ZN8ZoneNameC2ENSt3__117basic_string_viewIcNS0_11char_traitsIcEEEE:
  967|      2|{
  968|      2|  if (auto sep = findVariantSeparator(name); sep != std::string_view::npos) {
  ------------------
  |  Branch (968:46): [True: 0, False: 2]
  ------------------
  969|      0|    setVariant(name.substr(sep + 1)); // ignore leading dot in variant name
  970|      0|    name = name.substr(0, sep); // keep trailing dot in zone name
  971|      0|  }
  972|      2|  d_name = DNSName(name);
  973|      2|}
dnsname.cc:_ZL16checkLabelLengthh:
  143|   151k|{
  144|   151k|  if (length == 0) {
  ------------------
  |  Branch (144:7): [True: 0, False: 151k]
  ------------------
  145|      0|    throw std::range_error("no such thing as an empty label to append");
  146|      0|  }
  147|   151k|  if (length > DNSName::s_maxDNSLabelLength) {
  ------------------
  |  Branch (147:7): [True: 0, False: 151k]
  ------------------
  148|      0|    throw std::range_error("label too long to append");
  149|      0|  }
  150|   151k|}

_ZN7DNSNameaSEOS_:
  158|   286k|  {
  159|   286k|    if (this != &rhs) {
  ------------------
  |  Branch (159:9): [True: 286k, False: 0]
  ------------------
  160|   286k|      d_storage = std::move(rhs.d_storage);
  161|   286k|    }
  162|   286k|    return *this;
  163|   286k|  }
_ZNK7DNSName15toStringRootDotEv:
  180|    169|  std::string toStringRootDot() const { if(isRoot()) return "."; else return toString(".", false); }
  ------------------
  |  Branch (180:44): [True: 28, False: 141]
  ------------------
_ZNK7DNSName5emptyEv:
  210|    570|  bool empty() const { return d_storage.empty(); }
_ZNK7DNSName6isRootEv:
  211|    320|  bool isRoot() const { return d_storage.size()==1 && d_storage[0]==0; }
  ------------------
  |  Branch (211:32): [True: 35, False: 285]
  |  Branch (211:55): [True: 35, False: 0]
  ------------------
_ZN7DNSNameC2ERKS_:
  164|   132k|  DNSName(const DNSName& a) = default;
_ZN7DNSNameC2Ev:
  148|   241k|  DNSName() = default; //!< Constructs an *empty* DNSName, NOT the root!
_ZN7DNSNameC2EOS_:
  165|   190k|  DNSName(DNSName&& a) = default;

_ZN16DNSRecordContent4makeERK9DNSRecordR12PacketReadert:
  259|  95.0k|{
  260|       |  // For opcode UPDATE and where the DNSRecord is an answer record, we don't care about content, because this is
  261|       |  // not used within the prerequisite section of RFC2136, so - we can simply use unknownrecordcontent.
  262|       |  // For section 3.2.3, we do need content so we need to get it properly. But only for the correct QClasses.
  263|  95.0k|  if (oc == Opcode::Update && dr.d_place == DNSResourceRecord::ANSWER && dr.d_class != 1)
  ------------------
  |  Branch (263:7): [True: 18.9k, False: 76.0k]
  |  Branch (263:31): [True: 8.36k, False: 10.5k]
  |  Branch (263:74): [True: 2.39k, False: 5.97k]
  ------------------
  264|  2.39k|    return std::make_shared<UnknownRecordContent>(dr, pr);
  265|       |
  266|  92.6k|  uint16_t searchclass = (dr.d_type == QType::OPT) ? 1 : dr.d_class; // class is invalid for OPT
  ------------------
  |  Branch (266:26): [True: 1.87k, False: 90.7k]
  ------------------
  267|       |
  268|  92.6k|  auto i = getTypemap().find(pair(searchclass, dr.d_type));
  269|  92.6k|  if(i==getTypemap().end() || !i->second) {
  ------------------
  |  Branch (269:6): [True: 32.5k, False: 60.0k]
  |  Branch (269:6): [True: 32.5k, False: 60.0k]
  |  Branch (269:31): [True: 0, False: 60.0k]
  ------------------
  270|  32.5k|    return std::make_shared<UnknownRecordContent>(dr, pr);
  271|  32.5k|  }
  272|       |
  273|  60.0k|  return i->second(dr, pr);
  274|  92.6k|}
_ZN16DNSRecordContent10getTypemapEv:
  284|   185k|{
  285|   185k|  static DNSRecordContent::typemap_t typemap;
  286|   185k|  return typemap;
  287|   185k|}
_ZN16DNSRecordContent12getN2TypemapEv:
  290|    118|{
  291|    118|  static DNSRecordContent::n2typemap_t n2typemap;
  292|    118|  return n2typemap;
  293|    118|}
_ZN16DNSRecordContent12getT2NamemapEv:
  296|    118|{
  297|    118|  static DNSRecordContent::t2namemap_t t2namemap;
  298|    118|  return t2namemap;
  299|    118|}
_ZN16DNSRecordContent12getZmakermapEv:
  302|    115|{
  303|    115|  static DNSRecordContent::zmakermap_t zmakermap;
  304|    115|  return zmakermap;
  305|    115|}
_ZN12MOADNSParser4initEbRKNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEEm:
  336|  9.08k|{
  337|  9.08k|  if (packet.size() < sizeof(dnsheader))
  ------------------
  |  Branch (337:7): [True: 16, False: 9.06k]
  ------------------
  338|     16|    throw MOADNSException("Packet shorter than minimal header");
  339|       |
  340|  9.06k|  memcpy(&d_header, packet.data(), sizeof(dnsheader));
  341|       |
  342|  9.06k|  if(d_header.opcode != Opcode::Query && d_header.opcode != Opcode::Notify && d_header.opcode != Opcode::Update)
  ------------------
  |  Branch (342:6): [True: 2.48k, False: 6.58k]
  |  Branch (342:42): [True: 1.72k, False: 758]
  |  Branch (342:79): [True: 10, False: 1.71k]
  ------------------
  343|     10|    throw MOADNSException("Can't parse non-query packet with opcode="+ std::to_string(d_header.opcode));
  344|       |
  345|  9.05k|  d_header.qdcount=ntohs(d_header.qdcount);
  346|  9.05k|  d_header.ancount=ntohs(d_header.ancount);
  347|  9.05k|  d_header.nscount=ntohs(d_header.nscount);
  348|  9.05k|  d_header.arcount=ntohs(d_header.arcount);
  349|       |
  350|  9.05k|  if (query && (d_header.qdcount > 1))
  ------------------
  |  Branch (350:7): [True: 4.52k, False: 4.52k]
  |  Branch (350:16): [True: 285, False: 4.24k]
  ------------------
  351|    285|    throw MOADNSException("Query with QD > 1 ("+std::to_string(d_header.qdcount)+")");
  352|       |
  353|  8.77k|  unsigned int n=0;
  354|       |
  355|  8.77k|  PacketReader pr(packet);
  356|  8.77k|  if (pointerBudget != 0) {
  ------------------
  |  Branch (356:7): [True: 0, False: 8.77k]
  ------------------
  357|      0|    pr.setPointerBudget(pointerBudget);
  358|      0|  }
  359|  8.77k|  bool validPacket=false;
  360|  8.77k|  try {
  361|  8.77k|    d_qtype = d_qclass = 0; // sometimes replies come in with no question, don't present garbage then
  362|       |
  363|  70.4k|    for(n=0;n < d_header.qdcount; ++n) {
  ------------------
  |  Branch (363:13): [True: 61.6k, False: 8.77k]
  ------------------
  364|  61.6k|      d_qname=pr.getName();
  365|  61.6k|      d_qtype=pr.get16BitInt();
  366|  61.6k|      d_qclass=pr.get16BitInt();
  367|  61.6k|    }
  368|       |
  369|  8.77k|    struct dnsrecordheader ah;
  370|  8.77k|    vector<unsigned char> record;
  371|  8.77k|    bool seenTSIG = false;
  372|  8.77k|    validPacket=true;
  373|  8.77k|    unsigned int supposedRecordCount = d_header.ancount + d_header.nscount + d_header.arcount;
  374|       |    // No need to reserve more memory for more records than the request can
  375|       |    // contain. We could try to be smarter and actually count the records
  376|       |    // by doing getDnsrecordheader and skip the payload in a loop, but all
  377|       |    // we really want here is to avoid reserving too much memory in case of
  378|       |    // maliciously high record counts.
  379|  8.77k|    auto reserveRecordCount = std::min(1 + (packet.size() - sizeof(dnsheader)) / sizeof(dnsrecordheader), static_cast<size_t>(supposedRecordCount));
  380|  8.77k|    d_answers.reserve(reserveRecordCount);
  381|   207k|    for (n = 0; n < supposedRecordCount; ++n) {
  ------------------
  |  Branch (381:17): [True: 198k, False: 8.34k]
  ------------------
  382|   198k|      DNSRecord dr;
  383|       |
  384|   198k|      if(n < d_header.ancount)
  ------------------
  |  Branch (384:10): [True: 110k, False: 88.4k]
  ------------------
  385|   110k|        dr.d_place=DNSResourceRecord::ANSWER;
  386|  88.4k|      else if(n < d_header.ancount + d_header.nscount)
  ------------------
  |  Branch (386:15): [True: 39.5k, False: 48.9k]
  ------------------
  387|  39.5k|        dr.d_place=DNSResourceRecord::AUTHORITY;
  388|  48.9k|      else
  389|  48.9k|        dr.d_place=DNSResourceRecord::ADDITIONAL;
  390|       |
  391|   198k|      unsigned int recordStartPos=pr.getPosition();
  392|       |
  393|   198k|      DNSName name=pr.getName();
  394|       |
  395|   198k|      pr.getDnsrecordheader(ah);
  396|   198k|      dr.d_ttl=ah.d_ttl;
  397|   198k|      dr.d_type=ah.d_type;
  398|   198k|      dr.d_class=ah.d_class;
  399|       |
  400|   198k|      dr.d_name = std::move(name);
  401|   198k|      dr.d_clen = ah.d_clen;
  402|       |
  403|   198k|      auto recordContentStartPos = pr.getPosition();
  404|       |
  405|   198k|      if (query &&
  ------------------
  |  Branch (405:11): [True: 100k, False: 97.7k]
  ------------------
  406|   100k|          !(d_qtype == QType::IXFR && dr.d_place == DNSResourceRecord::AUTHORITY && dr.d_type == QType::SOA) && // IXFR queries have a SOA in their AUTHORITY section
  ------------------
  |  Branch (406:13): [True: 3.49k, False: 97.4k]
  |  Branch (406:39): [True: 3.23k, False: 253]
  |  Branch (406:85): [True: 1.00k, False: 2.23k]
  ------------------
  407|  99.9k|          (dr.d_place == DNSResourceRecord::ANSWER || dr.d_place == DNSResourceRecord::AUTHORITY || (dr.d_type != QType::OPT && dr.d_type != QType::TSIG && dr.d_type != QType::SIG && dr.d_type != QType::TKEY) || ((dr.d_type == QType::TSIG || dr.d_type == QType::SIG || dr.d_type == QType::TKEY) && dr.d_class != QClass::ANY))) {
  ------------------
  |  Branch (407:12): [True: 54.5k, False: 45.3k]
  |  Branch (407:55): [True: 19.3k, False: 26.0k]
  |  Branch (407:102): [True: 25.1k, False: 813]
  |  Branch (407:129): [True: 24.6k, False: 560]
  |  Branch (407:157): [True: 24.2k, False: 360]
  |  Branch (407:184): [True: 23.0k, False: 1.18k]
  |  Branch (407:215): [True: 560, False: 2.36k]
  |  Branch (407:243): [True: 360, False: 2.00k]
  |  Branch (407:270): [True: 1.18k, False: 813]
  |  Branch (407:299): [True: 429, False: 1.67k]
  ------------------
  408|       |//        cerr<<"discarding RR, query is "<<query<<", place is "<<dr.d_place<<", type is "<<dr.d_type<<", class is "<<dr.d_class<<endl;
  409|  97.4k|        dr.setContent(std::make_shared<UnknownRecordContent>(dr, pr));
  410|  97.4k|      }
  411|   101k|      else {
  412|       |//        cerr<<"parsing RR, query is "<<query<<", place is "<<dr.d_place<<", type is "<<dr.d_type<<", class is "<<dr.d_class<<endl;
  413|   101k|        dr.setContent(DNSRecordContent::make(dr, pr, d_header.opcode));
  414|   101k|      }
  415|       |
  416|   198k|      if (dr.d_place == DNSResourceRecord::ADDITIONAL && seenTSIG) {
  ------------------
  |  Branch (416:11): [True: 47.8k, False: 150k]
  |  Branch (416:58): [True: 184, False: 47.6k]
  ------------------
  417|    184|        throw MOADNSException("Packet ("+d_qname.toString()+"|#"+std::to_string(d_qtype)+") has an unexpected record ("+std::to_string(dr.d_type)+") after a TSIG one.");
  418|    184|      }
  419|       |
  420|   198k|      if(dr.d_type == QType::TSIG && dr.d_class == QClass::ANY) {
  ------------------
  |  Branch (420:10): [True: 1.64k, False: 196k]
  |  Branch (420:38): [True: 457, False: 1.19k]
  ------------------
  421|    457|        if(seenTSIG || dr.d_place != DNSResourceRecord::ADDITIONAL) {
  ------------------
  |  Branch (421:12): [True: 0, False: 457]
  |  Branch (421:24): [True: 245, False: 212]
  ------------------
  422|    245|          throw MOADNSException("Packet ("+d_qname.toLogString()+"|#"+std::to_string(d_qtype)+") has a TSIG record in an invalid position.");
  423|    245|        }
  424|    212|        seenTSIG = true;
  425|    212|        d_tsigPos = recordStartPos;
  426|    212|      }
  427|       |
  428|   198k|      if (pr.getPosition() != recordContentStartPos + ah.d_clen) {
  ------------------
  |  Branch (428:11): [True: 0, False: 198k]
  ------------------
  429|      0|        throw MOADNSException("Packet ("+d_qname.toLogString()+"|#"+std::to_string(d_qtype)+") has a record content that does not end on the record boundary");
  430|      0|      }
  431|       |
  432|   198k|      d_answers.emplace_back(std::move(dr));
  433|   198k|    }
  434|       |
  435|       |#if 0
  436|       |    if(pr.getPosition()!=packet.size()) {
  437|       |      throw MOADNSException("Packet ("+d_qname+"|#"+std::to_string(d_qtype)+") has trailing garbage ("+ std::to_string(pr.getPosition()) + " < " +
  438|       |                            std::to_string(packet.size()) + ")");
  439|       |    }
  440|       |#endif
  441|  8.77k|  }
  442|  8.77k|  catch(const std::out_of_range &re) {
  443|  7.92k|    if(validPacket && d_header.tc) { // don't sweat it over truncated packets, but do adjust an, ns and arcount
  ------------------
  |  Branch (443:8): [True: 7.63k, False: 290]
  |  Branch (443:23): [True: 1.96k, False: 5.66k]
  ------------------
  444|  1.96k|      if(n < d_header.ancount) {
  ------------------
  |  Branch (444:10): [True: 1.19k, False: 775]
  ------------------
  445|  1.19k|        d_header.ancount=n; d_header.nscount = d_header.arcount = 0;
  446|  1.19k|      }
  447|    775|      else if(n < d_header.ancount + d_header.nscount) {
  ------------------
  |  Branch (447:15): [True: 519, False: 256]
  ------------------
  448|    519|        d_header.nscount = n - d_header.ancount; d_header.arcount=0;
  449|    519|      }
  450|    256|      else {
  451|    256|        d_header.arcount = n - d_header.ancount - d_header.nscount;
  452|    256|      }
  453|  1.96k|    }
  454|  5.95k|    else {
  455|  5.95k|      throw MOADNSException("Error parsing packet of "+std::to_string(packet.size())+" bytes (rd="+
  456|  5.95k|                            std::to_string(d_header.rd)+
  457|  5.95k|                            "), out of bounds: "+string(re.what()));
  458|  5.95k|    }
  459|  7.92k|  }
  460|  8.77k|}
_ZN12PacketReader18getDnsrecordheaderER15dnsrecordheader:
  475|   193k|{
  476|   193k|  unsigned char *p = reinterpret_cast<unsigned char*>(&ah);
  477|       |
  478|  2.12M|  for(unsigned int n = 0; n < sizeof(dnsrecordheader); ++n) {
  ------------------
  |  Branch (478:27): [True: 1.93M, False: 193k]
  ------------------
  479|  1.93M|    p[n] = d_content.at(d_pos++);
  480|  1.93M|  }
  481|       |
  482|   193k|  ah.d_type = ntohs(ah.d_type);
  483|   193k|  ah.d_class = ntohs(ah.d_class);
  484|   193k|  ah.d_clen = ntohs(ah.d_clen);
  485|   193k|  ah.d_ttl = ntohl(ah.d_ttl);
  486|       |
  487|   193k|  d_startrecordpos = d_pos; // needed for getBlob later on
  488|   193k|  d_recordlen = ah.d_clen;
  489|   193k|  if (d_pos > d_content.size() || (d_content.size() - d_pos) < (d_recordlen)) {
  ------------------
  |  Branch (489:7): [True: 788, False: 192k]
  |  Branch (489:35): [True: 425, False: 192k]
  ------------------
  490|    425|    throw std::out_of_range("DNS record length (" + std::to_string(d_recordlen) + " starting at " + std::to_string(d_pos) + ") goes beyond the packet's content (" + std::to_string(d_content.size()) + ")");
  491|    425|  }
  492|   193k|}
_ZN12PacketReader10copyRecordERNSt3__16vectorIhNS0_9allocatorIhEEEEt:
  496|   132k|{
  497|   132k|  if (len == 0) {
  ------------------
  |  Branch (497:7): [True: 58.4k, False: 74.0k]
  ------------------
  498|  58.4k|    return;
  499|  58.4k|  }
  500|  74.0k|  if ((d_pos + len) > d_content.size()) {
  ------------------
  |  Branch (500:7): [True: 0, False: 74.0k]
  ------------------
  501|      0|    throw std::out_of_range("Attempt to copy outside of packet");
  502|      0|  }
  503|  74.0k|  if (!isWithinRecordBoundaries(d_pos, d_pos + len)) {
  ------------------
  |  Branch (503:7): [True: 0, False: 74.0k]
  ------------------
  504|      0|    throw std::out_of_range("Attempt to copy outside of record");
  505|      0|  }
  506|       |
  507|  74.0k|  dest.resize(len);
  508|       |
  509|  7.74M|  for (uint16_t n = 0; n < len; ++n) {
  ------------------
  |  Branch (509:24): [True: 7.66M, False: 74.0k]
  ------------------
  510|  7.66M|    dest.at(n) = d_content.at(d_pos++);
  511|  7.66M|  }
  512|  74.0k|}
_ZN12PacketReader10copyRecordEPht:
  515|  1.13k|{
  516|  1.13k|  if (d_pos + len > d_content.size()) {
  ------------------
  |  Branch (516:7): [True: 0, False: 1.13k]
  ------------------
  517|      0|    throw std::out_of_range("Attempt to copy outside of packet");
  518|      0|  }
  519|  1.13k|  if (!isWithinRecordBoundaries(d_pos, d_pos + len)) {
  ------------------
  |  Branch (519:7): [True: 0, False: 1.13k]
  ------------------
  520|      0|    throw std::out_of_range("Attempt to copy outside of record");
  521|      0|  }
  522|       |
  523|  1.13k|  memcpy(dest, &d_content.at(d_pos), len);
  524|  1.13k|  d_pos += len;
  525|  1.13k|}
_ZN12PacketReader18xfrNodeOrLocatorIDER15NodeOrLocatorID:
  528|    902|{
  529|    902|  if (d_pos + sizeof(ret) > d_content.size()) {
  ------------------
  |  Branch (529:7): [True: 5, False: 897]
  ------------------
  530|      5|    throw std::out_of_range("Attempt to read 64 bit value outside of packet");
  531|      5|  }
  532|    897|  if (!isWithinRecordBoundaries(d_pos, d_pos + sizeof(ret))) {
  ------------------
  |  Branch (532:7): [True: 5, False: 892]
  ------------------
  533|      5|    throw std::out_of_range("Attempt to read node or locator ID outside of record");
  534|      5|  }
  535|       |
  536|    892|  memcpy(&ret.content, &d_content.at(d_pos), sizeof(ret.content));
  537|    892|  d_pos += sizeof(ret);
  538|    892|}
_ZN12PacketReader11xfr48BitIntERm:
  541|    491|{
  542|    491|  if (!isWithinRecordBoundaries(d_pos, d_pos + 6U)) {
  ------------------
  |  Branch (542:7): [True: 15, False: 476]
  ------------------
  543|     15|    throw std::out_of_range("Attempt to read 48 bit value outside of record");
  544|     15|  }
  545|    476|  ret=0;
  546|    476|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  547|    476|  ret<<=8;
  548|    476|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  549|    476|  ret<<=8;
  550|    476|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  551|    476|  ret<<=8;
  552|    476|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  553|    476|  ret<<=8;
  554|    476|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  555|    476|  ret<<=8;
  556|    476|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  557|    476|}
_ZN12PacketReader11get32BitIntEv:
  560|  19.8k|{
  561|  19.8k|  uint32_t ret=0;
  562|  19.8k|  if (!isWithinRecordBoundaries(d_pos, d_pos + sizeof(ret))) {
  ------------------
  |  Branch (562:7): [True: 90, False: 19.8k]
  ------------------
  563|     90|    throw std::out_of_range("Attempt to read 32 bit value outside of record");
  564|     90|  }
  565|  19.8k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  566|  19.8k|  ret<<=8;
  567|  19.8k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  568|  19.8k|  ret<<=8;
  569|  19.8k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  570|  19.8k|  ret<<=8;
  571|  19.8k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  572|       |
  573|  19.8k|  return ret;
  574|  19.8k|}
_ZN12PacketReader11get16BitIntEv:
  578|   387k|{
  579|   387k|  uint16_t ret=0;
  580|   387k|  if (!isWithinRecordBoundaries(d_pos, d_pos + sizeof(ret))) {
  ------------------
  |  Branch (580:7): [True: 241, False: 387k]
  ------------------
  581|    241|    throw std::out_of_range("Attempt to read 16 bit value outside of record");
  582|    241|  }
  583|   387k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  584|   387k|  ret<<=8;
  585|   387k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  586|       |
  587|   387k|  return ret;
  588|   387k|}
_ZN12PacketReader10get8BitIntEv:
  591|  48.0k|{
  592|  48.0k|  if (!isWithinRecordBoundaries(d_pos, d_pos + sizeof(uint8_t))) {
  ------------------
  |  Branch (592:7): [True: 84, False: 47.9k]
  ------------------
  593|     84|    throw std::out_of_range("Attempt to read 8 bit value outside of record");
  594|     84|  }
  595|  47.9k|  return d_content.at(d_pos++);
  596|  48.0k|}
_ZN12PacketReader7getNameEv:
  599|   292k|{
  600|   292k|  unsigned int consumed{0};
  601|   292k|  const auto initialPosition = d_pos;
  602|   292k|  try {
  603|   292k|    uint16_t minOffset = d_standalone ? 0 : sizeof(dnsheader);
  ------------------
  |  Branch (603:26): [True: 0, False: 292k]
  ------------------
  604|   292k|    bool uncompress = !d_standalone;
  605|       |
  606|   292k|    DNSName name((const char*) d_content.data(), d_content.size(), d_pos, uncompress, nullptr /* qtype */, nullptr /* qclass */, &consumed, minOffset, &d_pointerBudget);
  607|       |
  608|   292k|    d_pos += consumed;
  609|       |    // if we know the length of the record, and we were parsing a DNS name inside the record contents
  610|       |    // (not the owner name, in which case d_startrecordpos and d_recordlen still refer to the content of the previous record),
  611|       |    // check that we did not go over the record boundary
  612|   292k|    if (!isWithinRecordBoundaries(initialPosition, d_pos, true)) {
  ------------------
  |  Branch (612:9): [True: 10, False: 292k]
  ------------------
  613|     10|      throw std::out_of_range("Attempt to read DNS name outside of record");
  614|     10|    }
  615|   292k|    return name;
  616|   292k|  }
  617|   292k|  catch(const std::range_error& re) {
  618|  5.32k|    throw std::out_of_range(string("dnsname issue: ")+re.what());
  619|  5.32k|  }
  620|   292k|  catch(...) {
  621|     10|    throw std::out_of_range("dnsname issue");
  622|     10|  }
  623|   292k|}
_Z9txtEscapeRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE:
  627|  10.0k|{
  628|  10.0k|  string ret;
  629|  10.0k|  ret.reserve(name.length()); // In the typical case no escaping is needed
  630|  10.0k|  std::array<char, 5> ebuf{};
  631|       |
  632|   632k|  for (char letter : name) {
  ------------------
  |  Branch (632:20): [True: 632k, False: 10.0k]
  ------------------
  633|   632k|    const unsigned uch = static_cast<unsigned char>(letter);
  634|   632k|    if (uch >= 127 || uch < 32) {
  ------------------
  |  Branch (634:9): [True: 55.6k, False: 576k]
  |  Branch (634:23): [True: 497k, False: 79.4k]
  ------------------
  635|   553k|      snprintf(ebuf.data(), ebuf.size(), "\\%03u", uch);
  636|   553k|      ret += ebuf.data();
  637|   553k|    }
  638|  79.4k|    else if (letter == '"' || letter == '\\'){
  ------------------
  |  Branch (638:14): [True: 1.48k, False: 77.9k]
  |  Branch (638:31): [True: 1.27k, False: 76.6k]
  ------------------
  639|  2.75k|      ret += '\\';
  640|  2.75k|      ret += letter;
  641|  2.75k|    }
  642|  76.6k|    else {
  643|  76.6k|      ret += letter;
  644|  76.6k|    }
  645|   632k|  }
  646|  10.0k|  return ret;
  647|  10.0k|}
_ZN12PacketReader7getTextEbb:
  651|  8.53k|{
  652|  8.53k|  string ret;
  653|  8.53k|  ret.reserve(40);
  654|  31.9k|  while (d_pos < d_startrecordpos + d_recordlen ) {
  ------------------
  |  Branch (654:10): [True: 25.6k, False: 6.29k]
  ------------------
  655|  25.6k|    if (!ret.empty()) {
  ------------------
  |  Branch (655:9): [True: 20.8k, False: 4.72k]
  ------------------
  656|  20.8k|      ret.append(1,' ');
  657|  20.8k|    }
  658|  25.6k|    uint16_t labellen;
  659|  25.6k|    if (lenField) {
  ------------------
  |  Branch (659:9): [True: 23.9k, False: 1.71k]
  ------------------
  660|  23.9k|      labellen = static_cast<uint8_t>(d_content.at(d_pos++));
  661|  23.9k|    }
  662|  1.71k|    else {
  663|  1.71k|      labellen = d_recordlen - (d_pos - d_startrecordpos);
  664|  1.71k|    }
  665|       |
  666|  25.6k|    const uint16_t remaining = (d_startrecordpos + d_recordlen) - d_pos;
  667|  25.6k|    if (labellen > remaining) {
  ------------------
  |  Branch (667:9): [True: 76, False: 25.5k]
  ------------------
  668|     76|      throw std::out_of_range("label length in text record exceeds record boundary");
  669|     76|    }
  670|       |
  671|  25.5k|    ret.append(1, '"');
  672|  25.5k|    if (labellen) { // no need to do anything for an empty string
  ------------------
  |  Branch (672:9): [True: 10.0k, False: 15.4k]
  ------------------
  673|  10.0k|      string val(&d_content.at(d_pos), &d_content.at(d_pos + labellen - 1) + 1);
  674|  10.0k|      ret.append(txtEscape(val)); // the end is one beyond the packet
  675|  10.0k|    }
  676|  25.5k|    ret.append(1, '"');
  677|  25.5k|    d_pos += labellen;
  678|  25.5k|    if (!multi) {
  ------------------
  |  Branch (678:9): [True: 2.16k, False: 23.3k]
  ------------------
  679|  2.16k|      break;
  680|  2.16k|    }
  681|  25.5k|  }
  682|       |
  683|  8.46k|  if (ret.empty() && !lenField) {
  ------------------
  |  Branch (683:7): [True: 3.80k, False: 4.65k]
  |  Branch (683:22): [True: 1.45k, False: 2.35k]
  ------------------
  684|       |    // all lenField == false cases (CAA and URI at the time of this writing) want that emptiness to be explicit
  685|  1.45k|    return "\"\"";
  686|  1.45k|  }
  687|  7.01k|  return ret;
  688|  8.46k|}
_ZN12PacketReader15getUnquotedTextEbRKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE:
  691|  2.51k|{
  692|  2.51k|  uint16_t stop_at{};
  693|  2.51k|  if (lenField) {
  ------------------
  |  Branch (693:7): [True: 2.51k, False: 0]
  ------------------
  694|  2.51k|    stop_at = static_cast<uint8_t>(d_content.at(d_pos)) + d_pos + 1;
  695|  2.51k|    d_pos++; // d_pos now points at the start of the text
  696|  2.51k|  }
  697|      0|  else {
  698|      0|    stop_at = d_recordlen;
  699|      0|  }
  700|       |
  701|       |  /* think unsigned overflow */
  702|  2.51k|  if (stop_at < d_pos) {
  ------------------
  |  Branch (702:7): [True: 2, False: 2.51k]
  ------------------
  703|      2|    throw std::out_of_range("getUnquotedText out of record range");
  704|      2|  }
  705|       |
  706|       |  /* Validate against record boundary */
  707|  2.51k|  const uint16_t recordEnd = d_startrecordpos + d_recordlen;
  708|  2.51k|  if (stop_at > recordEnd) {
  ------------------
  |  Branch (708:7): [True: 16, False: 2.50k]
  ------------------
  709|     16|    throw std::out_of_range("getUnquotedText: length exceeds record boundary");
  710|     16|  }
  711|       |
  712|  2.50k|  if (stop_at == d_pos) {
  ------------------
  |  Branch (712:7): [True: 2.14k, False: 357]
  ------------------
  713|  2.14k|    return "";
  714|  2.14k|  }
  715|       |
  716|    357|  string ret(d_content.substr(d_pos, stop_at-d_pos));
  717|    357|  if (!validChars.empty() && ret.find_first_not_of(validChars) != string::npos) {
  ------------------
  |  Branch (717:7): [True: 356, False: 1]
  |  Branch (717:30): [True: 87, False: 269]
  ------------------
  718|     87|    throw std::out_of_range("getUnquotedText: invalid character found in record content");
  719|     87|  }
  720|    270|  d_pos = stop_at;
  721|    270|  return ret;
  722|    357|}
_ZN12PacketReader7xfrBlobERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE:
  725|  22.3k|{
  726|  22.3k|  try {
  727|  22.3k|    if (d_recordlen != 0 && !(d_pos == (d_startrecordpos + d_recordlen))) {
  ------------------
  |  Branch (727:9): [True: 18.5k, False: 3.78k]
  |  Branch (727:29): [True: 15.6k, False: 2.87k]
  ------------------
  728|  15.6k|      if (d_pos > (d_startrecordpos + d_recordlen)) {
  ------------------
  |  Branch (728:11): [True: 1, False: 15.6k]
  ------------------
  729|      1|        throw std::out_of_range("xfrBlob out of record range");
  730|      1|      }
  731|  15.6k|      blob.assign(&d_content.at(d_pos), &d_content.at(d_startrecordpos + d_recordlen - 1 ) + 1);
  732|  15.6k|    }
  733|  6.66k|    else {
  734|  6.66k|      blob.clear();
  735|  6.66k|    }
  736|       |
  737|  22.3k|    d_pos = d_startrecordpos + d_recordlen;
  738|  22.3k|  }
  739|  22.3k|  catch(...)
  740|  22.3k|  {
  741|      1|    throw std::out_of_range("xfrBlob out of range");
  742|      1|  }
  743|  22.3k|}
_ZN12PacketReader15xfrBlobNoSpacesERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi:
  745|  3.45k|void PacketReader::xfrBlobNoSpaces(string& blob, int length) {
  746|  3.45k|  xfrBlob(blob, length);
  747|  3.45k|}
_ZN12PacketReader7xfrBlobERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi:
  750|  25.6k|{
  751|  25.6k|  if(length) {
  ------------------
  |  Branch (751:6): [True: 23.1k, False: 2.45k]
  ------------------
  752|  23.1k|    if (length < 0) {
  ------------------
  |  Branch (752:9): [True: 0, False: 23.1k]
  ------------------
  753|      0|      throw std::out_of_range("xfrBlob out of range (negative length)");
  754|      0|    }
  755|  23.1k|    auto available = (d_startrecordpos + d_recordlen) - d_pos;
  756|  23.1k|    if (available < length) {
  ------------------
  |  Branch (756:9): [True: 181, False: 22.9k]
  ------------------
  757|    181|      throw std::out_of_range("xfrBlob out of range (excessive length)");
  758|    181|    }
  759|       |
  760|  22.9k|    blob.assign(&d_content.at(d_pos), &d_content.at(d_pos + length - 1 ) + 1 );
  761|       |
  762|  22.9k|    d_pos += length;
  763|  22.9k|  }
  764|  2.45k|  else {
  765|  2.45k|    blob.clear();
  766|  2.45k|  }
  767|  25.6k|}
_ZN12PacketReader18xfrSvcParamKeyValsERNSt3__13setI8SvcParamNS0_4lessIS2_EENS0_9allocatorIS2_EEEE:
  769|  7.19k|void PacketReader::xfrSvcParamKeyVals(set<SvcParam> &kvs) {
  770|  7.19k|  int32_t lastKey{-1}; // Keep track of the last key, as ordering should be strict
  771|       |
  772|  15.6k|  while (d_pos < (d_startrecordpos + d_recordlen)) {
  ------------------
  |  Branch (772:10): [True: 8.73k, False: 6.94k]
  ------------------
  773|  8.73k|    if (d_pos + 2 > (d_startrecordpos + d_recordlen)) {
  ------------------
  |  Branch (773:9): [True: 15, False: 8.72k]
  ------------------
  774|     15|      throw std::out_of_range("incomplete key");
  775|     15|    }
  776|  8.72k|    uint16_t keyInt;
  777|  8.72k|    xfr16BitInt(keyInt);
  778|       |
  779|  8.72k|    if (keyInt <= lastKey) {
  ------------------
  |  Branch (779:9): [True: 62, False: 8.66k]
  ------------------
  780|     62|      throw std::out_of_range("Found SVCParamKey " + std::to_string(keyInt) + " after SVCParamKey " + std::to_string(lastKey));
  781|     62|    }
  782|  8.66k|    lastKey = keyInt;
  783|       |
  784|       |    // NOLINTNEXTLINE(clang-analyzer-optin.core.EnumCastOutOfRange): this is fine, we will handle that in the switch/case
  785|  8.66k|    auto key = static_cast<SvcParam::SvcParamKey>(keyInt);
  786|       |
  787|  8.66k|    uint16_t len;
  788|  8.66k|    xfr16BitInt(len);
  789|       |
  790|  8.66k|    if (d_pos + len > (d_startrecordpos + d_recordlen)) {
  ------------------
  |  Branch (790:9): [True: 58, False: 8.60k]
  ------------------
  791|     58|      throw std::out_of_range("record is shorter than SVCB lengthfield implies");
  792|     58|    }
  793|       |
  794|  8.60k|    switch (key)
  795|  8.60k|    {
  796|    872|    case SvcParam::mandatory: {
  ------------------
  |  Branch (796:5): [True: 872, False: 7.73k]
  ------------------
  797|    872|      if (len % 2 != 0) {
  ------------------
  |  Branch (797:11): [True: 1, False: 871]
  ------------------
  798|      1|        throw std::out_of_range("mandatory SvcParam has invalid length");
  799|      1|      }
  800|    871|      if (len == 0) {
  ------------------
  |  Branch (800:11): [True: 2, False: 869]
  ------------------
  801|      2|        throw std::out_of_range("empty 'mandatory' values");
  802|      2|      }
  803|    869|      std::set<SvcParam::SvcParamKey> paramKeys;
  804|    869|      size_t stop = d_pos + len;
  805|   132k|      while (d_pos < stop) {
  ------------------
  |  Branch (805:14): [True: 131k, False: 869]
  ------------------
  806|   131k|        uint16_t keyval;
  807|   131k|        xfr16BitInt(keyval);
  808|   131k|        paramKeys.insert(static_cast<SvcParam::SvcParamKey>(keyval));
  809|   131k|      }
  810|    869|      kvs.insert(SvcParam(key, std::move(paramKeys)));
  811|    869|      break;
  812|    871|    }
  813|    962|    case SvcParam::alpn: [[fallthrough]];
  ------------------
  |  Branch (813:5): [True: 962, False: 7.64k]
  ------------------
  814|  1.31k|    case SvcParam::docpath: {
  ------------------
  |  Branch (814:5): [True: 349, False: 8.25k]
  ------------------
  815|  1.31k|      size_t stop = d_pos + len;
  816|  1.31k|      std::vector<string> alpns;
  817|  6.28k|      while (d_pos < stop) {
  ------------------
  |  Branch (817:14): [True: 5.02k, False: 1.26k]
  ------------------
  818|  5.02k|        string alpn;
  819|  5.02k|        uint8_t alpnLen = 0;
  820|  5.02k|        xfr8BitInt(alpnLen);
  821|  5.02k|        if (alpnLen == 0) {
  ------------------
  |  Branch (821:13): [True: 23, False: 5.00k]
  ------------------
  822|     23|          throw std::out_of_range("alpn length of 0");
  823|     23|        }
  824|  5.00k|        if (d_pos + alpnLen > stop) {
  ------------------
  |  Branch (824:13): [True: 28, False: 4.97k]
  ------------------
  825|     28|          throw std::out_of_range("alpn length is larger than rest of alpn SVC Param");
  826|     28|        }
  827|  4.97k|        xfrBlob(alpn, alpnLen);
  828|  4.97k|        alpns.push_back(std::move(alpn));
  829|  4.97k|      }
  830|  1.26k|      kvs.insert(SvcParam(key, std::move(alpns)));
  831|  1.26k|      break;
  832|  1.31k|    }
  833|    728|    case SvcParam::no_default_alpn: [[fallthrough]];
  ------------------
  |  Branch (833:5): [True: 728, False: 7.87k]
  ------------------
  834|    980|    case SvcParam::ohttp: [[fallthrough]];
  ------------------
  |  Branch (834:5): [True: 252, False: 8.35k]
  ------------------
  835|  1.25k|    case SvcParam::pvd: {
  ------------------
  |  Branch (835:5): [True: 279, False: 8.32k]
  ------------------
  836|  1.25k|      if (len != 0) {
  ------------------
  |  Branch (836:11): [True: 14, False: 1.24k]
  ------------------
  837|     14|        throw std::out_of_range("invalid length for " + SvcParam::keyToString(key));
  838|     14|      }
  839|  1.24k|      kvs.insert(SvcParam(key));
  840|  1.24k|      break;
  841|  1.25k|    }
  842|    266|    case SvcParam::port: {
  ------------------
  |  Branch (842:5): [True: 266, False: 8.33k]
  ------------------
  843|    266|      if (len != 2) {
  ------------------
  |  Branch (843:11): [True: 2, False: 264]
  ------------------
  844|      2|        throw std::out_of_range("invalid length for port");
  845|      2|      }
  846|    264|      uint16_t port;
  847|    264|      xfr16BitInt(port);
  848|    264|      kvs.insert(SvcParam(key, port));
  849|    264|      break;
  850|    266|    }
  851|    546|    case SvcParam::ipv4hint:
  ------------------
  |  Branch (851:5): [True: 546, False: 8.05k]
  ------------------
  852|  1.23k|    case SvcParam::ipv6hint: {
  ------------------
  |  Branch (852:5): [True: 688, False: 7.91k]
  ------------------
  853|  1.23k|      size_t addrLen = (key == SvcParam::ipv4hint ? 4 : 16);
  ------------------
  |  Branch (853:25): [True: 546, False: 688]
  ------------------
  854|  1.23k|      if (len % addrLen != 0) {
  ------------------
  |  Branch (854:11): [True: 6, False: 1.22k]
  ------------------
  855|      6|        throw std::out_of_range("invalid length for " + SvcParam::keyToString(key));
  856|      6|      }
  857|  1.22k|      vector<ComboAddress> addresses;
  858|  1.22k|      auto stop = d_pos + len;
  859|  13.1k|      while (d_pos < stop)
  ------------------
  |  Branch (859:14): [True: 11.9k, False: 1.22k]
  ------------------
  860|  11.9k|      {
  861|  11.9k|        ComboAddress addr;
  862|  11.9k|        xfrCAWithoutPort(key, addr);
  863|  11.9k|        addresses.push_back(addr);
  864|  11.9k|      }
  865|       |      // If there were no addresses, and the input comes from internal
  866|       |      // representation, we can reasonably assume this is the serialization
  867|       |      // of "auto".
  868|  1.22k|      bool doAuto{d_internal && len == 0};
  ------------------
  |  Branch (868:19): [True: 0, False: 1.22k]
  |  Branch (868:33): [True: 0, False: 0]
  ------------------
  869|  1.22k|      auto param = SvcParam(key, std::move(addresses));
  870|  1.22k|      param.setAutoHint(doAuto);
  871|  1.22k|      kvs.insert(std::move(param));
  872|  1.22k|      break;
  873|  1.23k|    }
  874|    869|    case SvcParam::ech: {
  ------------------
  |  Branch (874:5): [True: 869, False: 7.73k]
  ------------------
  875|    869|      std::string blob;
  876|    869|      blob.reserve(len);
  877|    869|      xfrBlobNoSpaces(blob, len);
  878|    869|      kvs.insert(SvcParam(key, blob));
  879|    869|      break;
  880|  1.23k|    }
  881|    541|    case SvcParam::tls_supported_groups: {
  ------------------
  |  Branch (881:5): [True: 541, False: 8.06k]
  ------------------
  882|    541|      if (len % 2 != 0) {
  ------------------
  |  Branch (882:11): [True: 1, False: 540]
  ------------------
  883|      1|        throw std::out_of_range("invalid length for " + SvcParam::keyToString(key));
  884|      1|      }
  885|    540|      vector<uint16_t> groups;
  886|    540|      groups.reserve(len / 2);
  887|    540|      auto stop = d_pos + len;
  888|  74.3k|      while (d_pos < stop)
  ------------------
  |  Branch (888:14): [True: 73.8k, False: 540]
  ------------------
  889|  73.8k|      {
  890|  73.8k|        uint16_t group = 0;
  891|  73.8k|        xfr16BitInt(group);
  892|  73.8k|        groups.push_back(group);
  893|  73.8k|      }
  894|    540|      auto param = SvcParam(key, std::move(groups));
  895|    540|      kvs.insert(std::move(param));
  896|    540|      break;
  897|    541|    }
  898|  2.21k|    default: {
  ------------------
  |  Branch (898:5): [True: 2.21k, False: 6.38k]
  ------------------
  899|  2.21k|      std::string blob;
  900|  2.21k|      blob.reserve(len);
  901|  2.21k|      xfrBlob(blob, len);
  902|  2.21k|      kvs.insert(SvcParam(key, blob));
  903|  2.21k|      break;
  904|    541|    }
  905|  8.60k|    }
  906|  8.60k|  }
  907|  7.19k|}
_ZN12PacketReader10xfrHexBlobERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEb:
  911|  5.11k|{
  912|  5.11k|  xfrBlob(blob);
  913|  5.11k|}

_ZN9DNSRecordC2Ev:
  383|   198k|    d_class(QClass::IN)
  384|   198k|  {}
_ZN15MOADNSExceptionC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE:
   61|  7.07k|  MOADNSException(const string& str) : runtime_error(str)
   62|  7.07k|  {}
_ZN16DNSRecordContentD2Ev:
  273|   192k|  virtual ~DNSRecordContent() = default;
_ZN12PacketReaderC2ERKNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEEtbb:
   72|  8.77k|    : d_pos(initialPos), d_startrecordpos(initialPos), d_internal(internalRepresentation), d_standalone(standalone), d_content(content)
   73|  8.77k|  {
   74|  8.77k|    if (content.size() > std::numeric_limits<uint16_t>::max()) {
  ------------------
  |  Branch (74:9): [True: 0, False: 8.77k]
  ------------------
   75|      0|      throw std::out_of_range("packet too large");
   76|      0|    }
   77|       |
   78|  8.77k|    d_recordlen = static_cast<uint16_t>(content.size());
   79|  8.77k|    d_pointerBudget = static_cast<size_t>(d_recordlen) * s_MaxPointersPerByte;
   80|  8.77k|  }
_ZNK12PacketReader11getPositionEv:
  212|   581k|  {
  213|   581k|    return d_pos;
  214|   581k|  }
_ZN9DNSRecord10setContentEONSt3__110shared_ptrIK16DNSRecordContentEE:
  439|   190k|  {
  440|   190k|    d_content = std::move(content);
  441|   190k|  }
_ZNK12PacketReader24isWithinRecordBoundariesEmmb:
  234|   819k|  {
  235|   819k|    if (initialPosition > endPosition) {
  ------------------
  |  Branch (235:9): [True: 0, False: 819k]
  ------------------
  236|      0|      return false;
  237|      0|    }
  238|   819k|    if (canBeOutsideRecordContent && d_recordlen == 0) {
  ------------------
  |  Branch (238:9): [True: 287k, False: 531k]
  |  Branch (238:38): [True: 65.1k, False: 222k]
  ------------------
  239|       |      // we don't know the record's length, nothing to check
  240|  65.1k|      return true;
  241|  65.1k|    }
  242|   753k|    const size_t endOfRecordContent = d_startrecordpos + d_recordlen;
  243|   753k|    if (canBeOutsideRecordContent && initialPosition >= endOfRecordContent) {
  ------------------
  |  Branch (243:9): [True: 222k, False: 531k]
  |  Branch (243:38): [True: 121k, False: 101k]
  ------------------
  244|       |      // our initial position is after the last known record content,
  245|       |      // we are probably parsing the owner name of the next record,
  246|       |      // nothing to check
  247|   121k|      return true;
  248|   121k|    }
  249|       |    // are we still inside the record's content?
  250|   632k|    return initialPosition >= d_startrecordpos && initialPosition <= endOfRecordContent && endPosition <= endOfRecordContent;
  ------------------
  |  Branch (250:12): [True: 632k, False: 0]
  |  Branch (250:51): [True: 632k, False: 42]
  |  Branch (250:92): [True: 632k, False: 403]
  ------------------
  251|   753k|  }
_ZN12PacketReader11xfr16BitIntERt:
  131|   264k|  {
  132|   264k|    val=get16BitInt();
  133|   264k|  }
_ZN12PacketReader10xfr8BitIntERh:
  142|  48.0k|  {
  143|  48.0k|    val=get8BitInt();
  144|  48.0k|  }
_ZN12PacketReader16xfrCAWithoutPortEhR12ComboAddress:
  110|  11.9k|  void xfrCAWithoutPort(uint8_t version, ComboAddress &val) {
  111|  11.9k|    string blob;
  112|  11.9k|    if (version == 4) xfrBlob(blob, 4);
  ------------------
  |  Branch (112:9): [True: 11.7k, False: 194]
  ------------------
  113|    194|    else if (version == 6) xfrBlob(blob, 16);
  ------------------
  |  Branch (113:14): [True: 194, False: 0]
  ------------------
  114|      0|    else throw runtime_error("invalid IP protocol");
  115|  11.9k|    val = makeComboAddressFromRaw(version, blob);
  116|  11.9k|  }
_ZN20UnknownRecordContentC2ERK9DNSRecordR12PacketReader:
  537|   132k|    : d_dr(dr)
  538|   132k|  {
  539|   132k|    pr.copyRecord(d_record, dr.d_clen);
  540|   132k|  }
_ZN12PacketReader11xfr32BitIntERj:
   96|  19.8k|  {
   97|  19.8k|    val=get32BitInt();
   98|  19.8k|  }
_ZN12PacketReader5xfrIPERj:
  101|  1.65k|  {
  102|  1.65k|    xfr32BitInt(val);
  103|       |    val=htonl(val);
  104|  1.65k|  }
_ZN12PacketReader6xfrIP6ERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE:
  106|    773|  void xfrIP6(std::string &val) {
  107|    773|    xfrBlob(val, 16);
  108|    773|  }
_ZN12PacketReader7xfrTimeERj:
  125|  2.26k|  {
  126|  2.26k|    xfr32BitInt(val);
  127|  2.26k|  }
_ZN12PacketReader7xfrTypeERt:
  136|  1.14k|  {
  137|  1.14k|    xfr16BitInt(val);
  138|  1.14k|  }
_ZN12PacketReader7xfrNameER7DNSNameb:
  147|  32.3k|  {
  148|  32.3k|    name = getName();
  149|  32.3k|  }
_ZN12PacketReader7xfrTextERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEbb:
  152|  8.53k|  {
  153|  8.53k|    text=getText(multi, lenField);
  154|  8.53k|  }
_ZN12PacketReader15xfrUnquotedTextERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEbRKS6_:
  163|  2.51k|  void xfrUnquotedText(string &text, bool lenField, const std::string& validChars=""){
  164|  2.51k|    text=getUnquotedText(lenField, validChars);
  165|  2.51k|  }
_ZNK12PacketReader3eofEv:
  185|  57.8k|  {
  186|  57.8k|    const auto endOfRecordContent = d_startrecordpos + d_recordlen;
  187|  57.8k|    if (d_pos > endOfRecordContent) {
  ------------------
  |  Branch (187:9): [True: 40, False: 57.8k]
  ------------------
  188|     40|      throw std::out_of_range("Looking for EOF in PacketReader but we are already beyond the record content's end (" + std::to_string(d_pos) + " while the record content starts at " + std::to_string(d_startrecordpos) + " with a size of " + std::to_string(d_recordlen) + ")");
  189|     40|    }
  190|  57.8k|    return d_pos == endOfRecordContent;
  191|  57.8k|  }
_ZNK12PacketReader12getRemainingEv:
  195|    244|  [[nodiscard]] std::string getRemaining() const {
  196|    244|    return "Remaining data from PacketReader, current position " + std::to_string(d_pos) + " in packet of size " + std::to_string(d_content.size()) + ", end of record expected at " + std::to_string(d_startrecordpos + d_recordlen) + ": " + makeHexDump(std::string(d_content.begin() + d_pos, d_content.begin() + d_startrecordpos + d_recordlen));
  197|    244|  };
_ZN12PacketReader16consumeRemainingEv:
  206|    681|  {
  207|    681|    d_pos = (d_startrecordpos + d_recordlen);
  208|    681|  }
_ZN16DNSRecordContent13doRecordCheckERK9DNSRecord:
  310|  48.8k|  void doRecordCheck(const struct DNSRecord&){}
_ZN16DNSRecordContent6registEttPFNSt3__110shared_ptrIS_EERK9DNSRecordR12PacketReaderEPFS2_RKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEPKc:
  316|    118|  {
  317|    118|    assert(!d_locked.load()); // NOLINT: it's the API
  ------------------
  |  Branch (317:5): [True: 118, False: 0]
  ------------------
  318|    118|    if(f)
  ------------------
  |  Branch (318:8): [True: 115, False: 3]
  ------------------
  319|    115|      getTypemap()[pair(cl,ty)]=f;
  320|    118|    if(z)
  ------------------
  |  Branch (320:8): [True: 115, False: 3]
  ------------------
  321|    115|      getZmakermap()[pair(cl,ty)]=z;
  322|       |
  323|    118|    getT2Namemap().emplace(pair(cl, ty), name);
  324|    118|    getN2Typemap().emplace(name, pair(cl, ty));
  325|    118|  }
_ZN16DNSRecordContent4lockEv:
  362|      1|  {
  363|      1|    d_locked.store(true);
  364|      1|  }
_ZN12MOADNSParserC2EbPKcjm:
  577|  9.08k|  MOADNSParser(bool query, const char *packet, unsigned int len, size_t pointerBudget = 0) : d_tsigPos(0)
  578|  9.08k|  {
  579|  9.08k|    init(query, std::string_view(packet, len), pointerBudget);
  580|  9.08k|  }

_ZN14ARecordContent13doRecordCheckERK9DNSRecord:
  141|    925|{
  142|    925|  if(dr.d_clen!=4)
  ------------------
  |  Branch (142:6): [True: 26, False: 899]
  ------------------
  143|     26|    throw MOADNSException("Wrong size for A record ("+std::to_string(dr.d_clen)+")");
  144|    925|}
_ZN19DNSKEYRecordContentC2Ev:
  463|  1.27k|DNSKEYRecordContent::DNSKEYRecordContent() = default;
_ZN18EUI48RecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
  500|      1|{
  501|      1|  regist(1, QType::EUI48, &make, &make, "EUI48");
  502|      1|}
_ZN18EUI48RecordContent4makeERK9DNSRecordR12PacketReader:
  504|    821|{
  505|    821|    if(dr.d_clen!=6)
  ------------------
  |  Branch (505:8): [True: 21, False: 800]
  ------------------
  506|     21|      throw MOADNSException("Wrong size for EUI48 record");
  507|       |
  508|    800|    auto ret=std::make_shared<EUI48RecordContent>();
  509|    800|    pr.copyRecord((uint8_t*) &ret->d_eui48, 6);
  510|    800|    if (!pr.eof()) {
  ------------------
  |  Branch (510:9): [True: 0, False: 800]
  ------------------
  511|      0|      throw MOADNSException("When parsing EUI48 trailing data was not parsed: '" + pr.getRemaining() + "'");
  512|      0|    }
  513|    800|    return ret;
  514|    800|}
_ZN18EUI64RecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
  547|      1|{
  548|      1|  regist(1, QType::EUI64, &make, &make, "EUI64");
  549|      1|}
_ZN18EUI64RecordContent4makeERK9DNSRecordR12PacketReader:
  551|    348|{
  552|    348|    if(dr.d_clen!=8)
  ------------------
  |  Branch (552:8): [True: 10, False: 338]
  ------------------
  553|     10|      throw MOADNSException("Wrong size for EUI64 record");
  554|       |
  555|    338|    auto ret=std::make_shared<EUI64RecordContent>();
  556|    338|    pr.copyRecord((uint8_t*) &ret->d_eui64, 8);
  557|    338|    if (!pr.eof()) {
  ------------------
  |  Branch (557:9): [True: 0, False: 338]
  ------------------
  558|      0|      throw MOADNSException("When parsing EUI64 trailing data was not parsed: '" + pr.getRemaining() + "'");
  559|      0|    }
  560|    338|    return ret;
  561|    338|}
_ZN16APLRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
  596|      1|{
  597|      1|  regist(1, QType::APL, &make, &make, "APL");
  598|      1|}
_ZN16APLRecordContent4makeERK9DNSRecordR12PacketReader:
  601|  1.86k|std::shared_ptr<DNSRecordContent> APLRecordContent::make(const DNSRecord &dr, PacketReader& pr) {
  602|  1.86k|  uint8_t temp;
  603|  1.86k|  APLRDataElement ard;
  604|  1.86k|  size_t processed = 0;
  605|       |
  606|  1.86k|  auto ret=std::make_shared<APLRecordContent>();
  607|       |
  608|  3.98k|  while (processed<dr.d_clen) {
  ------------------
  |  Branch (608:10): [True: 2.20k, False: 1.77k]
  ------------------
  609|  2.20k|    if (dr.d_clen - processed < 4) {
  ------------------
  |  Branch (609:9): [True: 19, False: 2.18k]
  ------------------
  610|     19|      throw MOADNSException("Malformed APL record, element header extends beyond record length");
  611|     19|    }
  612|  2.18k|    pr.xfr16BitInt(ard.d_family);
  613|  2.18k|    pr.xfr8BitInt(ard.d_prefix);
  614|  2.18k|    pr.xfr8BitInt(temp);
  615|  2.18k|    ard.d_n = (temp & 128) >> 7;
  616|  2.18k|    ard.d_afdlength = temp & 127;
  617|       |
  618|  2.18k|    if (ard.d_afdlength > dr.d_clen - processed - 4) {
  ------------------
  |  Branch (618:9): [True: 9, False: 2.18k]
  ------------------
  619|      9|      throw MOADNSException("Malformed APL record, address data extends beyond record length");
  620|      9|    }
  621|       |
  622|  2.18k|    if (ard.d_family == APL_FAMILY_IPV4) {
  ------------------
  |  | 1201|  2.18k|#define APL_FAMILY_IPV4 1
  ------------------
  |  Branch (622:9): [True: 848, False: 1.33k]
  ------------------
  623|    848|      if (ard.d_afdlength > 4) {
  ------------------
  |  Branch (623:11): [True: 3, False: 845]
  ------------------
  624|      3|        throw MOADNSException("Invalid IP length for IPv4 APL");
  625|      3|      }
  626|    845|      memset(ard.d_ip.d_ip4, 0, sizeof(ard.d_ip.d_ip4));
  627|  1.61k|      for (u_int i=0; i < ard.d_afdlength; i++)
  ------------------
  |  Branch (627:23): [True: 774, False: 845]
  ------------------
  628|    774|        pr.xfr8BitInt(ard.d_ip.d_ip4[i]);
  629|  1.33k|    } else if (ard.d_family == APL_FAMILY_IPV6) {
  ------------------
  |  | 1202|  1.33k|#define APL_FAMILY_IPV6 2
  ------------------
  |  Branch (629:16): [True: 1.27k, False: 54]
  ------------------
  630|  1.27k|      if (ard.d_afdlength > 16) {
  ------------------
  |  Branch (630:11): [True: 4, False: 1.27k]
  ------------------
  631|      4|        throw MOADNSException("Invalid IP length for IPv6 APL");
  632|      4|      }
  633|  1.27k|      memset(ard.d_ip.d_ip6, 0, sizeof(ard.d_ip.d_ip6));
  634|  2.36k|      for (u_int i=0; i < ard.d_afdlength; i++)
  ------------------
  |  Branch (634:23): [True: 1.09k, False: 1.27k]
  ------------------
  635|  1.09k|        pr.xfr8BitInt(ard.d_ip.d_ip6[i]);
  636|  1.27k|    } else {
  637|     54|      throw MOADNSException("Unknown family for APL record");
  638|     54|    }
  639|       |
  640|  2.11k|    processed += 4 + ard.d_afdlength;
  641|       |
  642|  2.11k|    ret->aplrdata.push_back(ard);
  643|  2.11k|  }
  644|  1.77k|  if (!pr.eof()) {
  ------------------
  |  Branch (644:7): [True: 0, False: 1.77k]
  ------------------
  645|      0|    throw MOADNSException("When parsing APL trailing data was not parsed: '" + pr.getRemaining() + "'");
  646|      0|  }
  647|       |
  648|  1.77k|  return ret;
  649|  1.77k|}
_Z14reportAllTypesv:
 1065|      1|{
 1066|      1|  ReportIsOnlyCallableByReportAllTypes guard;
 1067|      1|  reportBasicTypes(guard);
 1068|      1|  reportOtherTypes(guard);
 1069|      1|  DNSRecordContent::lock();
 1070|      1|}
dnsrecords.cc:_ZL16reportBasicTypesRK36ReportIsOnlyCallableByReportAllTypes:
  982|      1|{
  983|      1|  ARecordContent::report(guard);
  984|      1|  AAAARecordContent::report(guard);
  985|      1|  NSRecordContent::report(guard);
  986|      1|  CNAMERecordContent::report(guard);
  987|      1|  MXRecordContent::report(guard);
  988|      1|  SOARecordContent::report(guard);
  989|      1|  SRVRecordContent::report(guard);
  990|      1|  PTRRecordContent::report(guard);
  991|      1|  DNSRecordContent::regist(QClass::CHAOS, QType::TXT, &TXTRecordContent::make, &TXTRecordContent::make, "TXT");
  992|      1|  TXTRecordContent::report(guard);
  993|       |#ifdef HAVE_LUA_RECORDS
  994|       |  LUARecordContent::report(guard);
  995|       |#endif
  996|      1|  DNSRecordContent::regist(QClass::IN, QType::ANY, nullptr, nullptr, "ANY");
  997|      1|  DNSRecordContent::regist(QClass::IN, QType::AXFR, nullptr, nullptr, "AXFR");
  998|      1|  DNSRecordContent::regist(QClass::IN, QType::IXFR, nullptr, nullptr, "IXFR");
  999|      1|}
dnsrecords.cc:_ZL16reportOtherTypesRK36ReportIsOnlyCallableByReportAllTypes:
 1002|      1|{
 1003|      1|   MBRecordContent::report(guard);
 1004|      1|   MGRecordContent::report(guard);
 1005|      1|   MRRecordContent::report(guard);
 1006|      1|   AFSDBRecordContent::report(guard);
 1007|      1|   DNAMERecordContent::report(guard);
 1008|      1|#if !defined(RECURSOR)
 1009|      1|   ALIASRecordContent::report(guard);
 1010|      1|#endif
 1011|      1|   SPFRecordContent::report(guard);
 1012|      1|   NAPTRRecordContent::report(guard);
 1013|      1|   KXRecordContent::report(guard);
 1014|      1|   LOCRecordContent::report(guard);
 1015|      1|   ENTRecordContent::report(guard);
 1016|      1|   HINFORecordContent::report(guard);
 1017|      1|   RPRecordContent::report(guard);
 1018|      1|   KEYRecordContent::report(guard);
 1019|      1|   DNSKEYRecordContent::report(guard);
 1020|      1|   DHCIDRecordContent::report(guard);
 1021|      1|   CDNSKEYRecordContent::report(guard);
 1022|      1|   RKEYRecordContent::report(guard);
 1023|      1|   RRSIGRecordContent::report(guard);
 1024|      1|   DSRecordContent::report(guard);
 1025|      1|   CDSRecordContent::report(guard);
 1026|      1|   SSHFPRecordContent::report(guard);
 1027|      1|   CERTRecordContent::report(guard);
 1028|      1|   NSECRecordContent::report(guard);
 1029|      1|   NSEC3RecordContent::report(guard);
 1030|      1|   NSEC3PARAMRecordContent::report(guard);
 1031|      1|   TLSARecordContent::report(guard);
 1032|      1|   SMIMEARecordContent::report(guard);
 1033|      1|   OPENPGPKEYRecordContent::report(guard);
 1034|      1|   SVCBRecordContent::report(guard);
 1035|      1|   HTTPSRecordContent::report(guard);
 1036|      1|   HHITRecordContent::report(guard);
 1037|      1|   BRIDRecordContent::report(guard);
 1038|      1|   DLVRecordContent::report(guard);
 1039|      1|   DNSRecordContent::regist(QClass::ANY, QType::TSIG, &TSIGRecordContent::make, &TSIGRecordContent::make, "TSIG");
 1040|      1|   DNSRecordContent::regist(QClass::ANY, QType::TKEY, &TKEYRecordContent::make, &TKEYRecordContent::make, "TKEY");
 1041|       |   //TSIGRecordContent::report(guard);
 1042|      1|   OPTRecordContent::report(guard);
 1043|      1|   EUI48RecordContent::report(guard);
 1044|      1|   EUI64RecordContent::report(guard);
 1045|      1|   MINFORecordContent::report(guard);
 1046|      1|   URIRecordContent::report(guard);
 1047|      1|   CAARecordContent::report(guard);
 1048|      1|   RESINFORecordContent::report(guard);
 1049|      1|   APLRecordContent::report(guard);
 1050|      1|   IPSECKEYRecordContent::report(guard);
 1051|      1|   CSYNCRecordContent::report(guard);
 1052|      1|   NIDRecordContent::report(guard);
 1053|      1|   L32RecordContent::report(guard);
 1054|      1|   L64RecordContent::report(guard);
 1055|      1|   LPRecordContent::report(guard);
 1056|      1|   WALLETRecordContent::report(guard);
 1057|      1|   ZONEMDRecordContent::report(guard);
 1058|      1|}

_ZN14ARecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    925|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    925|{                                                                                                  \
 1293|    925|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    925|}                                                                                                  \
_ZN14ARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    925|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    925|{                                                                                                  \
 1298|    925|  doRecordCheck(dr);                                                                               \
 1299|    925|  xfrPacket(pr);                                                                                   \
 1300|    925|}                                                                                                  \
_ZN14ARecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN17AAAARecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    315|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    315|{                                                                                                  \
 1293|    315|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    315|}                                                                                                  \
_ZN17AAAARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    315|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    315|{                                                                                                  \
 1298|    315|  doRecordCheck(dr);                                                                               \
 1299|    315|  xfrPacket(pr);                                                                                   \
 1300|    315|}                                                                                                  \
_ZN17AAAARecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN15NSRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    594|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    594|{                                                                                                  \
 1293|    594|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    594|}                                                                                                  \
_ZN15NSRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    594|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    594|{                                                                                                  \
 1298|    594|  doRecordCheck(dr);                                                                               \
 1299|    594|  xfrPacket(pr);                                                                                   \
 1300|    594|}                                                                                                  \
_ZN15NSRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16PTRRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    521|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    521|{                                                                                                  \
 1293|    521|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    521|}                                                                                                  \
_ZN16PTRRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    521|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    521|{                                                                                                  \
 1298|    521|  doRecordCheck(dr);                                                                               \
 1299|    521|  xfrPacket(pr);                                                                                   \
 1300|    521|}                                                                                                  \
_ZN16PTRRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18CNAMERecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    879|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    879|{                                                                                                  \
 1293|    879|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    879|}                                                                                                  \
_ZN18CNAMERecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    879|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    879|{                                                                                                  \
 1298|    879|  doRecordCheck(dr);                                                                               \
 1299|    879|  xfrPacket(pr);                                                                                   \
 1300|    879|}                                                                                                  \
_ZN18CNAMERecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18ALIASRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    594|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    594|{                                                                                                  \
 1293|    594|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    594|}                                                                                                  \
_ZN18ALIASRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    594|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    594|{                                                                                                  \
 1298|    594|  doRecordCheck(dr);                                                                               \
 1299|    594|  xfrPacket(pr);                                                                                   \
 1300|    594|}                                                                                                  \
_ZN18ALIASRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18DNAMERecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    763|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    763|{                                                                                                  \
 1293|    763|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    763|}                                                                                                  \
_ZN18DNAMERecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    763|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    763|{                                                                                                  \
 1298|    763|  doRecordCheck(dr);                                                                               \
 1299|    763|  xfrPacket(pr);                                                                                   \
 1300|    763|}                                                                                                  \
_ZN18DNAMERecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN15MBRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    757|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    757|{                                                                                                  \
 1293|    757|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    757|}                                                                                                  \
_ZN15MBRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    757|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    757|{                                                                                                  \
 1298|    757|  doRecordCheck(dr);                                                                               \
 1299|    757|  xfrPacket(pr);                                                                                   \
 1300|    757|}                                                                                                  \
_ZN15MBRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN15MGRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    597|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    597|{                                                                                                  \
 1293|    597|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    597|}                                                                                                  \
_ZN15MGRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    597|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    597|{                                                                                                  \
 1298|    597|  doRecordCheck(dr);                                                                               \
 1299|    597|  xfrPacket(pr);                                                                                   \
 1300|    597|}                                                                                                  \
_ZN15MGRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN15MRRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    546|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    546|{                                                                                                  \
 1293|    546|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    546|}                                                                                                  \
_ZN15MRRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    546|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    546|{                                                                                                  \
 1298|    546|  doRecordCheck(dr);                                                                               \
 1299|    546|  xfrPacket(pr);                                                                                   \
 1300|    546|}                                                                                                  \
_ZN15MRRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18MINFORecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    849|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    849|{                                                                                                  \
 1293|    849|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    849|}                                                                                                  \
_ZN18MINFORecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    849|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    849|{                                                                                                  \
 1298|    849|  doRecordCheck(dr);                                                                               \
 1299|    849|  xfrPacket(pr);                                                                                   \
 1300|    849|}                                                                                                  \
_ZN18MINFORecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16TXTRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    605|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    605|{                                                                                                  \
 1293|    605|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    605|}                                                                                                  \
_ZN16TXTRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    605|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    605|{                                                                                                  \
 1298|    605|  doRecordCheck(dr);                                                                               \
 1299|    605|  xfrPacket(pr);                                                                                   \
 1300|    605|}                                                                                                  \
_ZN16TXTRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16ENTRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    681|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    681|{                                                                                                  \
 1293|    681|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    681|}                                                                                                  \
_ZN16ENTRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    681|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    681|{                                                                                                  \
 1298|    681|  doRecordCheck(dr);                                                                               \
 1299|    681|  xfrPacket(pr);                                                                                   \
 1300|    681|}                                                                                                  \
_ZN16ENTRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16SPFRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    500|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    500|{                                                                                                  \
 1293|    500|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    500|}                                                                                                  \
_ZN16SPFRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    500|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    500|{                                                                                                  \
 1298|    500|  doRecordCheck(dr);                                                                               \
 1299|    500|  xfrPacket(pr);                                                                                   \
 1300|    500|}                                                                                                  \
_ZN16SPFRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18HINFORecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    778|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    778|{                                                                                                  \
 1293|    778|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    778|}                                                                                                  \
_ZN18HINFORecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    778|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    778|{                                                                                                  \
 1298|    778|  doRecordCheck(dr);                                                                               \
 1299|    778|  xfrPacket(pr);                                                                                   \
 1300|    778|}                                                                                                  \
_ZN18HINFORecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN15RPRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  1.12k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.12k|{                                                                                                  \
 1293|  1.12k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.12k|}                                                                                                  \
_ZN15RPRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.12k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.12k|{                                                                                                  \
 1298|  1.12k|  doRecordCheck(dr);                                                                               \
 1299|  1.12k|  xfrPacket(pr);                                                                                   \
 1300|  1.12k|}                                                                                                  \
_ZN15RPRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16OPTRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  1.87k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.87k|{                                                                                                  \
 1293|  1.87k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.87k|}                                                                                                  \
_ZN16OPTRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.87k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.87k|{                                                                                                  \
 1298|  1.87k|  doRecordCheck(dr);                                                                               \
 1299|  1.87k|  xfrPacket(pr);                                                                                   \
 1300|  1.87k|}                                                                                                  \
_ZN16OPTRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN19WALLETRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    645|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    645|{                                                                                                  \
 1293|    645|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    645|}                                                                                                  \
_ZN19WALLETRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    645|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    645|{                                                                                                  \
 1298|    645|  doRecordCheck(dr);                                                                               \
 1299|    645|  xfrPacket(pr);                                                                                   \
 1300|    645|}                                                                                                  \
_ZN19WALLETRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN17TSIGRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    534|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    534|{                                                                                                  \
 1293|    534|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    534|}                                                                                                  \
_ZN17TSIGRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    534|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    534|{                                                                                                  \
 1298|    534|  doRecordCheck(dr);                                                                               \
 1299|    534|  xfrPacket(pr);                                                                                   \
 1300|    534|}                                                                                                  \
_ZN15MXRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  1.05k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.05k|{                                                                                                  \
 1293|  1.05k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.05k|}                                                                                                  \
_ZN15MXRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.05k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.05k|{                                                                                                  \
 1298|  1.05k|  doRecordCheck(dr);                                                                               \
 1299|  1.05k|  xfrPacket(pr);                                                                                   \
 1300|  1.05k|}                                                                                                  \
_ZN15MXRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN15KXRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    741|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    741|{                                                                                                  \
 1293|    741|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    741|}                                                                                                  \
_ZN15KXRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    741|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    741|{                                                                                                  \
 1298|    741|  doRecordCheck(dr);                                                                               \
 1299|    741|  xfrPacket(pr);                                                                                   \
 1300|    741|}                                                                                                  \
_ZN15KXRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN21IPSECKEYRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  2.25k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  2.25k|{                                                                                                  \
 1293|  2.25k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  2.25k|}                                                                                                  \
_ZN21IPSECKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  2.25k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  2.25k|{                                                                                                  \
 1298|  2.25k|  doRecordCheck(dr);                                                                               \
 1299|  2.25k|  xfrPacket(pr);                                                                                   \
 1300|  2.25k|}                                                                                                  \
_ZN21IPSECKEYRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18DHCIDRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    932|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    932|{                                                                                                  \
 1293|    932|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    932|}                                                                                                  \
_ZN18DHCIDRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    932|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    932|{                                                                                                  \
 1298|    932|  doRecordCheck(dr);                                                                               \
 1299|    932|  xfrPacket(pr);                                                                                   \
 1300|    932|}                                                                                                  \
_ZN18DHCIDRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18AFSDBRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    658|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    658|{                                                                                                  \
 1293|    658|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    658|}                                                                                                  \
_ZN18AFSDBRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    658|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    658|{                                                                                                  \
 1298|    658|  doRecordCheck(dr);                                                                               \
 1299|    658|  xfrPacket(pr);                                                                                   \
 1300|    658|}                                                                                                  \
_ZN18AFSDBRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18NAPTRRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    614|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    614|{                                                                                                  \
 1293|    614|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    614|}                                                                                                  \
_ZN18NAPTRRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    614|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    614|{                                                                                                  \
 1298|    614|  doRecordCheck(dr);                                                                               \
 1299|    614|  xfrPacket(pr);                                                                                   \
 1300|    614|}                                                                                                  \
_ZN18NAPTRRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16SRVRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    626|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    626|{                                                                                                  \
 1293|    626|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    626|}                                                                                                  \
_ZN16SRVRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    626|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    626|{                                                                                                  \
 1298|    626|  doRecordCheck(dr);                                                                               \
 1299|    626|  xfrPacket(pr);                                                                                   \
 1300|    626|}                                                                                                  \
_ZN16SRVRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16SOARecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  1.41k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.41k|{                                                                                                  \
 1293|  1.41k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.41k|}                                                                                                  \
_ZN16SOARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.41k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.41k|{                                                                                                  \
 1298|  1.41k|  doRecordCheck(dr);                                                                               \
 1299|  1.41k|  xfrPacket(pr);                                                                                   \
 1300|  1.41k|}                                                                                                  \
_ZN16SOARecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16KEYRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    618|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    618|{                                                                                                  \
 1293|    618|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    618|}                                                                                                  \
_ZN16KEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    618|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    618|{                                                                                                  \
 1298|    618|  doRecordCheck(dr);                                                                               \
 1299|    618|  xfrPacket(pr);                                                                                   \
 1300|    618|}                                                                                                  \
_ZN16KEYRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN19ZONEMDRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    532|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    532|{                                                                                                  \
 1293|    532|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    532|}                                                                                                  \
_ZN19ZONEMDRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    532|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    532|{                                                                                                  \
 1298|    532|  doRecordCheck(dr);                                                                               \
 1299|    532|  xfrPacket(pr);                                                                                   \
 1300|    532|}                                                                                                  \
_ZN19ZONEMDRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN17CERTRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  1.05k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.05k|{                                                                                                  \
 1293|  1.05k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.05k|}                                                                                                  \
_ZN17CERTRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.05k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.05k|{                                                                                                  \
 1298|  1.05k|  doRecordCheck(dr);                                                                               \
 1299|  1.05k|  xfrPacket(pr);                                                                                   \
 1300|  1.05k|}                                                                                                  \
_ZN17CERTRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN17TLSARecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    517|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    517|{                                                                                                  \
 1293|    517|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    517|}                                                                                                  \
_ZN17TLSARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    517|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    517|{                                                                                                  \
 1298|    517|  doRecordCheck(dr);                                                                               \
 1299|    517|  xfrPacket(pr);                                                                                   \
 1300|    517|}                                                                                                  \
_ZN17TLSARecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN23OPENPGPKEYRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  1.42k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.42k|{                                                                                                  \
 1293|  1.42k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.42k|}                                                                                                  \
_ZN23OPENPGPKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.42k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.42k|{                                                                                                  \
 1298|  1.42k|  doRecordCheck(dr);                                                                               \
 1299|  1.42k|  xfrPacket(pr);                                                                                   \
 1300|  1.42k|}                                                                                                  \
_ZN23OPENPGPKEYRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN17SVCBRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  5.64k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  5.64k|{                                                                                                  \
 1293|  5.64k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  5.64k|}                                                                                                  \
_ZN17SVCBRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  5.64k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  5.64k|{                                                                                                  \
 1298|  5.64k|  doRecordCheck(dr);                                                                               \
 1299|  5.64k|  xfrPacket(pr);                                                                                   \
 1300|  5.64k|}                                                                                                  \
_ZN17SVCBRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18HTTPSRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  2.01k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  2.01k|{                                                                                                  \
 1293|  2.01k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  2.01k|}                                                                                                  \
_ZN18HTTPSRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  2.01k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  2.01k|{                                                                                                  \
 1298|  2.01k|  doRecordCheck(dr);                                                                               \
 1299|  2.01k|  xfrPacket(pr);                                                                                   \
 1300|  2.01k|}                                                                                                  \
_ZN18HTTPSRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN17HHITRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    554|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    554|{                                                                                                  \
 1293|    554|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    554|}                                                                                                  \
_ZN17HHITRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    554|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    554|{                                                                                                  \
 1298|    554|  doRecordCheck(dr);                                                                               \
 1299|    554|  xfrPacket(pr);                                                                                   \
 1300|    554|}                                                                                                  \
_ZN17HHITRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN17BRIDRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    723|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    723|{                                                                                                  \
 1293|    723|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    723|}                                                                                                  \
_ZN17BRIDRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    723|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    723|{                                                                                                  \
 1298|    723|  doRecordCheck(dr);                                                                               \
 1299|    723|  xfrPacket(pr);                                                                                   \
 1300|    723|}                                                                                                  \
_ZN17BRIDRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN19SMIMEARecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    694|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    694|{                                                                                                  \
 1293|    694|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    694|}                                                                                                  \
_ZN19SMIMEARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    694|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    694|{                                                                                                  \
 1298|    694|  doRecordCheck(dr);                                                                               \
 1299|    694|  xfrPacket(pr);                                                                                   \
 1300|    694|}                                                                                                  \
_ZN19SMIMEARecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN15DSRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    911|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    911|{                                                                                                  \
 1293|    911|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    911|}                                                                                                  \
_ZN15DSRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    911|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    911|{                                                                                                  \
 1298|    911|  doRecordCheck(dr);                                                                               \
 1299|    911|  xfrPacket(pr);                                                                                   \
 1300|    911|}                                                                                                  \
_ZN15DSRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16CDSRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    544|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    544|{                                                                                                  \
 1293|    544|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    544|}                                                                                                  \
_ZN16CDSRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    544|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    544|{                                                                                                  \
 1298|    544|  doRecordCheck(dr);                                                                               \
 1299|    544|  xfrPacket(pr);                                                                                   \
 1300|    544|}                                                                                                  \
_ZN16CDSRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16DLVRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    569|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    569|{                                                                                                  \
 1293|    569|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    569|}                                                                                                  \
_ZN16DLVRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    569|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    569|{                                                                                                  \
 1298|    569|  doRecordCheck(dr);                                                                               \
 1299|    569|  xfrPacket(pr);                                                                                   \
 1300|    569|}                                                                                                  \
_ZN16DLVRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18SSHFPRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    744|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    744|{                                                                                                  \
 1293|    744|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    744|}                                                                                                  \
_ZN18SSHFPRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    744|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    744|{                                                                                                  \
 1298|    744|  doRecordCheck(dr);                                                                               \
 1299|    744|  xfrPacket(pr);                                                                                   \
 1300|    744|}                                                                                                  \
_ZN18SSHFPRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN18RRSIGRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  1.14k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.14k|{                                                                                                  \
 1293|  1.14k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.14k|}                                                                                                  \
_ZN18RRSIGRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.14k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.14k|{                                                                                                  \
 1298|  1.14k|  doRecordCheck(dr);                                                                               \
 1299|  1.14k|  xfrPacket(pr);                                                                                   \
 1300|  1.14k|}                                                                                                  \
_ZN18RRSIGRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN19DNSKEYRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    487|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    487|{                                                                                                  \
 1293|    487|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    487|}                                                                                                  \
_ZN19DNSKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    487|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    487|{                                                                                                  \
 1298|    487|  doRecordCheck(dr);                                                                               \
 1299|    487|  xfrPacket(pr);                                                                                   \
 1300|    487|}                                                                                                  \
_ZN19DNSKEYRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN20CDNSKEYRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    477|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    477|{                                                                                                  \
 1293|    477|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    477|}                                                                                                  \
_ZN20CDNSKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    477|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    477|{                                                                                                  \
 1298|    477|  doRecordCheck(dr);                                                                               \
 1299|    477|  xfrPacket(pr);                                                                                   \
 1300|    477|}                                                                                                  \
_ZN20CDNSKEYRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN17RKEYRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    913|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    913|{                                                                                                  \
 1293|    913|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    913|}                                                                                                  \
_ZN17RKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    913|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    913|{                                                                                                  \
 1298|    913|  doRecordCheck(dr);                                                                               \
 1299|    913|  xfrPacket(pr);                                                                                   \
 1300|    913|}                                                                                                  \
_ZN17RKEYRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16NIDRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    524|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    524|{                                                                                                  \
 1293|    524|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    524|}                                                                                                  \
_ZN16NIDRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    524|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    524|{                                                                                                  \
 1298|    524|  doRecordCheck(dr);                                                                               \
 1299|    524|  xfrPacket(pr);                                                                                   \
 1300|    524|}                                                                                                  \
_ZN16NIDRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16L32RecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    371|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    371|{                                                                                                  \
 1293|    371|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    371|}                                                                                                  \
_ZN16L32RecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    371|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    371|{                                                                                                  \
 1298|    371|  doRecordCheck(dr);                                                                               \
 1299|    371|  xfrPacket(pr);                                                                                   \
 1300|    371|}                                                                                                  \
_ZN16L32RecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16L64RecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    394|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    394|{                                                                                                  \
 1293|    394|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    394|}                                                                                                  \
_ZN16L64RecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    394|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    394|{                                                                                                  \
 1298|    394|  doRecordCheck(dr);                                                                               \
 1299|    394|  xfrPacket(pr);                                                                                   \
 1300|    394|}                                                                                                  \
_ZN16L64RecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN15LPRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    643|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    643|{                                                                                                  \
 1293|    643|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    643|}                                                                                                  \
_ZN15LPRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    643|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    643|{                                                                                                  \
 1298|    643|  doRecordCheck(dr);                                                                               \
 1299|    643|  xfrPacket(pr);                                                                                   \
 1300|    643|}                                                                                                  \
_ZN15LPRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN17TKEYRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  2.34k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  2.34k|{                                                                                                  \
 1293|  2.34k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  2.34k|}                                                                                                  \
_ZN17TKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  2.34k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  2.34k|{                                                                                                  \
 1298|  2.34k|  doRecordCheck(dr);                                                                               \
 1299|  2.34k|  xfrPacket(pr);                                                                                   \
 1300|  2.34k|}                                                                                                  \
_ZN16URIRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    753|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    753|{                                                                                                  \
 1293|    753|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    753|}                                                                                                  \
_ZN16URIRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    753|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    753|{                                                                                                  \
 1298|    753|  doRecordCheck(dr);                                                                               \
 1299|    753|  xfrPacket(pr);                                                                                   \
 1300|    753|}                                                                                                  \
_ZN16URIRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN16CAARecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  2.52k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  2.52k|{                                                                                                  \
 1293|  2.52k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  2.52k|}                                                                                                  \
_ZN16CAARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  2.52k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  2.52k|{                                                                                                  \
 1298|  2.52k|  doRecordCheck(dr);                                                                               \
 1299|  2.52k|  xfrPacket(pr);                                                                                   \
 1300|  2.52k|}                                                                                                  \
_ZN16CAARecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN20RESINFORecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    250|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    250|{                                                                                                  \
 1293|    250|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    250|}                                                                                                  \
_ZN20RESINFORecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    250|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    250|{                                                                                                  \
 1298|    250|  doRecordCheck(dr);                                                                               \
 1299|    250|  xfrPacket(pr);                                                                                   \
 1300|    250|}                                                                                                  \
_ZN20RESINFORecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
 1312|      1|void RNAME##RecordContent::report(const ReportIsOnlyCallableByReportAllTypes& /* unused */)        \
 1313|      1|{                                                                                                  \
 1314|      1|  regist(1, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);       \
 1315|      1|  regist(254, QType::RNAME, &RNAME##RecordContent::make, &RNAME##RecordContent::make, #RNAME);     \
 1316|      1|}                                                                                                  \
_ZN14ARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    899|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    899|{                                                                       \
 1343|    899|  CONV;                                                                 \
 1344|    899|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 899]
  ------------------
 1345|    899|}                                                                       \
_ZN17AAAARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    315|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    315|{                                                                       \
 1343|    315|  CONV;                                                                 \
 1344|    315|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 6, False: 309]
  ------------------
 1345|    315|}                                                                       \
_ZN15NSRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    594|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    594|{                                                                       \
 1343|    594|  CONV;                                                                 \
 1344|    594|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 592]
  ------------------
 1345|    594|}                                                                       \
_ZN16PTRRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    521|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    521|{                                                                       \
 1343|    521|  CONV;                                                                 \
 1344|    521|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 5, False: 516]
  ------------------
 1345|    521|}                                                                       \
_ZN18CNAMERecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    879|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    879|{                                                                       \
 1343|    879|  CONV;                                                                 \
 1344|    879|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 8, False: 871]
  ------------------
 1345|    879|}                                                                       \
_ZN18ALIASRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    594|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    594|{                                                                       \
 1343|    594|  CONV;                                                                 \
 1344|    594|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 6, False: 588]
  ------------------
 1345|    594|}                                                                       \
_ZN18DNAMERecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    763|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    763|{                                                                       \
 1343|    763|  CONV;                                                                 \
 1344|    763|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 12, False: 751]
  ------------------
 1345|    763|}                                                                       \
_ZN15MBRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    757|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    757|{                                                                       \
 1343|    757|  CONV;                                                                 \
 1344|    757|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 1, False: 756]
  ------------------
 1345|    757|}                                                                       \
_ZN15MGRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    597|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    597|{                                                                       \
 1343|    597|  CONV;                                                                 \
 1344|    597|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 5, False: 592]
  ------------------
 1345|    597|}                                                                       \
_ZN15MRRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    546|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    546|{                                                                       \
 1343|    546|  CONV;                                                                 \
 1344|    546|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 8, False: 538]
  ------------------
 1345|    546|}                                                                       \
_ZN18MINFORecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    849|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    849|{                                                                       \
 1343|    849|  CONV;                                                                 \
 1344|    849|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 1, False: 848]
  ------------------
 1345|    849|}                                                                       \
_ZN16TXTRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    605|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    605|{                                                                       \
 1343|    605|  CONV;                                                                 \
 1344|    605|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 605]
  ------------------
 1345|    605|}                                                                       \
_ZN16ENTRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    681|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    681|{                                                                       \
 1343|    681|  CONV;                                                                 \
 1344|    681|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 681]
  ------------------
 1345|    681|}                                                                       \
_ZN16SPFRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    500|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    500|{                                                                       \
 1343|    500|  CONV;                                                                 \
 1344|    500|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 500]
  ------------------
 1345|    500|}                                                                       \
_ZN18HINFORecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    778|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    778|{                                                                       \
 1343|    778|  CONV;                                                                 \
 1344|    778|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 776]
  ------------------
 1345|    778|}                                                                       \
_ZN15RPRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.12k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.12k|{                                                                       \
 1343|  1.12k|  CONV;                                                                 \
 1344|  1.12k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 1.12k]
  ------------------
 1345|  1.12k|}                                                                       \
_ZN16OPTRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.87k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.87k|{                                                                       \
 1343|  1.87k|  CONV;                                                                 \
 1344|  1.87k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 1.87k]
  ------------------
 1345|  1.87k|}                                                                       \
_ZN19WALLETRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    645|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    645|{                                                                       \
 1343|    645|  CONV;                                                                 \
 1344|    645|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 645]
  ------------------
 1345|    645|}                                                                       \
_ZN17TSIGRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    534|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    534|{                                                                       \
 1343|  1.39k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 163, False: 371]
  |  Branch (1343:3): [True: 161, False: 373]
  ------------------
 1344|    534|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 86, False: 448]
  ------------------
 1345|    534|}                                                                       \
_ZN15MXRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.05k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.05k|{                                                                       \
 1343|  1.05k|  CONV;                                                                 \
 1344|  1.05k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 1, False: 1.05k]
  ------------------
 1345|  1.05k|}                                                                       \
_ZN15KXRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    741|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    741|{                                                                       \
 1343|    741|  CONV;                                                                 \
 1344|    741|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 1, False: 740]
  ------------------
 1345|    741|}                                                                       \
_ZN21IPSECKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  2.25k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  2.25k|{                                                                       \
 1343|  2.52k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 1, False: 2.25k]
  |  Branch (1343:3): [True: 509, False: 1.74k]
  |  Branch (1343:3): [True: 458, False: 1.80k]
  |  Branch (1343:3): [True: 387, False: 1.87k]
  |  Branch (1343:3): [True: 897, False: 1.36k]
  |  Branch (1343:3): [True: 6, False: 2.23k]
  |  Branch (1343:3): [True: 251, False: 1.99k]
  |  Branch (1343:3): [True: 912, False: 1.32k]
  |  Branch (1343:3): [True: 1.07k, False: 1.16k]
  ------------------
 1344|  2.23k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 5, False: 2.22k]
  ------------------
 1345|  2.23k|}                                                                       \
_ZN18DHCIDRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    932|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    932|{                                                                       \
 1343|    932|  CONV;                                                                 \
 1344|    932|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 932]
  ------------------
 1345|    932|}                                                                       \
_ZN18AFSDBRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    658|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    658|{                                                                       \
 1343|    658|  CONV;                                                                 \
 1344|    658|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 3, False: 655]
  ------------------
 1345|    658|}                                                                       \
_ZN18NAPTRRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    614|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    614|{                                                                       \
 1343|    614|  CONV;                                                                 \
 1344|    614|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 1, False: 613]
  ------------------
 1345|    614|}                                                                       \
_ZN16SRVRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    626|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    626|{                                                                       \
 1343|    626|  CONV;                                                                 \
 1344|    626|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 624]
  ------------------
 1345|    626|}                                                                       \
_ZN16SOARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.41k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.41k|{                                                                       \
 1343|  1.41k|  CONV;                                                                 \
 1344|  1.41k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 3, False: 1.41k]
  ------------------
 1345|  1.41k|}                                                                       \
_ZN16KEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    618|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    618|{                                                                       \
 1343|    618|  CONV;                                                                 \
 1344|    618|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 618]
  ------------------
 1345|    618|}                                                                       \
_ZN19ZONEMDRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    532|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    532|{                                                                       \
 1343|    532|  CONV;                                                                 \
 1344|    532|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 532]
  ------------------
 1345|    532|}                                                                       \
_ZN17CERTRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.05k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.05k|{                                                                       \
 1343|  1.05k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 1, False: 1.05k]
  ------------------
 1344|  1.05k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 1.05k]
  ------------------
 1345|  1.05k|}                                                                       \
_ZN17TLSARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    517|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    517|{                                                                       \
 1343|    517|  CONV;                                                                 \
 1344|    517|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 517]
  ------------------
 1345|    517|}                                                                       \
_ZN23OPENPGPKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.42k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.42k|{                                                                       \
 1343|  1.42k|  CONV;                                                                 \
 1344|  1.42k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 1.42k]
  ------------------
 1345|  1.42k|}                                                                       \
_ZN17SVCBRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  5.64k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  5.64k|{                                                                       \
 1343|  11.0k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 5.42k, False: 212]
  ------------------
 1344|  5.64k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 5.63k]
  ------------------
 1345|  5.64k|}                                                                       \
_ZN18HTTPSRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  2.01k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  2.01k|{                                                                       \
 1343|  3.78k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 1.76k, False: 253]
  ------------------
 1344|  2.01k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 3, False: 2.01k]
  ------------------
 1345|  2.01k|}                                                                       \
_ZN17HHITRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    554|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    554|{                                                                       \
 1343|    554|  CONV;                                                                 \
 1344|    554|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 554]
  ------------------
 1345|    554|}                                                                       \
_ZN17BRIDRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    723|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    723|{                                                                       \
 1343|    723|  CONV;                                                                 \
 1344|    723|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 723]
  ------------------
 1345|    723|}                                                                       \
_ZN19SMIMEARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    694|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    694|{                                                                       \
 1343|    694|  CONV;                                                                 \
 1344|    694|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 694]
  ------------------
 1345|    694|}                                                                       \
_ZN15DSRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    911|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    911|{                                                                       \
 1343|    911|  CONV;                                                                 \
 1344|    911|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 911]
  ------------------
 1345|    911|}                                                                       \
_ZN16CDSRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    544|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    544|{                                                                       \
 1343|    544|  CONV;                                                                 \
 1344|    544|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 544]
  ------------------
 1345|    544|}                                                                       \
_ZN16DLVRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    569|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    569|{                                                                       \
 1343|    569|  CONV;                                                                 \
 1344|    569|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 569]
  ------------------
 1345|    569|}                                                                       \
_ZN18SSHFPRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    744|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    744|{                                                                       \
 1343|    744|  CONV;                                                                 \
 1344|    744|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 744]
  ------------------
 1345|    744|}                                                                       \
_ZN18RRSIGRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.14k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.14k|{                                                                       \
 1343|  1.14k|  CONV;                                                                 \
 1344|  1.14k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 1.14k]
  ------------------
 1345|  1.14k|}                                                                       \
_ZN19DNSKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    487|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    487|{                                                                       \
 1343|    487|  CONV;                                                                 \
 1344|    487|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 487]
  ------------------
 1345|    487|}                                                                       \
_ZN20CDNSKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    477|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    477|{                                                                       \
 1343|    477|  CONV;                                                                 \
 1344|    477|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 477]
  ------------------
 1345|    477|}                                                                       \
_ZN17RKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    913|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    913|{                                                                       \
 1343|    913|  CONV;                                                                 \
 1344|    913|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 913]
  ------------------
 1345|    913|}                                                                       \
_ZN16NIDRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    524|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    524|{                                                                       \
 1343|    524|  CONV;                                                                 \
 1344|    524|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 29, False: 495]
  ------------------
 1345|    524|}                                                                       \
_ZN16L32RecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    371|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    371|{                                                                       \
 1343|    371|  CONV;                                                                 \
 1344|    371|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 369]
  ------------------
 1345|    371|}                                                                       \
_ZN16L64RecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    394|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    394|{                                                                       \
 1343|    394|  CONV;                                                                 \
 1344|    394|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 20, False: 374]
  ------------------
 1345|    394|}                                                                       \
_ZN15LPRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    643|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    643|{                                                                       \
 1343|    643|  CONV;                                                                 \
 1344|    643|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 641]
  ------------------
 1345|    643|}                                                                       \
_ZN18EUI48RecordContentC2Ev:
 1166|    800|  EUI48RecordContent() = default;
_ZN18EUI64RecordContentC2Ev:
 1185|    338|  EUI64RecordContent() = default;
_ZN16APLRecordContentC2Ev:
 1216|  1.86k|  APLRecordContent() = default;
_ZN17TKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  2.34k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  2.34k|{                                                                       \
 1343|  6.95k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 1.07k, False: 1.27k]
  |  Branch (1343:3): [True: 1.18k, False: 1.16k]
  ------------------
 1344|  2.34k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 25, False: 2.32k]
  ------------------
 1345|  2.34k|}                                                                       \
_ZN16URIRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    753|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    753|{                                                                       \
 1343|    753|  CONV;                                                                 \
 1344|    753|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 753]
  ------------------
 1345|    753|}                                                                       \
_ZN16CAARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  2.52k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  2.52k|{                                                                       \
 1343|  2.52k|  CONV;                                                                 \
 1344|  2.52k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 2.52k]
  ------------------
 1345|  2.52k|}                                                                       \
_ZN20RESINFORecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    250|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    250|{                                                                       \
 1343|    250|  CONV;                                                                 \
 1344|    250|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 250]
  ------------------
 1345|    250|}                                                                       \
_ZN10NSECBitmapC2Ev:
  820|  5.95k|  NSECBitmap(): d_bitset(nullptr)
  821|  5.95k|  {
  822|  5.95k|  }
_ZN10NSECBitmap3setEt:
  851|   416k|  {
  852|   416k|    if (!d_bitset) {
  ------------------
  |  Branch (852:9): [True: 412k, False: 4.09k]
  ------------------
  853|   412k|      if (d_set.size() >= 200) {
  ------------------
  |  Branch (853:11): [True: 1.87k, False: 410k]
  ------------------
  854|  1.87k|        migrateToBitSet();
  855|  1.87k|      }
  856|   412k|    }
  857|   416k|    if (d_bitset) {
  ------------------
  |  Branch (857:9): [True: 5.96k, False: 410k]
  ------------------
  858|  5.96k|      d_bitset->set(type);
  859|  5.96k|    }
  860|   410k|    else {
  861|   410k|      d_set.insert(type);
  862|   410k|    }
  863|   416k|  }
_ZN10NSECBitmap15migrateToBitSetEv:
  891|  1.87k|  {
  892|  1.87k|    d_bitset = std::make_unique<std::bitset<nbTypes>>();
  893|   374k|    for (const auto& type : d_set) {
  ------------------
  |  Branch (893:27): [True: 374k, False: 1.87k]
  ------------------
  894|   374k|      d_bitset->set(type);
  895|   374k|    }
  896|  1.87k|    d_set.clear();
  897|  1.87k|  }
_ZN17NSECRecordContentC2Ev:
  911|  3.85k|  NSECRecordContent() = default;
_ZN18NSEC3RecordContentC2Ev:
  952|  1.16k|  NSEC3RecordContent() = default;
_ZN23NSEC3PARAMRecordContentC2Ev:
 1035|    662|  NSEC3PARAMRecordContent() = default;
_ZN18CSYNCRecordContentC2Ev:
 1002|    930|  CSYNCRecordContent() = default;
_ZN16LOCRecordContentC2Ev:
 1063|    626|  LOCRecordContent() = default;

LLVMFuzzerTestOneInput:
   39|  4.54k|{
   40|  4.54k|  static bool initialized = false;
   41|       |
   42|  4.54k|  if (!initialized) {
  ------------------
  |  Branch (42:7): [True: 1, False: 4.54k]
  ------------------
   43|      1|    init();
   44|      1|    initialized = true;
   45|      1|  }
   46|       |
   47|  4.54k|  if (size > std::numeric_limits<uint16_t>::max()) {
  ------------------
  |  Branch (47:7): [True: 6, False: 4.54k]
  ------------------
   48|      6|    return 0;
   49|      6|  }
   50|       |
   51|  4.54k|  try {
   52|  4.54k|    MOADNSParser moaQuery(true, reinterpret_cast<const char*>(data), size);
   53|  4.54k|  }
   54|  4.54k|  catch (const std::exception& e) {
   55|  3.48k|  }
   56|  4.54k|  catch (const PDNSException& e) {
   57|      0|  }
   58|       |
   59|  4.54k|  try {
   60|  4.54k|    MOADNSParser moaAnswer(false, reinterpret_cast<const char*>(data), size);
   61|  4.54k|  }
   62|  4.54k|  catch (const std::exception& e) {
   63|  3.59k|  }
   64|  4.54k|  catch (const PDNSException& e) {
   65|      0|  }
   66|       |
   67|  4.54k|  return 0;
   68|  4.54k|}
fuzz_moadnsparser.cc:_ZL4initv:
   32|      1|{
   33|      1|  reportAllTypes();
   34|      1|}

_ZN12ComboAddressC2Ev:
  212|  23.8k|  {
  213|       |    sin4.sin_family = AF_INET;
  214|  23.8k|    sin4.sin_addr.s_addr = 0;
  215|  23.8k|    sin4.sin_port = 0;
  216|  23.8k|    sin6.sin6_scope_id = 0;
  217|  23.8k|    sin6.sin6_flowinfo = 0;
  218|  23.8k|  }
_ZNK12ComboAddress6isIPv6Ev:
  263|    194|  {
  264|       |    return sin4.sin_family == AF_INET6;
  265|    194|  }
_ZNK12ComboAddress6isIPv4Ev:
  267|  11.7k|  {
  268|       |    return sin4.sin_family == AF_INET;
  269|  11.7k|  }
_Z23makeComboAddressFromRawhPKcm:
  661|  11.9k|{
  662|  11.9k|  ComboAddress address;
  663|       |
  664|  11.9k|  if (version == 4) {
  ------------------
  |  Branch (664:7): [True: 11.7k, False: 194]
  ------------------
  665|  11.7k|    address.sin4.sin_family = AF_INET;
  666|  11.7k|    if (len != sizeof(address.sin4.sin_addr)) {
  ------------------
  |  Branch (666:9): [True: 0, False: 11.7k]
  ------------------
  667|      0|      throw NetmaskException("invalid raw address length");
  668|      0|    }
  669|  11.7k|    memcpy(&address.sin4.sin_addr, raw, sizeof(address.sin4.sin_addr));
  670|  11.7k|  }
  671|    194|  else if (version == 6) {
  ------------------
  |  Branch (671:12): [True: 194, False: 0]
  ------------------
  672|    194|    address.sin6.sin6_family = AF_INET6;
  673|    194|    if (len != sizeof(address.sin6.sin6_addr)) {
  ------------------
  |  Branch (673:9): [True: 0, False: 194]
  ------------------
  674|      0|      throw NetmaskException("invalid raw address length");
  675|      0|    }
  676|    194|    memcpy(&address.sin6.sin6_addr, raw, sizeof(address.sin6.sin6_addr));
  677|    194|  }
  678|      0|  else {
  679|      0|    throw NetmaskException("invalid address family");
  680|      0|  }
  681|       |
  682|  11.9k|  return address;
  683|  11.9k|}
_Z23makeComboAddressFromRawhRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE:
  686|  11.9k|{
  687|  11.9k|  return makeComboAddressFromRaw(version, str.c_str(), str.size());
  688|  11.9k|}

_Z11makeHexDumpRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES7_:
  548|    244|{
  549|    244|  std::array<char, 5> tmp{};
  550|    244|  string ret;
  551|    244|  ret.reserve(static_cast<size_t>(str.size() * (2 + sep.size())));
  552|       |
  553|   758k|  for (char index : str) {
  ------------------
  |  Branch (553:19): [True: 758k, False: 244]
  ------------------
  554|   758k|    snprintf(tmp.data(), tmp.size(), "%02x", static_cast<unsigned char>(index));
  555|   758k|    ret += tmp.data();
  556|   758k|    ret += sep;
  557|   758k|  }
  558|    244|  return ret;
  559|    244|}

_ZN10NSECBitmap10fromPacketER12PacketReader:
   99|  5.89k|{
  100|  5.89k|  string bitmap;
  101|  5.89k|  pr.xfrBlob(bitmap);
  102|       |
  103|       |  // 00 06 20 00 00 00 00 03  -> NS RRSIG NSEC  ( 2, 46, 47 ) counts from left
  104|  5.89k|  if (bitmap.empty()) {
  ------------------
  |  Branch (104:7): [True: 1.89k, False: 4.00k]
  ------------------
  105|  1.89k|    return;
  106|  1.89k|  }
  107|       |
  108|  4.00k|  if (bitmap.size() < 2) {
  ------------------
  |  Branch (108:7): [True: 6, False: 3.99k]
  ------------------
  109|      6|    throw MOADNSException("NSEC record with impossibly small bitmap");
  110|      6|  }
  111|       |
  112|  3.99k|  size_t position = 0;
  113|  3.99k|  std::optional<uint8_t> lastWindowSeen{std::nullopt};
  114|  8.33k|  while (position + 1 < bitmap.size()) {
  ------------------
  |  Branch (114:10): [True: 4.95k, False: 3.37k]
  ------------------
  115|  4.95k|    const auto window = static_cast<uint8_t>(bitmap.at(position++));
  116|  4.95k|    const auto blen = static_cast<uint8_t>(bitmap.at(position++));
  117|       |
  118|       |    // end if zero padding and ensure packet length
  119|  4.95k|    if (window == 0 && blen == 0) {
  ------------------
  |  Branch (119:9): [True: 1.40k, False: 3.55k]
  |  Branch (119:24): [True: 513, False: 891]
  ------------------
  120|    513|      break;
  121|    513|    }
  122|       |
  123|       |    // rfc4034: "Blocks are present in the NSEC RR RDATA in increasing numerical order."
  124|  4.44k|    if (lastWindowSeen.has_value() && lastWindowSeen.value() >= window) {
  ------------------
  |  Branch (124:9): [True: 862, False: 3.58k]
  |  Branch (124:39): [True: 61, False: 801]
  ------------------
  125|     61|      throw MOADNSException("NSEC record with out of order blocks");
  126|     61|    }
  127|       |
  128|  4.38k|    if (blen > 32) {
  ------------------
  |  Branch (128:9): [True: 31, False: 4.35k]
  ------------------
  129|     31|      throw MOADNSException("NSEC record with invalid bitmap length");
  130|     31|    }
  131|       |
  132|  4.35k|    if (position + blen > bitmap.size()) {
  ------------------
  |  Branch (132:9): [True: 13, False: 4.33k]
  ------------------
  133|     13|      throw MOADNSException("NSEC record with bitmap length > packet length");
  134|     13|    }
  135|       |
  136|  4.33k|    lastWindowSeen = window;
  137|       |
  138|  64.3k|    for (unsigned int k = 0; k < blen; k++) {
  ------------------
  |  Branch (138:30): [True: 60.0k, False: 4.33k]
  ------------------
  139|  60.0k|      uint8_t val = bitmap.at(position++);
  140|   540k|      for (int bit = 0; bit < 8 ; ++bit , val >>= 1U) {
  ------------------
  |  Branch (140:25): [True: 480k, False: 60.0k]
  ------------------
  141|   480k|        if ((val & 1U) != 0) {
  ------------------
  |  Branch (141:13): [True: 416k, False: 63.2k]
  ------------------
  142|   416k|          set((7 - bit) + (8 * k) + (256 * window));
  143|   416k|        }
  144|   480k|      }
  145|  60.0k|    }
  146|  4.33k|  }
  147|       |
  148|  3.89k|  if (position != bitmap.size()) {
  ------------------
  |  Branch (148:7): [True: 46, False: 3.84k]
  ------------------
  149|     46|    throw MOADNSException("NSEC record does not use all the record bytes");
  150|     46|  }
  151|       |
  152|  3.89k|}
_ZN17NSECRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
  182|      1|{
  183|      1|  regist(1, 47, &make, &make, "NSEC");
  184|      1|}
_ZN17NSECRecordContent4makeERK9DNSRecordR12PacketReader:
  210|  3.85k|{
  211|  3.85k|  auto ret=std::make_shared<NSECRecordContent>();
  212|  3.85k|  pr.xfrName(ret->d_next);
  213|       |
  214|  3.85k|  ret->d_bitmap.fromPacket(pr);
  215|  3.85k|  if (!pr.eof()) {
  ------------------
  |  Branch (215:7): [True: 0, False: 3.85k]
  ------------------
  216|      0|    throw MOADNSException("When parsing NSEC trailing data was not parsed: '" + pr.getRemaining() + "'");
  217|      0|  }
  218|       |
  219|  3.85k|  return ret;
  220|  3.85k|}
_ZN18NSEC3RecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
  234|      1|{
  235|      1|  regist(1, 50, &make, &make, "NSEC3");
  236|      1|}
_ZN18NSEC3RecordContent4makeERK9DNSRecordR12PacketReader:
  275|  1.16k|{
  276|  1.16k|  auto ret=std::make_shared<NSEC3RecordContent>();
  277|  1.16k|  pr.xfr8BitInt(ret->d_algorithm);
  278|  1.16k|  pr.xfr8BitInt(ret->d_flags);
  279|  1.16k|  pr.xfr16BitInt(ret->d_iterations);
  280|  1.16k|  uint8_t len;
  281|  1.16k|  pr.xfr8BitInt(len);
  282|  1.16k|  pr.xfrBlob(ret->d_salt, len);
  283|       |
  284|  1.16k|  pr.xfr8BitInt(len);
  285|  1.16k|  pr.xfrBlob(ret->d_nexthash, len);
  286|       |
  287|  1.16k|  ret->d_bitmap.fromPacket(pr);
  288|  1.16k|  if (!pr.eof()) {
  ------------------
  |  Branch (288:7): [True: 0, False: 1.16k]
  ------------------
  289|      0|    throw MOADNSException("When parsing NSEC3 trailing data was not parsed: '" + pr.getRemaining() + "'");
  290|      0|  }
  291|  1.16k|  return ret;
  292|  1.16k|}
_ZN23NSEC3PARAMRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
  310|      1|{
  311|      1|  regist(1, 51, &make, &make, "NSEC3PARAM");
  312|      1|  regist(254, 51, &make, &make, "NSEC3PARAM");
  313|      1|}
_ZN23NSEC3PARAMRecordContent4makeERK9DNSRecordR12PacketReader:
  340|    662|{
  341|    662|  auto ret=std::make_shared<NSEC3PARAMRecordContent>();
  342|    662|  pr.xfr8BitInt(ret->d_algorithm);
  343|    662|        pr.xfr8BitInt(ret->d_flags);
  344|    662|        pr.xfr16BitInt(ret->d_iterations);
  345|    662|  uint8_t len;
  346|    662|  pr.xfr8BitInt(len);
  347|    662|  pr.xfrHexBlob(ret->d_salt, len);
  348|    662|  return ret;
  349|    662|}
_ZN18CSYNCRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
  367|      1|{
  368|      1|  regist(1, 62, &make, &make, "CSYNC");
  369|      1|}
_ZN18CSYNCRecordContent4makeERK9DNSRecordR12PacketReader:
  398|    930|{
  399|    930|  auto ret=std::make_shared<CSYNCRecordContent>();
  400|    930|  pr.xfr32BitInt(ret->d_serial);
  401|    930|  pr.xfr16BitInt(ret->d_flags);
  402|       |
  403|    930|  ret->d_bitmap.fromPacket(pr);
  404|    930|  if (!pr.eof()) {
  ------------------
  |  Branch (404:7): [True: 0, False: 930]
  ------------------
  405|      0|    throw MOADNSException("When parsing CSYNC trailing data was not parsed: '" + pr.getRemaining() + "'");
  406|      0|  }
  407|    930|  return ret;
  408|    930|}

qtype.cc:_ZL12swapElementsRKNSt3__13mapIKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEtNS_4lessIS7_EENS4_INS_4pairIS7_tEEEEEE:
   98|      2|{
   99|      2|  std::map<uint16_t, const std::string> ret;
  100|       |
  101|    128|  for (const auto& name : names) {
  ------------------
  |  Branch (101:25): [True: 128, False: 2]
  ------------------
  102|    128|    ret.emplace(name.second, name.first);
  103|    128|  }
  104|      2|  return ret;
  105|      2|}

_ZNK6QClasscvtEv:
  201|   202k|  {
  202|   202k|    return qclass;
  203|   202k|  }

_ZN16LOCRecordContent6reportERK36ReportIsOnlyCallableByReportAllTypes:
  202|      1|{
  203|      1|  regist(1, QType::LOC, &make, &make, "LOC");
  204|      1|  regist(254, QType::LOC, &make, &make, "LOC");
  205|      1|}
_ZN16LOCRecordContent4makeERK9DNSRecordR12PacketReader:
  226|    626|{
  227|    626|  auto ret=std::make_shared<LOCRecordContent>();
  228|    626|  pr.xfr8BitInt(ret->d_version);
  229|    626|  pr.xfr8BitInt(ret->d_size);
  230|    626|  pr.xfr8BitInt(ret->d_horizpre);
  231|    626|  pr.xfr8BitInt(ret->d_vertpre);
  232|       |
  233|    626|  pr.xfr32BitInt(ret->d_latitude);
  234|    626|  pr.xfr32BitInt(ret->d_longitude);
  235|    626|  pr.xfr32BitInt(ret->d_altitude);
  236|    626|  if (!pr.eof()) {
  ------------------
  |  Branch (236:7): [True: 1, False: 625]
  ------------------
  237|      1|    throw MOADNSException("When parsing LOC trailing data was not parsed: '" + pr.getRemaining() + "'");
  238|      1|  }
  239|       |
  240|    625|  return ret;
  241|    626|}

_ZN7StatBagC2Ev:
   40|      2|{
   41|      2|  d_doRings=false;
   42|      2|  d_allowRedeclare=false;
   43|      2|}

_ZN8SvcParam11keyToStringERKNS_11SvcParamKeyE:
   66|     21|{
   67|     21|  auto ret = std::find_if(SvcParams.begin(), SvcParams.end(), [&](const std::pair<std::string, SvcParam::SvcParamKey>& e) { return e.second == k; });
   68|     21|  if (ret != SvcParams.end()) {
  ------------------
  |  Branch (68:7): [True: 21, False: 0]
  ------------------
   69|     21|    return ret->first;
   70|     21|  }
   71|      0|  return "key" + std::to_string(k);
   72|     21|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyE:
   75|  1.24k|{
   76|  1.24k|  d_key = key;
   77|  1.24k|  if (d_key != SvcParamKey::no_default_alpn && d_key != SvcParamKey::ohttp && d_key != SvcParamKey::pvd) {
  ------------------
  |  Branch (77:7): [True: 526, False: 719]
  |  Branch (77:48): [True: 276, False: 250]
  |  Branch (77:79): [True: 0, False: 276]
  ------------------
   78|      0|    throw std::invalid_argument("can not create non-empty SvcParam for key '" + keyToString(key) + "'");
   79|      0|  }
   80|  1.24k|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   83|  3.08k|{
   84|  3.08k|  d_key = key;
   85|  3.08k|  if (d_key != SvcParamKey::ech && d_key != SvcParamKey::dohpath && d_key < 11) {
  ------------------
  |  Branch (85:7): [True: 2.21k, False: 869]
  |  Branch (85:36): [True: 2.01k, False: 200]
  |  Branch (85:69): [True: 0, False: 2.01k]
  ------------------
   86|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a string value");
   87|      0|  }
   88|  3.08k|  if (d_key == SvcParamKey::ech) {
  ------------------
  |  Branch (88:7): [True: 869, False: 2.21k]
  ------------------
   89|    869|    std::string d;
   90|       |    // TODO check Base64 decode
   91|    869|    d_ech = value;
   92|    869|    return;
   93|    869|  }
   94|  2.21k|  d_value = value;
   95|  2.21k|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEONSt3__16vectorINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS8_ISA_EEEE:
   98|  1.26k|{
   99|  1.26k|  d_key = key;
  100|  1.26k|  if (d_key != SvcParamKey::alpn && d_key != SvcParamKey::docpath) {
  ------------------
  |  Branch (100:7): [True: 344, False: 916]
  |  Branch (100:37): [True: 0, False: 344]
  ------------------
  101|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a string-set value");
  102|      0|  }
  103|  1.26k|  d_alpn = std::move(value);
  104|  1.26k|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEONSt3__13setIS0_NS3_4lessIS0_EENS3_9allocatorIS0_EEEE:
  120|    869|{
  121|    869|  d_key = key;
  122|    869|  if (d_key != SvcParamKey::mandatory) {
  ------------------
  |  Branch (122:7): [True: 0, False: 869]
  ------------------
  123|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a SvcParamKey-set value");
  124|      0|  }
  125|    869|  d_mandatory = std::move(value);
  126|    869|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEONSt3__16vectorI12ComboAddressNS3_9allocatorIS5_EEEE:
  129|  1.22k|{
  130|  1.22k|  d_key = key;
  131|  1.22k|  if (d_key != SvcParamKey::ipv6hint && d_key != SvcParamKey::ipv4hint) {
  ------------------
  |  Branch (131:7): [True: 545, False: 683]
  |  Branch (131:41): [True: 0, False: 545]
  ------------------
  132|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with an IP address value");
  133|      0|  }
  134|  11.9k|  for (auto const& addr : value) {
  ------------------
  |  Branch (134:25): [True: 11.9k, False: 1.22k]
  ------------------
  135|  11.9k|    if (d_key == SvcParam::ipv6hint && !addr.isIPv6()) {
  ------------------
  |  Branch (135:9): [True: 194, False: 11.7k]
  |  Branch (135:40): [True: 0, False: 194]
  ------------------
  136|      0|      throw std::invalid_argument("non-IPv6 address ('" + addr.toString() + "') passed for " + keyToString(key));
  137|      0|    }
  138|  11.9k|    if (d_key == SvcParam::ipv4hint && !addr.isIPv4()) {
  ------------------
  |  Branch (138:9): [True: 11.7k, False: 194]
  |  Branch (138:40): [True: 0, False: 11.7k]
  ------------------
  139|      0|      throw std::invalid_argument("non-IPv4 address ('" + addr.toString() + "') passed for " + keyToString(key));
  140|      0|    }
  141|  11.9k|  }
  142|  1.22k|  d_ipHints = std::move(value);
  143|  1.22k|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEONSt3__16vectorItNS3_9allocatorItEEEE:
  146|    540|  d_key(key)
  147|    540|{
  148|    540|  if (d_key != SvcParamKey::tls_supported_groups) {
  ------------------
  |  Branch (148:7): [True: 0, False: 540]
  ------------------
  149|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a uint16 value-vector");
  150|      0|  }
  151|    540|  d_tls_supported_groups = std::move(value);
  152|    540|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEt:
  155|    264|{
  156|    264|  d_key = key;
  157|    264|  if (d_key != SvcParamKey::port) {
  ------------------
  |  Branch (157:7): [True: 0, False: 264]
  ------------------
  158|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a port value");
  159|      0|  }
  160|    264|  d_port = value;
  161|    264|}
_ZNK8SvcParamltERKS_:
  165|  7.20k|{
  166|  7.20k|  return this->d_key < other.getKey();
  167|  7.20k|}
svc-records.cc:_ZZN8SvcParam11keyToStringERKNS_11SvcParamKeyEENK3$_0clERKNSt3__14pairINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES0_EE:
   67|    170|  auto ret = std::find_if(SvcParams.begin(), SvcParams.end(), [&](const std::pair<std::string, SvcParam::SvcParamKey>& e) { return e.second == k; });

_ZNK8SvcParam6getKeyEv:
   99|  7.20k|  {
  100|  7.20k|    return d_key;
  101|  7.20k|  }
_ZN8SvcParam11setAutoHintEb:
  112|  1.22k|  void setAutoHint(const bool value) { d_autohint = value; };

_ZN4pdns5views16UnsignedCharViewC2EPKcm:
   33|   311k|    view(data_, size_)
   34|   311k|  {
   35|   311k|  }
_ZNK4pdns5views16UnsignedCharView2atEm:
   44|   884k|  {
   45|   884k|    return reinterpret_cast<const unsigned char&>(view.at(pos));
   46|   884k|  }
_ZNK4pdns5views16UnsignedCharView4sizeEv:
   60|   326k|  {
   61|   326k|    return view.size();
   62|   326k|  }

