_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|   293k|{
  130|   293k|  if (offset >= len)
  ------------------
  |  Branch (130:7): [True: 4.62k, False: 288k]
  ------------------
  131|  4.62k|    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|   314k|{
  155|   314k|  const size_t initialPos = pos;
  156|   314k|  auto existingSize = d_storage.size();
  157|   314k|  const size_t neededSizeForFinalLabel = /* final empty label length */ (existingSize == 0 ? 1U : 0U);
  ------------------
  |  Branch (157:74): [True: 303k, False: 11.2k]
  ------------------
  158|   314k|  size_t totalLength = 0;
  159|   314k|  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: 26.6k, False: 148k]
  ------------------
  171|  26.6k|      if (!uncompress) {
  ------------------
  |  Branch (171:11): [True: 0, False: 26.6k]
  ------------------
  172|      0|        throw std::range_error("Found compressed label, instructed not to follow");
  173|      0|      }
  174|  26.6k|      --pos;
  175|  26.6k|      break;
  176|  26.6k|    }
  177|       |
  178|   148k|    if ((labellen & 0xc0) != 0) {
  ------------------
  |  Branch (178:9): [True: 191, False: 148k]
  ------------------
  179|    191|      throw std::range_error("Found an invalid label length in qname (only one of the first two bits is set)");
  180|    191|    }
  181|   148k|    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|   148k|    if ((existingSize + totalLength + labellen + 1U + neededSizeForFinalLabel) > s_maxDNSNameLength) {
  ------------------
  |  Branch (184:9): [True: 8, False: 148k]
  ------------------
  185|      8|      throw std::range_error("name too long to append");
  186|      8|    }
  187|   148k|    if (pos + labellen >= view.size()) {
  ------------------
  |  Branch (187:9): [True: 346, False: 148k]
  ------------------
  188|    346|      throw std::range_error("Found an invalid label length in qname");
  189|    346|    }
  190|   148k|    pos += labellen;
  191|   148k|    totalLength += 1U + labellen;
  192|   148k|  }
  193|   314k|  while (pos < view.size());
  ------------------
  |  Branch (193:10): [True: 148k, False: 0]
  ------------------
  194|       |
  195|   313k|  if (totalLength != 0) {
  ------------------
  |  Branch (195:7): [True: 87.7k, False: 226k]
  ------------------
  196|  87.7k|    if (existingSize > 0) {
  ------------------
  |  Branch (196:9): [True: 9.30k, False: 78.4k]
  ------------------
  197|       |      // remove the last label count, we are about to override it */
  198|  9.30k|      --existingSize;
  199|  9.30k|    }
  200|  87.7k|    if ((existingSize + totalLength + 1U) > s_maxDNSNameLength) {
  ------------------
  |  Branch (200:9): [True: 0, False: 87.7k]
  ------------------
  201|      0|      throw std::range_error("name too long to append");
  202|      0|    }
  203|  87.7k|    d_storage.reserve(existingSize + totalLength + 1);
  204|  87.7k|    d_storage.resize(existingSize + totalLength);
  205|  87.7k|    memcpy(&d_storage.at(existingSize), &view.at(initialPos), totalLength);
  206|  87.7k|    d_storage.append(1, static_cast<char>(0));
  207|  87.7k|  }
  208|   313k|  return pos;
  209|   313k|}
_ZN7DNSName12packetParserEPKcmmbPtS2_PjittPm:
  213|   314k|{
  214|   314k|  if (offset >= len) {
  ------------------
  |  Branch (214:7): [True: 0, False: 314k]
  ------------------
  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|   314k|  if (offset < static_cast<size_t>(minOffset)) {
  ------------------
  |  Branch (218:7): [True: 0, False: 314k]
  ------------------
  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|   314k|  unsigned char labellen{0};
  222|       |
  223|   314k|  pdns::views::UnsignedCharView view(qpos, len);
  224|   314k|  auto pos = parsePacketUncompressed(view, offset, uncompress);
  225|       |
  226|       |
  227|   314k|  labellen = view.at(pos);
  228|   314k|  if (pos == offset && labellen != 0) {
  ------------------
  |  Branch (228:7): [True: 226k, False: 88.3k]
  |  Branch (228:24): [True: 15.1k, False: 210k]
  ------------------
  229|       |    // It's a pointer
  230|  15.1k|    if (pointerBudget != nullptr) {
  ------------------
  |  Branch (230:9): [True: 15.1k, False: 0]
  ------------------
  231|  15.1k|      if (*pointerBudget == 0) {
  ------------------
  |  Branch (231:11): [True: 0, False: 15.1k]
  ------------------
  232|      0|        throw std::range_error("Too many compression pointers processed in packet");
  233|      0|      }
  234|  15.1k|      (*pointerBudget)--;
  235|  15.1k|    }
  236|       |    // Are we chasing a pointer chain already for this name?
  237|  15.1k|    if (pointerChainLength++ > s_maxPointersToPointers) {
  ------------------
  |  Branch (237:9): [True: 3, False: 15.1k]
  ------------------
  238|      3|      throw std::range_error("Too many pointer to pointers during decompression (" + std::to_string(pointerChainLength) + ")");
  239|      3|    }
  240|  15.1k|  }
  241|   299k|  else {
  242|   299k|    pointerChainLength = 0; // not an immediate pointer to pointer case any more
  243|   299k|  }
  244|   314k|  pos++;
  245|   314k|  if (labellen != 0 && pos < view.size()) {
  ------------------
  |  Branch (245:7): [True: 26.6k, False: 287k]
  |  Branch (245:24): [True: 26.2k, False: 398]
  ------------------
  246|  26.2k|    if (labellen < 0xc0) {
  ------------------
  |  Branch (246:9): [True: 0, False: 26.2k]
  ------------------
  247|      0|      throw std::range_error("Invalid label byte during decompression ("+std::to_string(labellen)+")");
  248|      0|    }
  249|       |
  250|  26.2k|    if (!uncompress) {
  ------------------
  |  Branch (250:9): [True: 0, False: 26.2k]
  ------------------
  251|      0|      throw std::range_error("Found compressed label, instructed not to follow");
  252|      0|    }
  253|       |
  254|  26.2k|    labellen &= (~0xc0);
  255|  26.2k|    size_t newpos = (labellen << 8) + view.at(pos);
  256|       |
  257|  26.2k|    if (newpos >= offset) {
  ------------------
  |  Branch (257:9): [True: 173, False: 26.1k]
  ------------------
  258|    173|      throw std::range_error("Found a forward reference during label decompression");
  259|    173|    }
  260|       |
  261|  26.1k|    if (newpos < minOffset) {
  ------------------
  |  Branch (261:9): [True: 17, False: 26.0k]
  ------------------
  262|     17|      throw std::range_error("Invalid label position during decompression ("+std::to_string(newpos)+ " < "+std::to_string(minOffset)+")");
  263|     17|    }
  264|       |
  265|  26.0k|    if (++depth > s_maxPointersPerName) {
  ------------------
  |  Branch (265:9): [True: 1, False: 26.0k]
  ------------------
  266|      1|      throw std::range_error("Abort label decompression after too many redirects (" + std::to_string(depth) + ")");
  267|      1|    }
  268|       |
  269|  26.0k|    packetParser(qpos, len, newpos, true, nullptr, nullptr, nullptr, depth, minOffset, pointerChainLength, pointerBudget);
  270|       |
  271|  26.0k|    pos++;
  272|  26.0k|  }
  273|       |
  274|   314k|  if (d_storage.empty()) {
  ------------------
  |  Branch (274:7): [True: 209k, False: 105k]
  ------------------
  275|   209k|    d_storage.append(1, static_cast<char>(0)); // we just parsed the root
  276|   209k|  }
  277|       |
  278|   314k|  if (consumed != nullptr) {
  ------------------
  |  Branch (278:7): [True: 287k, False: 26.6k]
  ------------------
  279|   287k|    *consumed = pos - offset;
  280|   287k|  }
  281|       |
  282|   314k|  if (qtype != nullptr) {
  ------------------
  |  Branch (282:7): [True: 0, False: 314k]
  ------------------
  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|   314k|  pos += 2;
  290|   314k|  if (qclass != nullptr) {
  ------------------
  |  Branch (290:7): [True: 0, False: 314k]
  ------------------
  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|   314k|}
_ZNK7DNSName8toStringERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEb:
  299|    318|{
  300|    318|  std::string ret;
  301|    318|  toString(ret, separator, trailing);
  302|    318|  return ret;
  303|    318|}
_ZNK7DNSName8toStringERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERKS6_b:
  306|    318|{
  307|    318|  if (empty()) {
  ------------------
  |  Branch (307:7): [True: 153, False: 165]
  ------------------
  308|    153|    throw std::out_of_range("Attempt to print an unset DNSName");
  309|    153|  }
  310|       |
  311|    165|  if (isRoot()) {
  ------------------
  |  Branch (311:7): [True: 13, False: 152]
  ------------------
  312|     13|    output += (trailing ? separator : "");
  ------------------
  |  Branch (312:16): [True: 13, False: 0]
  ------------------
  313|     13|    return;
  314|     13|  }
  315|       |
  316|    152|  if (output.capacity() < (output.size() + d_storage.size())) {
  ------------------
  |  Branch (316:7): [True: 41, False: 111]
  ------------------
  317|     41|    output.reserve(output.size() + d_storage.size());
  318|     41|  }
  319|       |
  320|    152|  {
  321|       |    // iterate over the raw labels
  322|    152|    const char* p = d_storage.c_str();
  323|    152|    const char* end = p + d_storage.size();
  324|       |
  325|    749|    while (p < end && *p) {
  ------------------
  |  Branch (325:12): [True: 749, False: 0]
  |  Branch (325:23): [True: 597, False: 152]
  ------------------
  326|    597|      appendEscapedLabel(output, p + 1, static_cast<size_t>(*p));
  327|    597|      output += separator;
  328|    597|      p += *p + 1;
  329|    597|    }
  330|    152|  }
  331|       |
  332|    152|  if (!trailing) {
  ------------------
  |  Branch (332:7): [True: 149, False: 3]
  ------------------
  333|    149|    output.resize(output.size() - separator.size());
  334|    149|  }
  335|    152|}
_ZNK7DNSName11toLogStringEv:
  338|    278|{
  339|    278|  if (empty()) {
  ------------------
  |  Branch (339:7): [True: 99, False: 179]
  ------------------
  340|     99|    return "(empty)";
  341|     99|  }
  342|       |
  343|    179|  return toStringRootDot();
  344|    278|}
_ZN7DNSName18appendEscapedLabelERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPKcm:
  723|    597|{
  724|    597|  size_t pos = 0;
  725|       |
  726|  4.44k|  while (pos < len) {
  ------------------
  |  Branch (726:10): [True: 3.84k, False: 597]
  ------------------
  727|  3.84k|    auto p = static_cast<uint8_t>(orig[pos]);
  728|  3.84k|    if (p=='.') {
  ------------------
  |  Branch (728:9): [True: 221, False: 3.62k]
  ------------------
  729|    221|      appendTo+="\\.";
  730|    221|    }
  731|  3.62k|    else if (p=='\\') {
  ------------------
  |  Branch (731:14): [True: 236, False: 3.38k]
  ------------------
  732|    236|      appendTo+="\\\\";
  733|    236|    }
  734|  3.38k|    else if (p > 0x20 && p < 0x7f) {
  ------------------
  |  Branch (734:14): [True: 1.74k, False: 1.64k]
  |  Branch (734:26): [True: 1.06k, False: 676]
  ------------------
  735|  1.06k|      appendTo.append(1, static_cast<char>(p));
  736|  1.06k|    }
  737|  2.31k|    else {
  738|  2.31k|      char buf[] = "000";
  739|  2.31k|      auto got = snprintf(buf, sizeof(buf), "%03" PRIu8, p);
  740|  2.31k|      if (got < 0 || static_cast<size_t>(got) >= sizeof(buf)) {
  ------------------
  |  Branch (740:11): [True: 0, False: 2.31k]
  |  Branch (740:22): [True: 0, False: 2.31k]
  ------------------
  741|      0|        throw std::runtime_error("Error, snprintf returned " + std::to_string(got) + " while escaping label " + std::string(orig, len));
  742|      0|      }
  743|  2.31k|      appendTo.append(1, '\\');
  744|  2.31k|      appendTo += buf;
  745|  2.31k|    }
  746|  3.84k|    ++pos;
  747|  3.84k|  }
  748|    597|}
_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|   148k|{
  144|   148k|  if (length == 0) {
  ------------------
  |  Branch (144:7): [True: 0, False: 148k]
  ------------------
  145|      0|    throw std::range_error("no such thing as an empty label to append");
  146|      0|  }
  147|   148k|  if (length > DNSName::s_maxDNSLabelLength) {
  ------------------
  |  Branch (147:7): [True: 0, False: 148k]
  ------------------
  148|      0|    throw std::range_error("label too long to append");
  149|      0|  }
  150|   148k|}

_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|    179|  std::string toStringRootDot() const { if(isRoot()) return "."; else return toString(".", false); }
  ------------------
  |  Branch (180:44): [True: 30, False: 149]
  ------------------
_ZNK7DNSName5emptyEv:
  210|    596|  bool empty() const { return d_storage.empty(); }
_ZNK7DNSName6isRootEv:
  211|    344|  bool isRoot() const { return d_storage.size()==1 && d_storage[0]==0; }
  ------------------
  |  Branch (211:32): [True: 43, False: 301]
  |  Branch (211:55): [True: 43, False: 0]
  ------------------
_ZN7DNSNameC2ERKS_:
  164|   129k|  DNSName(const DNSName& a) = default;
_ZN7DNSNameC2Ev:
  148|   243k|  DNSName() = default; //!< Constructs an *empty* DNSName, NOT the root!
_ZN7DNSNameC2EOS_:
  165|   189k|  DNSName(DNSName&& a) = default;

_ZN16DNSRecordContent4makeERK9DNSRecordR12PacketReadert:
  259|  96.9k|{
  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|  96.9k|  if (oc == Opcode::Update && dr.d_place == DNSResourceRecord::ANSWER && dr.d_class != 1)
  ------------------
  |  Branch (263:7): [True: 21.8k, False: 75.0k]
  |  Branch (263:31): [True: 10.6k, False: 11.2k]
  |  Branch (263:74): [True: 3.10k, False: 7.55k]
  ------------------
  264|  3.10k|    return std::make_shared<UnknownRecordContent>(dr, pr);
  265|       |
  266|  93.8k|  uint16_t searchclass = (dr.d_type == QType::OPT) ? 1 : dr.d_class; // class is invalid for OPT
  ------------------
  |  Branch (266:26): [True: 1.59k, False: 92.2k]
  ------------------
  267|       |
  268|  93.8k|  auto i = getTypemap().find(pair(searchclass, dr.d_type));
  269|  93.8k|  if(i==getTypemap().end() || !i->second) {
  ------------------
  |  Branch (269:6): [True: 31.7k, False: 62.1k]
  |  Branch (269:6): [True: 31.7k, False: 62.1k]
  |  Branch (269:31): [True: 0, False: 62.1k]
  ------------------
  270|  31.7k|    return std::make_shared<UnknownRecordContent>(dr, pr);
  271|  31.7k|  }
  272|       |
  273|  62.1k|  return i->second(dr, pr);
  274|  93.8k|}
_ZN16DNSRecordContent10getTypemapEv:
  284|   187k|{
  285|   187k|  static DNSRecordContent::typemap_t typemap;
  286|   187k|  return typemap;
  287|   187k|}
_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.19k|{
  337|  9.19k|  if (packet.size() < sizeof(dnsheader))
  ------------------
  |  Branch (337:7): [True: 14, False: 9.17k]
  ------------------
  338|     14|    throw MOADNSException("Packet shorter than minimal header");
  339|       |
  340|  9.17k|  memcpy(&d_header, packet.data(), sizeof(dnsheader));
  341|       |
  342|  9.17k|  if(d_header.opcode != Opcode::Query && d_header.opcode != Opcode::Notify && d_header.opcode != Opcode::Update)
  ------------------
  |  Branch (342:6): [True: 2.51k, False: 6.66k]
  |  Branch (342:42): [True: 1.75k, False: 762]
  |  Branch (342:79): [True: 12, False: 1.74k]
  ------------------
  343|     12|    throw MOADNSException("Can't parse non-query packet with opcode="+ std::to_string(d_header.opcode));
  344|       |
  345|  9.16k|  d_header.qdcount=ntohs(d_header.qdcount);
  346|  9.16k|  d_header.ancount=ntohs(d_header.ancount);
  347|  9.16k|  d_header.nscount=ntohs(d_header.nscount);
  348|  9.16k|  d_header.arcount=ntohs(d_header.arcount);
  349|       |
  350|  9.16k|  if (query && (d_header.qdcount > 1))
  ------------------
  |  Branch (350:7): [True: 4.58k, False: 4.58k]
  |  Branch (350:16): [True: 284, False: 4.29k]
  ------------------
  351|    284|    throw MOADNSException("Query with QD > 1 ("+std::to_string(d_header.qdcount)+")");
  352|       |
  353|  8.88k|  unsigned int n=0;
  354|       |
  355|  8.88k|  PacketReader pr(packet);
  356|  8.88k|  if (pointerBudget != 0) {
  ------------------
  |  Branch (356:7): [True: 0, False: 8.88k]
  ------------------
  357|      0|    pr.setPointerBudget(pointerBudget);
  358|      0|  }
  359|  8.88k|  bool validPacket=false;
  360|  8.88k|  try {
  361|  8.88k|    d_qtype = d_qclass = 0; // sometimes replies come in with no question, don't present garbage then
  362|       |
  363|  69.8k|    for(n=0;n < d_header.qdcount; ++n) {
  ------------------
  |  Branch (363:13): [True: 61.0k, False: 8.88k]
  ------------------
  364|  61.0k|      d_qname=pr.getName();
  365|  61.0k|      d_qtype=pr.get16BitInt();
  366|  61.0k|      d_qclass=pr.get16BitInt();
  367|  61.0k|    }
  368|       |
  369|  8.88k|    struct dnsrecordheader ah;
  370|  8.88k|    vector<unsigned char> record;
  371|  8.88k|    bool seenTSIG = false;
  372|  8.88k|    validPacket=true;
  373|  8.88k|    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.88k|    auto reserveRecordCount = std::min(1 + (packet.size() - sizeof(dnsheader)) / sizeof(dnsrecordheader), static_cast<size_t>(supposedRecordCount));
  380|  8.88k|    d_answers.reserve(reserveRecordCount);
  381|   206k|    for (n = 0; n < supposedRecordCount; ++n) {
  ------------------
  |  Branch (381:17): [True: 197k, False: 8.43k]
  ------------------
  382|   197k|      DNSRecord dr;
  383|       |
  384|   197k|      if(n < d_header.ancount)
  ------------------
  |  Branch (384:10): [True: 114k, False: 83.2k]
  ------------------
  385|   114k|        dr.d_place=DNSResourceRecord::ANSWER;
  386|  83.2k|      else if(n < d_header.ancount + d_header.nscount)
  ------------------
  |  Branch (386:15): [True: 38.8k, False: 44.3k]
  ------------------
  387|  38.8k|        dr.d_place=DNSResourceRecord::AUTHORITY;
  388|  44.3k|      else
  389|  44.3k|        dr.d_place=DNSResourceRecord::ADDITIONAL;
  390|       |
  391|   197k|      unsigned int recordStartPos=pr.getPosition();
  392|       |
  393|   197k|      DNSName name=pr.getName();
  394|       |
  395|   197k|      pr.getDnsrecordheader(ah);
  396|   197k|      dr.d_ttl=ah.d_ttl;
  397|   197k|      dr.d_type=ah.d_type;
  398|   197k|      dr.d_class=ah.d_class;
  399|       |
  400|   197k|      dr.d_name = std::move(name);
  401|   197k|      dr.d_clen = ah.d_clen;
  402|       |
  403|   197k|      auto recordContentStartPos = pr.getPosition();
  404|       |
  405|   197k|      if (query &&
  ------------------
  |  Branch (405:11): [True: 97.7k, False: 100k]
  ------------------
  406|  97.7k|          !(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: 4.44k, False: 93.3k]
  |  Branch (406:39): [True: 4.08k, False: 362]
  |  Branch (406:85): [True: 871, False: 3.21k]
  ------------------
  407|  96.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: 55.9k, False: 40.9k]
  |  Branch (407:55): [True: 17.9k, False: 22.9k]
  |  Branch (407:102): [True: 22.3k, False: 687]
  |  Branch (407:129): [True: 21.7k, False: 583]
  |  Branch (407:157): [True: 21.4k, False: 308]
  |  Branch (407:184): [True: 20.2k, False: 1.14k]
  |  Branch (407:215): [True: 583, False: 2.14k]
  |  Branch (407:243): [True: 308, False: 1.83k]
  |  Branch (407:270): [True: 1.14k, False: 687]
  |  Branch (407:299): [True: 459, False: 1.57k]
  ------------------
  408|       |//        cerr<<"discarding RR, query is "<<query<<", place is "<<dr.d_place<<", type is "<<dr.d_type<<", class is "<<dr.d_class<<endl;
  409|  94.6k|        dr.setContent(std::make_shared<UnknownRecordContent>(dr, pr));
  410|  94.6k|      }
  411|   103k|      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|   103k|        dr.setContent(DNSRecordContent::make(dr, pr, d_header.opcode));
  414|   103k|      }
  415|       |
  416|   197k|      if (dr.d_place == DNSResourceRecord::ADDITIONAL && seenTSIG) {
  ------------------
  |  Branch (416:11): [True: 43.3k, False: 154k]
  |  Branch (416:58): [True: 169, False: 43.1k]
  ------------------
  417|    169|        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|    169|      }
  419|       |
  420|   197k|      if(dr.d_type == QType::TSIG && dr.d_class == QClass::ANY) {
  ------------------
  |  Branch (420:10): [True: 1.47k, False: 196k]
  |  Branch (420:38): [True: 472, False: 1.00k]
  ------------------
  421|    472|        if(seenTSIG || dr.d_place != DNSResourceRecord::ADDITIONAL) {
  ------------------
  |  Branch (421:12): [True: 0, False: 472]
  |  Branch (421:24): [True: 278, False: 194]
  ------------------
  422|    278|          throw MOADNSException("Packet ("+d_qname.toLogString()+"|#"+std::to_string(d_qtype)+") has a TSIG record in an invalid position.");
  423|    278|        }
  424|    194|        seenTSIG = true;
  425|    194|        d_tsigPos = recordStartPos;
  426|    194|      }
  427|       |
  428|   197k|      if (pr.getPosition() != recordContentStartPos + ah.d_clen) {
  ------------------
  |  Branch (428:11): [True: 0, False: 197k]
  ------------------
  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|   197k|      d_answers.emplace_back(std::move(dr));
  433|   197k|    }
  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.88k|  }
  442|  8.88k|  catch(const std::out_of_range &re) {
  443|  7.96k|    if(validPacket && d_header.tc) { // don't sweat it over truncated packets, but do adjust an, ns and arcount
  ------------------
  |  Branch (443:8): [True: 7.70k, False: 266]
  |  Branch (443:23): [True: 2.08k, False: 5.61k]
  ------------------
  444|  2.08k|      if(n < d_header.ancount) {
  ------------------
  |  Branch (444:10): [True: 1.29k, False: 797]
  ------------------
  445|  1.29k|        d_header.ancount=n; d_header.nscount = d_header.arcount = 0;
  446|  1.29k|      }
  447|    797|      else if(n < d_header.ancount + d_header.nscount) {
  ------------------
  |  Branch (447:15): [True: 521, False: 276]
  ------------------
  448|    521|        d_header.nscount = n - d_header.ancount; d_header.arcount=0;
  449|    521|      }
  450|    276|      else {
  451|    276|        d_header.arcount = n - d_header.ancount - d_header.nscount;
  452|    276|      }
  453|  2.08k|    }
  454|  5.88k|    else {
  455|  5.88k|      throw MOADNSException("Error parsing packet of "+std::to_string(packet.size())+" bytes (rd="+
  456|  5.88k|                            std::to_string(d_header.rd)+
  457|  5.88k|                            "), out of bounds: "+string(re.what()));
  458|  5.88k|    }
  459|  7.96k|  }
  460|  8.88k|}
_ZN12PacketReader18getDnsrecordheaderER15dnsrecordheader:
  480|   192k|{
  481|   192k|  unsigned char *p = reinterpret_cast<unsigned char*>(&ah);
  482|       |
  483|  2.11M|  for(unsigned int n = 0; n < sizeof(dnsrecordheader); ++n) {
  ------------------
  |  Branch (483:27): [True: 1.92M, False: 192k]
  ------------------
  484|  1.92M|    p[n] = d_content.at(d_pos++);
  485|  1.92M|  }
  486|       |
  487|   192k|  ah.d_type = ntohs(ah.d_type);
  488|   192k|  ah.d_class = ntohs(ah.d_class);
  489|   192k|  ah.d_clen = ntohs(ah.d_clen);
  490|   192k|  ah.d_ttl = ntohl(ah.d_ttl);
  491|       |
  492|   192k|  d_startrecordpos = d_pos; // needed for getBlob later on
  493|   192k|  d_recordlen = ah.d_clen;
  494|   192k|  if (d_pos > d_content.size() || (d_content.size() - d_pos) < (d_recordlen)) {
  ------------------
  |  Branch (494:7): [True: 874, False: 192k]
  |  Branch (494:35): [True: 400, False: 191k]
  ------------------
  495|    400|    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()) + ")");
  496|    400|  }
  497|   192k|}
_ZN12PacketReader10copyRecordERNSt3__16vectorIhNS0_9allocatorIhEEEEt:
  501|   129k|{
  502|   129k|  if (len == 0) {
  ------------------
  |  Branch (502:7): [True: 57.4k, False: 72.0k]
  ------------------
  503|  57.4k|    return;
  504|  57.4k|  }
  505|  72.0k|  if ((d_pos + len) > d_content.size()) {
  ------------------
  |  Branch (505:7): [True: 0, False: 72.0k]
  ------------------
  506|      0|    throw std::out_of_range("Attempt to copy outside of packet");
  507|      0|  }
  508|  72.0k|  if (!isWithinRecordBoundaries(d_pos, d_pos + len)) {
  ------------------
  |  Branch (508:7): [True: 0, False: 72.0k]
  ------------------
  509|      0|    throw std::out_of_range("Attempt to copy outside of record");
  510|      0|  }
  511|       |
  512|  72.0k|  dest.resize(len);
  513|       |
  514|  8.13M|  for (uint16_t n = 0; n < len; ++n) {
  ------------------
  |  Branch (514:24): [True: 8.06M, False: 72.0k]
  ------------------
  515|  8.06M|    dest.at(n) = d_content.at(d_pos++);
  516|  8.06M|  }
  517|  72.0k|}
_ZN12PacketReader10copyRecordEPht:
  520|  1.35k|{
  521|  1.35k|  if (d_pos + len > d_content.size()) {
  ------------------
  |  Branch (521:7): [True: 0, False: 1.35k]
  ------------------
  522|      0|    throw std::out_of_range("Attempt to copy outside of packet");
  523|      0|  }
  524|  1.35k|  if (!isWithinRecordBoundaries(d_pos, d_pos + len)) {
  ------------------
  |  Branch (524:7): [True: 0, False: 1.35k]
  ------------------
  525|      0|    throw std::out_of_range("Attempt to copy outside of record");
  526|      0|  }
  527|       |
  528|  1.35k|  memcpy(dest, &d_content.at(d_pos), len);
  529|  1.35k|  d_pos += len;
  530|  1.35k|}
_ZN12PacketReader18xfrNodeOrLocatorIDER15NodeOrLocatorID:
  533|    809|{
  534|    809|  if (d_pos + sizeof(ret) > d_content.size()) {
  ------------------
  |  Branch (534:7): [True: 6, False: 803]
  ------------------
  535|      6|    throw std::out_of_range("Attempt to read 64 bit value outside of packet");
  536|      6|  }
  537|    803|  if (!isWithinRecordBoundaries(d_pos, d_pos + sizeof(ret))) {
  ------------------
  |  Branch (537:7): [True: 8, False: 795]
  ------------------
  538|      8|    throw std::out_of_range("Attempt to read node or locator ID outside of record");
  539|      8|  }
  540|       |
  541|    795|  memcpy(&ret.content, &d_content.at(d_pos), sizeof(ret.content));
  542|    795|  d_pos += sizeof(ret);
  543|    795|}
_ZN12PacketReader11xfr48BitIntERm:
  546|    530|{
  547|    530|  if (!isWithinRecordBoundaries(d_pos, d_pos + 6U)) {
  ------------------
  |  Branch (547:7): [True: 30, False: 500]
  ------------------
  548|     30|    throw std::out_of_range("Attempt to read 48 bit value outside of record");
  549|     30|  }
  550|    500|  ret=0;
  551|    500|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  552|    500|  ret<<=8;
  553|    500|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  554|    500|  ret<<=8;
  555|    500|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  556|    500|  ret<<=8;
  557|    500|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  558|    500|  ret<<=8;
  559|    500|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  560|    500|  ret<<=8;
  561|    500|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  562|    500|}
_ZN12PacketReader11get32BitIntEv:
  565|  17.9k|{
  566|  17.9k|  uint32_t ret=0;
  567|  17.9k|  if (!isWithinRecordBoundaries(d_pos, d_pos + sizeof(ret))) {
  ------------------
  |  Branch (567:7): [True: 85, False: 17.8k]
  ------------------
  568|     85|    throw std::out_of_range("Attempt to read 32 bit value outside of record");
  569|     85|  }
  570|  17.8k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  571|  17.8k|  ret<<=8;
  572|  17.8k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  573|  17.8k|  ret<<=8;
  574|  17.8k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  575|  17.8k|  ret<<=8;
  576|  17.8k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  577|       |
  578|  17.8k|  return ret;
  579|  17.9k|}
_ZN12PacketReader11get16BitIntEv:
  583|   409k|{
  584|   409k|  uint16_t ret=0;
  585|   409k|  if (!isWithinRecordBoundaries(d_pos, d_pos + sizeof(ret))) {
  ------------------
  |  Branch (585:7): [True: 221, False: 408k]
  ------------------
  586|    221|    throw std::out_of_range("Attempt to read 16 bit value outside of record");
  587|    221|  }
  588|   408k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  589|   408k|  ret<<=8;
  590|   408k|  ret+=static_cast<uint8_t>(d_content.at(d_pos++));
  591|       |
  592|   408k|  return ret;
  593|   409k|}
_ZN12PacketReader10get8BitIntEv:
  596|  49.8k|{
  597|  49.8k|  if (!isWithinRecordBoundaries(d_pos, d_pos + sizeof(uint8_t))) {
  ------------------
  |  Branch (597:7): [True: 77, False: 49.7k]
  ------------------
  598|     77|    throw std::out_of_range("Attempt to read 8 bit value outside of record");
  599|     77|  }
  600|  49.7k|  return d_content.at(d_pos++);
  601|  49.8k|}
_ZN12PacketReader7getNameEv:
  604|   293k|{
  605|   293k|  unsigned int consumed{0};
  606|   293k|  const auto initialPosition = d_pos;
  607|   293k|  try {
  608|   293k|    uint16_t minOffset = d_standalone ? 0 : sizeof(dnsheader);
  ------------------
  |  Branch (608:26): [True: 0, False: 293k]
  ------------------
  609|   293k|    bool uncompress = !d_standalone;
  610|       |
  611|   293k|    DNSName name((const char*) d_content.data(), d_content.size(), d_pos, uncompress, nullptr /* qtype */, nullptr /* qclass */, &consumed, minOffset, &d_pointerBudget);
  612|       |
  613|   293k|    d_pos += consumed;
  614|       |    // if we know the length of the record, and we were parsing a DNS name inside the record contents
  615|       |    // (not the owner name, in which case d_startrecordpos and d_recordlen still refer to the content of the previous record),
  616|       |    // check that we did not go over the record boundary
  617|   293k|    if (!isWithinRecordBoundaries(initialPosition, d_pos, true)) {
  ------------------
  |  Branch (617:9): [True: 12, False: 293k]
  ------------------
  618|     12|      throw std::out_of_range("Attempt to read DNS name outside of record");
  619|     12|    }
  620|   293k|    return name;
  621|   293k|  }
  622|   293k|  catch(const std::range_error& re) {
  623|  5.36k|    throw std::out_of_range(string("dnsname issue: ")+re.what());
  624|  5.36k|  }
  625|   293k|  catch(...) {
  626|     12|    throw std::out_of_range("dnsname issue");
  627|     12|  }
  628|   293k|}
_Z9txtEscapeRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE:
  632|  11.7k|{
  633|  11.7k|  string ret;
  634|  11.7k|  ret.reserve(name.length()); // In the typical case no escaping is needed
  635|  11.7k|  std::array<char, 5> ebuf{};
  636|       |
  637|   949k|  for (char letter : name) {
  ------------------
  |  Branch (637:20): [True: 949k, False: 11.7k]
  ------------------
  638|   949k|    const unsigned uch = static_cast<unsigned char>(letter);
  639|   949k|    if (uch >= 127 || uch < 32) {
  ------------------
  |  Branch (639:9): [True: 69.8k, False: 879k]
  |  Branch (639:23): [True: 753k, False: 126k]
  ------------------
  640|   823k|      snprintf(ebuf.data(), ebuf.size(), "\\%03u", uch);
  641|   823k|      ret += ebuf.data();
  642|   823k|    }
  643|   126k|    else if (letter == '"' || letter == '\\'){
  ------------------
  |  Branch (643:14): [True: 1.45k, False: 124k]
  |  Branch (643:31): [True: 1.86k, False: 122k]
  ------------------
  644|  3.31k|      ret += '\\';
  645|  3.31k|      ret += letter;
  646|  3.31k|    }
  647|   122k|    else {
  648|   122k|      ret += letter;
  649|   122k|    }
  650|   949k|  }
  651|  11.7k|  return ret;
  652|  11.7k|}
_ZN12PacketReader7getTextEbb:
  656|  9.06k|{
  657|  9.06k|  string ret;
  658|  9.06k|  ret.reserve(40);
  659|  38.7k|  while (d_pos < d_startrecordpos + d_recordlen ) {
  ------------------
  |  Branch (659:10): [True: 31.5k, False: 7.21k]
  ------------------
  660|  31.5k|    if (!ret.empty()) {
  ------------------
  |  Branch (660:9): [True: 25.8k, False: 5.65k]
  ------------------
  661|  25.8k|      ret.append(1,' ');
  662|  25.8k|    }
  663|  31.5k|    uint16_t labellen;
  664|  31.5k|    if (lenField) {
  ------------------
  |  Branch (664:9): [True: 28.8k, False: 2.67k]
  ------------------
  665|  28.8k|      labellen = static_cast<uint8_t>(d_content.at(d_pos++));
  666|  28.8k|    }
  667|  2.67k|    else {
  668|  2.67k|      labellen = d_recordlen - (d_pos - d_startrecordpos);
  669|  2.67k|    }
  670|       |
  671|  31.5k|    const uint16_t remaining = (d_startrecordpos + d_recordlen) - d_pos;
  672|  31.5k|    if (labellen > remaining) {
  ------------------
  |  Branch (672:9): [True: 75, False: 31.4k]
  ------------------
  673|     75|      throw std::out_of_range("label length in text record exceeds record boundary");
  674|     75|    }
  675|       |
  676|  31.4k|    ret.append(1, '"');
  677|  31.4k|    if (labellen) { // no need to do anything for an empty string
  ------------------
  |  Branch (677:9): [True: 11.7k, False: 19.7k]
  ------------------
  678|  11.7k|      string val(&d_content.at(d_pos), &d_content.at(d_pos + labellen - 1) + 1);
  679|  11.7k|      ret.append(txtEscape(val)); // the end is one beyond the packet
  680|  11.7k|    }
  681|  31.4k|    ret.append(1, '"');
  682|  31.4k|    d_pos += labellen;
  683|  31.4k|    if (!multi) {
  ------------------
  |  Branch (683:9): [True: 1.77k, False: 29.6k]
  ------------------
  684|  1.77k|      break;
  685|  1.77k|    }
  686|  31.4k|  }
  687|       |
  688|  8.98k|  if (ret.empty() && !lenField) {
  ------------------
  |  Branch (688:7): [True: 3.41k, False: 5.57k]
  |  Branch (688:22): [True: 1.26k, False: 2.14k]
  ------------------
  689|       |    // all lenField == false cases (CAA and URI at the time of this writing) want that emptiness to be explicit
  690|  1.26k|    return "\"\"";
  691|  1.26k|  }
  692|  7.72k|  return ret;
  693|  8.98k|}
_ZN12PacketReader15getUnquotedTextEb:
  696|  3.44k|{
  697|  3.44k|  uint16_t stop_at{};
  698|  3.44k|  if (lenField) {
  ------------------
  |  Branch (698:7): [True: 3.44k, False: 0]
  ------------------
  699|  3.44k|    stop_at = static_cast<uint8_t>(d_content.at(d_pos)) + d_pos + 1;
  700|  3.44k|  }
  701|      0|  else {
  702|      0|    stop_at = d_recordlen;
  703|      0|  }
  704|       |
  705|       |  /* think unsigned overflow */
  706|  3.44k|  if (stop_at < d_pos) {
  ------------------
  |  Branch (706:7): [True: 1, False: 3.43k]
  ------------------
  707|      1|    throw std::out_of_range("getUnquotedText out of record range");
  708|      1|  }
  709|       |
  710|       |  /* Validate against record boundary */
  711|  3.43k|  const uint16_t recordEnd = d_startrecordpos + d_recordlen;
  712|  3.43k|  if (stop_at > recordEnd) {
  ------------------
  |  Branch (712:7): [True: 17, False: 3.42k]
  ------------------
  713|     17|    throw std::out_of_range("getUnquotedText: length exceeds record boundary");
  714|     17|  }
  715|       |
  716|  3.42k|  if (stop_at == d_pos) {
  ------------------
  |  Branch (716:7): [True: 0, False: 3.42k]
  ------------------
  717|      0|    return "";
  718|      0|  }
  719|       |
  720|  3.42k|  d_pos++;
  721|  3.42k|  string ret(d_content.substr(d_pos, stop_at-d_pos));
  722|  3.42k|  d_pos = stop_at;
  723|  3.42k|  return ret;
  724|  3.42k|}
_ZN12PacketReader7xfrBlobERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE:
  727|  21.7k|{
  728|  21.7k|  try {
  729|  21.7k|    if (d_recordlen != 0 && !(d_pos == (d_startrecordpos + d_recordlen))) {
  ------------------
  |  Branch (729:9): [True: 18.3k, False: 3.45k]
  |  Branch (729:29): [True: 15.9k, False: 2.38k]
  ------------------
  730|  15.9k|      if (d_pos > (d_startrecordpos + d_recordlen)) {
  ------------------
  |  Branch (730:11): [True: 1, False: 15.9k]
  ------------------
  731|      1|        throw std::out_of_range("xfrBlob out of record range");
  732|      1|      }
  733|  15.9k|      blob.assign(&d_content.at(d_pos), &d_content.at(d_startrecordpos + d_recordlen - 1 ) + 1);
  734|  15.9k|    }
  735|  5.83k|    else {
  736|  5.83k|      blob.clear();
  737|  5.83k|    }
  738|       |
  739|  21.7k|    d_pos = d_startrecordpos + d_recordlen;
  740|  21.7k|  }
  741|  21.7k|  catch(...)
  742|  21.7k|  {
  743|      1|    throw std::out_of_range("xfrBlob out of range");
  744|      1|  }
  745|  21.7k|}
_ZN12PacketReader15xfrBlobNoSpacesERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi:
  747|  3.37k|void PacketReader::xfrBlobNoSpaces(string& blob, int length) {
  748|  3.37k|  xfrBlob(blob, length);
  749|  3.37k|}
_ZN12PacketReader7xfrBlobERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi:
  752|  21.3k|{
  753|  21.3k|  if(length) {
  ------------------
  |  Branch (753:6): [True: 19.0k, False: 2.24k]
  ------------------
  754|  19.0k|    if (length < 0) {
  ------------------
  |  Branch (754:9): [True: 0, False: 19.0k]
  ------------------
  755|      0|      throw std::out_of_range("xfrBlob out of range (negative length)");
  756|      0|    }
  757|  19.0k|    auto available = (d_startrecordpos + d_recordlen) - d_pos;
  758|  19.0k|    if (available < length) {
  ------------------
  |  Branch (758:9): [True: 220, False: 18.8k]
  ------------------
  759|    220|      throw std::out_of_range("xfrBlob out of range (excessive length)");
  760|    220|    }
  761|       |
  762|  18.8k|    blob.assign(&d_content.at(d_pos), &d_content.at(d_pos + length - 1 ) + 1 );
  763|       |
  764|  18.8k|    d_pos += length;
  765|  18.8k|  }
  766|  2.24k|  else {
  767|  2.24k|    blob.clear();
  768|  2.24k|  }
  769|  21.3k|}
_ZN12PacketReader18xfrSvcParamKeyValsERNSt3__13setI8SvcParamNS0_4lessIS2_EENS0_9allocatorIS2_EEEE:
  771|  6.71k|void PacketReader::xfrSvcParamKeyVals(set<SvcParam> &kvs) {
  772|  6.71k|  int32_t lastKey{-1}; // Keep track of the last key, as ordering should be strict
  773|       |
  774|  14.5k|  while (d_pos < (d_startrecordpos + d_recordlen)) {
  ------------------
  |  Branch (774:10): [True: 8.07k, False: 6.45k]
  ------------------
  775|  8.07k|    if (d_pos + 2 > (d_startrecordpos + d_recordlen)) {
  ------------------
  |  Branch (775:9): [True: 18, False: 8.05k]
  ------------------
  776|     18|      throw std::out_of_range("incomplete key");
  777|     18|    }
  778|  8.05k|    uint16_t keyInt;
  779|  8.05k|    xfr16BitInt(keyInt);
  780|       |
  781|  8.05k|    if (keyInt <= lastKey) {
  ------------------
  |  Branch (781:9): [True: 62, False: 7.99k]
  ------------------
  782|     62|      throw std::out_of_range("Found SVCParamKey " + std::to_string(keyInt) + " after SVCParamKey " + std::to_string(lastKey));
  783|     62|    }
  784|  7.99k|    lastKey = keyInt;
  785|       |
  786|       |    // NOLINTNEXTLINE(clang-analyzer-optin.core.EnumCastOutOfRange): this is fine, we will handle that in the switch/case
  787|  7.99k|    auto key = static_cast<SvcParam::SvcParamKey>(keyInt);
  788|       |
  789|  7.99k|    uint16_t len;
  790|  7.99k|    xfr16BitInt(len);
  791|       |
  792|  7.99k|    if (d_pos + len > (d_startrecordpos + d_recordlen)) {
  ------------------
  |  Branch (792:9): [True: 56, False: 7.94k]
  ------------------
  793|     56|      throw std::out_of_range("record is shorter than SVCB lengthfield implies");
  794|     56|    }
  795|       |
  796|  7.94k|    switch (key)
  797|  7.94k|    {
  798|    838|    case SvcParam::mandatory: {
  ------------------
  |  Branch (798:5): [True: 838, False: 7.10k]
  ------------------
  799|    838|      if (len % 2 != 0) {
  ------------------
  |  Branch (799:11): [True: 1, False: 837]
  ------------------
  800|      1|        throw std::out_of_range("mandatory SvcParam has invalid length");
  801|      1|      }
  802|    837|      if (len == 0) {
  ------------------
  |  Branch (802:11): [True: 2, False: 835]
  ------------------
  803|      2|        throw std::out_of_range("empty 'mandatory' values");
  804|      2|      }
  805|    835|      std::set<SvcParam::SvcParamKey> paramKeys;
  806|    835|      size_t stop = d_pos + len;
  807|   154k|      while (d_pos < stop) {
  ------------------
  |  Branch (807:14): [True: 153k, False: 835]
  ------------------
  808|   153k|        uint16_t keyval;
  809|   153k|        xfr16BitInt(keyval);
  810|   153k|        paramKeys.insert(static_cast<SvcParam::SvcParamKey>(keyval));
  811|   153k|      }
  812|    835|      kvs.insert(SvcParam(key, std::move(paramKeys)));
  813|    835|      break;
  814|    837|    }
  815|    962|    case SvcParam::alpn: [[fallthrough]];
  ------------------
  |  Branch (815:5): [True: 962, False: 6.97k]
  ------------------
  816|  1.28k|    case SvcParam::docpath: {
  ------------------
  |  Branch (816:5): [True: 320, False: 7.62k]
  ------------------
  817|  1.28k|      size_t stop = d_pos + len;
  818|  1.28k|      std::vector<string> alpns;
  819|  4.77k|      while (d_pos < stop) {
  ------------------
  |  Branch (819:14): [True: 3.54k, False: 1.22k]
  ------------------
  820|  3.54k|        string alpn;
  821|  3.54k|        uint8_t alpnLen = 0;
  822|  3.54k|        xfr8BitInt(alpnLen);
  823|  3.54k|        if (alpnLen == 0) {
  ------------------
  |  Branch (823:13): [True: 22, False: 3.52k]
  ------------------
  824|     22|          throw std::out_of_range("alpn length of 0");
  825|     22|        }
  826|  3.52k|        if (d_pos + alpnLen > stop) {
  ------------------
  |  Branch (826:13): [True: 34, False: 3.48k]
  ------------------
  827|     34|          throw std::out_of_range("alpn length is larger than rest of alpn SVC Param");
  828|     34|        }
  829|  3.48k|        xfrBlob(alpn, alpnLen);
  830|  3.48k|        alpns.push_back(std::move(alpn));
  831|  3.48k|      }
  832|  1.22k|      kvs.insert(SvcParam(key, std::move(alpns)));
  833|  1.22k|      break;
  834|  1.28k|    }
  835|    740|    case SvcParam::no_default_alpn: [[fallthrough]];
  ------------------
  |  Branch (835:5): [True: 740, False: 7.20k]
  ------------------
  836|  1.07k|    case SvcParam::ohttp: [[fallthrough]];
  ------------------
  |  Branch (836:5): [True: 334, False: 7.60k]
  ------------------
  837|  1.35k|    case SvcParam::pvd: {
  ------------------
  |  Branch (837:5): [True: 285, False: 7.65k]
  ------------------
  838|  1.35k|      if (len != 0) {
  ------------------
  |  Branch (838:11): [True: 13, False: 1.34k]
  ------------------
  839|     13|        throw std::out_of_range("invalid length for " + SvcParam::keyToString(key));
  840|     13|      }
  841|  1.34k|      kvs.insert(SvcParam(key));
  842|  1.34k|      break;
  843|  1.35k|    }
  844|    328|    case SvcParam::port: {
  ------------------
  |  Branch (844:5): [True: 328, False: 7.61k]
  ------------------
  845|    328|      if (len != 2) {
  ------------------
  |  Branch (845:11): [True: 11, False: 317]
  ------------------
  846|     11|        throw std::out_of_range("invalid length for port");
  847|     11|      }
  848|    317|      uint16_t port;
  849|    317|      xfr16BitInt(port);
  850|    317|      kvs.insert(SvcParam(key, port));
  851|    317|      break;
  852|    328|    }
  853|    409|    case SvcParam::ipv4hint:
  ------------------
  |  Branch (853:5): [True: 409, False: 7.53k]
  ------------------
  854|    772|    case SvcParam::ipv6hint: {
  ------------------
  |  Branch (854:5): [True: 363, False: 7.57k]
  ------------------
  855|    772|      size_t addrLen = (key == SvcParam::ipv4hint ? 4 : 16);
  ------------------
  |  Branch (855:25): [True: 409, False: 363]
  ------------------
  856|    772|      if (len % addrLen != 0) {
  ------------------
  |  Branch (856:11): [True: 3, False: 769]
  ------------------
  857|      3|        throw std::out_of_range("invalid length for " + SvcParam::keyToString(key));
  858|      3|      }
  859|    769|      vector<ComboAddress> addresses;
  860|    769|      auto stop = d_pos + len;
  861|  10.1k|      while (d_pos < stop)
  ------------------
  |  Branch (861:14): [True: 9.36k, False: 769]
  ------------------
  862|  9.36k|      {
  863|  9.36k|        ComboAddress addr;
  864|  9.36k|        xfrCAWithoutPort(key, addr);
  865|  9.36k|        addresses.push_back(addr);
  866|  9.36k|      }
  867|       |      // If there were no addresses, and the input comes from internal
  868|       |      // representation, we can reasonably assume this is the serialization
  869|       |      // of "auto".
  870|    769|      bool doAuto{d_internal && len == 0};
  ------------------
  |  Branch (870:19): [True: 0, False: 769]
  |  Branch (870:33): [True: 0, False: 0]
  ------------------
  871|    769|      auto param = SvcParam(key, std::move(addresses));
  872|    769|      param.setAutoHint(doAuto);
  873|    769|      kvs.insert(std::move(param));
  874|    769|      break;
  875|    772|    }
  876|    896|    case SvcParam::ech: {
  ------------------
  |  Branch (876:5): [True: 896, False: 7.04k]
  ------------------
  877|    896|      std::string blob;
  878|    896|      blob.reserve(len);
  879|    896|      xfrBlobNoSpaces(blob, len);
  880|    896|      kvs.insert(SvcParam(key, blob));
  881|    896|      break;
  882|    772|    }
  883|    457|    case SvcParam::tls_supported_groups: {
  ------------------
  |  Branch (883:5): [True: 457, False: 7.48k]
  ------------------
  884|    457|      if (len % 2 != 0) {
  ------------------
  |  Branch (884:11): [True: 2, False: 455]
  ------------------
  885|      2|        throw std::out_of_range("invalid length for " + SvcParam::keyToString(key));
  886|      2|      }
  887|    455|      vector<uint16_t> groups;
  888|    455|      groups.reserve(len / 2);
  889|    455|      auto stop = d_pos + len;
  890|  75.0k|      while (d_pos < stop)
  ------------------
  |  Branch (890:14): [True: 74.6k, False: 455]
  ------------------
  891|  74.6k|      {
  892|  74.6k|        uint16_t group = 0;
  893|  74.6k|        xfr16BitInt(group);
  894|  74.6k|        groups.push_back(group);
  895|  74.6k|      }
  896|    455|      auto param = SvcParam(key, std::move(groups));
  897|    455|      kvs.insert(std::move(param));
  898|    455|      break;
  899|    457|    }
  900|  1.97k|    default: {
  ------------------
  |  Branch (900:5): [True: 1.97k, False: 5.96k]
  ------------------
  901|  1.97k|      std::string blob;
  902|  1.97k|      blob.reserve(len);
  903|  1.97k|      xfrBlob(blob, len);
  904|  1.97k|      kvs.insert(SvcParam(key, blob));
  905|  1.97k|      break;
  906|    457|    }
  907|  7.94k|    }
  908|  7.94k|  }
  909|  6.71k|}
_ZN12PacketReader10xfrHexBlobERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEb:
  913|  5.79k|{
  914|  5.79k|  xfrBlob(blob);
  915|  5.79k|}

_ZN9DNSRecordC2Ev:
  376|   197k|    d_class(QClass::IN)
  377|   197k|  {}
_ZN15MOADNSExceptionC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE:
   61|  7.05k|  MOADNSException(const string& str) : runtime_error(str)
   62|  7.05k|  {}
_ZN16DNSRecordContentD2Ev:
  266|   191k|  virtual ~DNSRecordContent() = default;
_ZN12PacketReaderC2ERKNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEEtbb:
   72|  8.88k|    : d_pos(initialPos), d_startrecordpos(initialPos), d_internal(internalRepresentation), d_standalone(standalone), d_content(content)
   73|  8.88k|  {
   74|  8.88k|    if (content.size() > std::numeric_limits<uint16_t>::max()) {
  ------------------
  |  Branch (74:9): [True: 0, False: 8.88k]
  ------------------
   75|      0|      throw std::out_of_range("packet too large");
   76|      0|    }
   77|       |
   78|  8.88k|    d_recordlen = static_cast<uint16_t>(content.size());
   79|  8.88k|    d_pointerBudget = static_cast<size_t>(d_recordlen) * s_MaxPointersPerByte;
   80|  8.88k|  }
_ZNK12PacketReader11getPositionEv:
  205|   579k|  {
  206|   579k|    return d_pos;
  207|   579k|  }
_ZN9DNSRecord10setContentEONSt3__110shared_ptrIK16DNSRecordContentEE:
  432|   189k|  {
  433|   189k|    d_content = std::move(content);
  434|   189k|  }
_ZNK12PacketReader24isWithinRecordBoundariesEmmb:
  227|   839k|  {
  228|   839k|    if (initialPosition > endPosition) {
  ------------------
  |  Branch (228:9): [True: 0, False: 839k]
  ------------------
  229|      0|      return false;
  230|      0|    }
  231|   839k|    if (canBeOutsideRecordContent && d_recordlen == 0) {
  ------------------
  |  Branch (231:9): [True: 287k, False: 551k]
  |  Branch (231:38): [True: 64.2k, False: 223k]
  ------------------
  232|       |      // we don't know the record's length, nothing to check
  233|  64.2k|      return true;
  234|  64.2k|    }
  235|   775k|    const size_t endOfRecordContent = d_startrecordpos + d_recordlen;
  236|   775k|    if (canBeOutsideRecordContent && initialPosition >= endOfRecordContent) {
  ------------------
  |  Branch (236:9): [True: 223k, False: 551k]
  |  Branch (236:38): [True: 121k, False: 101k]
  ------------------
  237|       |      // our initial position is after the last known record content,
  238|       |      // we are probably parsing the owner name of the next record,
  239|       |      // nothing to check
  240|   121k|      return true;
  241|   121k|    }
  242|       |    // are we still inside the record's content?
  243|   653k|    return initialPosition >= d_startrecordpos && initialPosition <= endOfRecordContent && endPosition <= endOfRecordContent;
  ------------------
  |  Branch (243:12): [True: 653k, False: 0]
  |  Branch (243:51): [True: 653k, False: 52]
  |  Branch (243:92): [True: 653k, False: 381]
  ------------------
  244|   775k|  }
_ZN12PacketReader11xfr16BitIntERt:
  131|   287k|  {
  132|   287k|    val=get16BitInt();
  133|   287k|  }
_ZN12PacketReader10xfr8BitIntERh:
  142|  49.8k|  {
  143|  49.8k|    val=get8BitInt();
  144|  49.8k|  }
_ZN12PacketReader16xfrCAWithoutPortEhR12ComboAddress:
  110|  9.36k|  void xfrCAWithoutPort(uint8_t version, ComboAddress &val) {
  111|  9.36k|    string blob;
  112|  9.36k|    if (version == 4) xfrBlob(blob, 4);
  ------------------
  |  Branch (112:9): [True: 9.16k, 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|  9.36k|    val = makeComboAddressFromRaw(version, blob);
  116|  9.36k|  }
_ZN20UnknownRecordContentC2ERK9DNSRecordR12PacketReader:
  530|   129k|    : d_dr(dr)
  531|   129k|  {
  532|   129k|    pr.copyRecord(d_record, dr.d_clen);
  533|   129k|  }
_ZN12PacketReader11xfr32BitIntERj:
   96|  17.9k|  {
   97|  17.9k|    val=get32BitInt();
   98|  17.9k|  }
_ZN12PacketReader5xfrIPERj:
  101|  1.46k|  {
  102|  1.46k|    xfr32BitInt(val);
  103|       |    val=htonl(val);
  104|  1.46k|  }
_ZN12PacketReader6xfrIP6ERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE:
  106|    910|  void xfrIP6(std::string &val) {
  107|    910|    xfrBlob(val, 16);
  108|    910|  }
_ZN12PacketReader7xfrTimeERj:
  125|  2.38k|  {
  126|  2.38k|    xfr32BitInt(val);
  127|  2.38k|  }
_ZN12PacketReader7xfrTypeERt:
  136|  1.20k|  {
  137|  1.20k|    xfr16BitInt(val);
  138|  1.20k|  }
_ZN12PacketReader7xfrNameER7DNSNameb:
  147|  34.0k|  {
  148|  34.0k|    name = getName();
  149|  34.0k|  }
_ZN12PacketReader7xfrTextERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEbb:
  152|  9.06k|  {
  153|  9.06k|    text=getText(multi, lenField);
  154|  9.06k|  }
_ZN12PacketReader15xfrUnquotedTextERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEb:
  156|  3.44k|  void xfrUnquotedText(string &text, bool lenField){
  157|  3.44k|    text=getUnquotedText(lenField);
  158|  3.44k|  }
_ZNK12PacketReader3eofEv:
  178|  59.5k|  {
  179|  59.5k|    const auto endOfRecordContent = d_startrecordpos + d_recordlen;
  180|  59.5k|    if (d_pos > endOfRecordContent) {
  ------------------
  |  Branch (180:9): [True: 48, False: 59.4k]
  ------------------
  181|     48|      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) + ")");
  182|     48|    }
  183|  59.4k|    return d_pos == endOfRecordContent;
  184|  59.5k|  }
_ZNK12PacketReader12getRemainingEv:
  188|    235|  [[nodiscard]] std::string getRemaining() const {
  189|    235|    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));
  190|    235|  };
_ZN12PacketReader16consumeRemainingEv:
  199|    873|  {
  200|    873|    d_pos = (d_startrecordpos + d_recordlen);
  201|    873|  }
_ZN16DNSRecordContent13doRecordCheckERK9DNSRecord:
  303|  50.8k|  void doRecordCheck(const struct DNSRecord&){}
_ZN16DNSRecordContent6registEttPFNSt3__110shared_ptrIS_EERK9DNSRecordR12PacketReaderEPFS2_RKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEPKc:
  309|    118|  {
  310|    118|    assert(!d_locked.load()); // NOLINT: it's the API
  ------------------
  |  Branch (310:5): [True: 118, False: 0]
  ------------------
  311|    118|    if(f)
  ------------------
  |  Branch (311:8): [True: 115, False: 3]
  ------------------
  312|    115|      getTypemap()[pair(cl,ty)]=f;
  313|    118|    if(z)
  ------------------
  |  Branch (313:8): [True: 115, False: 3]
  ------------------
  314|    115|      getZmakermap()[pair(cl,ty)]=z;
  315|       |
  316|    118|    getT2Namemap().emplace(pair(cl, ty), name);
  317|    118|    getN2Typemap().emplace(name, pair(cl, ty));
  318|    118|  }
_ZN16DNSRecordContent4lockEv:
  355|      1|  {
  356|      1|    d_locked.store(true);
  357|      1|  }
_ZN12MOADNSParserC2EbPKcjm:
  570|  9.19k|  MOADNSParser(bool query, const char *packet, unsigned int len, size_t pointerBudget = 0) : d_tsigPos(0)
  571|  9.19k|  {
  572|  9.19k|    init(query, std::string_view(packet, len), pointerBudget);
  573|  9.19k|  }

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

_ZN14ARecordContent4makeERK9DNSRecordR12PacketReader:
 1291|    806|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    806|{                                                                                                  \
 1293|    806|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    806|}                                                                                                  \
_ZN14ARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    806|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    806|{                                                                                                  \
 1298|    806|  doRecordCheck(dr);                                                                               \
 1299|    806|  xfrPacket(pr);                                                                                   \
 1300|    806|}                                                                                                  \
_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|    430|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    430|{                                                                                                  \
 1293|    430|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    430|}                                                                                                  \
_ZN17AAAARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    430|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    430|{                                                                                                  \
 1298|    430|  doRecordCheck(dr);                                                                               \
 1299|    430|  xfrPacket(pr);                                                                                   \
 1300|    430|}                                                                                                  \
_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|    751|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    751|{                                                                                                  \
 1293|    751|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    751|}                                                                                                  \
_ZN15NSRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    751|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    751|{                                                                                                  \
 1298|    751|  doRecordCheck(dr);                                                                               \
 1299|    751|  xfrPacket(pr);                                                                                   \
 1300|    751|}                                                                                                  \
_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|    493|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    493|{                                                                                                  \
 1293|    493|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    493|}                                                                                                  \
_ZN16PTRRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    493|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    493|{                                                                                                  \
 1298|    493|  doRecordCheck(dr);                                                                               \
 1299|    493|  xfrPacket(pr);                                                                                   \
 1300|    493|}                                                                                                  \
_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|    779|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    779|{                                                                                                  \
 1293|    779|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    779|}                                                                                                  \
_ZN18CNAMERecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    779|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    779|{                                                                                                  \
 1298|    779|  doRecordCheck(dr);                                                                               \
 1299|    779|  xfrPacket(pr);                                                                                   \
 1300|    779|}                                                                                                  \
_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|    457|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    457|{                                                                                                  \
 1293|    457|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    457|}                                                                                                  \
_ZN18ALIASRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    457|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    457|{                                                                                                  \
 1298|    457|  doRecordCheck(dr);                                                                               \
 1299|    457|  xfrPacket(pr);                                                                                   \
 1300|    457|}                                                                                                  \
_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|  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|}                                                                                                  \
_ZN18DNAMERecordContentC2ERK9DNSRecordR12PacketReader:
 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|}                                                                                                  \
_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|    639|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    639|{                                                                                                  \
 1293|    639|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    639|}                                                                                                  \
_ZN15MBRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    639|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    639|{                                                                                                  \
 1298|    639|  doRecordCheck(dr);                                                                               \
 1299|    639|  xfrPacket(pr);                                                                                   \
 1300|    639|}                                                                                                  \
_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|    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|}                                                                                                  \
_ZN15MGRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    681|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    681|{                                                                                                  \
 1298|    681|  doRecordCheck(dr);                                                                               \
 1299|    681|  xfrPacket(pr);                                                                                   \
 1300|    681|}                                                                                                  \
_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|    598|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    598|{                                                                                                  \
 1293|    598|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    598|}                                                                                                  \
_ZN15MRRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    598|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    598|{                                                                                                  \
 1298|    598|  doRecordCheck(dr);                                                                               \
 1299|    598|  xfrPacket(pr);                                                                                   \
 1300|    598|}                                                                                                  \
_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|  1.25k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.25k|{                                                                                                  \
 1293|  1.25k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.25k|}                                                                                                  \
_ZN18MINFORecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.25k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.25k|{                                                                                                  \
 1298|  1.25k|  doRecordCheck(dr);                                                                               \
 1299|  1.25k|  xfrPacket(pr);                                                                                   \
 1300|  1.25k|}                                                                                                  \
_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|    814|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    814|{                                                                                                  \
 1293|    814|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    814|}                                                                                                  \
_ZN16TXTRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    814|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    814|{                                                                                                  \
 1298|    814|  doRecordCheck(dr);                                                                               \
 1299|    814|  xfrPacket(pr);                                                                                   \
 1300|    814|}                                                                                                  \
_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|    873|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    873|{                                                                                                  \
 1293|    873|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    873|}                                                                                                  \
_ZN16ENTRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    873|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    873|{                                                                                                  \
 1298|    873|  doRecordCheck(dr);                                                                               \
 1299|    873|  xfrPacket(pr);                                                                                   \
 1300|    873|}                                                                                                  \
_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|    457|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    457|{                                                                                                  \
 1293|    457|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    457|}                                                                                                  \
_ZN16SPFRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    457|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    457|{                                                                                                  \
 1298|    457|  doRecordCheck(dr);                                                                               \
 1299|    457|  xfrPacket(pr);                                                                                   \
 1300|    457|}                                                                                                  \
_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|    607|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    607|{                                                                                                  \
 1293|    607|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    607|}                                                                                                  \
_ZN18HINFORecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    607|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    607|{                                                                                                  \
 1298|    607|  doRecordCheck(dr);                                                                               \
 1299|    607|  xfrPacket(pr);                                                                                   \
 1300|    607|}                                                                                                  \
_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.59k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.59k|{                                                                                                  \
 1293|  1.59k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.59k|}                                                                                                  \
_ZN16OPTRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.59k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.59k|{                                                                                                  \
 1298|  1.59k|  doRecordCheck(dr);                                                                               \
 1299|  1.59k|  xfrPacket(pr);                                                                                   \
 1300|  1.59k|}                                                                                                  \
_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|    558|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    558|{                                                                                                  \
 1293|    558|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    558|}                                                                                                  \
_ZN19WALLETRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    558|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    558|{                                                                                                  \
 1298|    558|  doRecordCheck(dr);                                                                               \
 1299|    558|  xfrPacket(pr);                                                                                   \
 1300|    558|}                                                                                                  \
_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|    563|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    563|{                                                                                                  \
 1293|    563|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    563|}                                                                                                  \
_ZN17TSIGRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    563|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    563|{                                                                                                  \
 1298|    563|  doRecordCheck(dr);                                                                               \
 1299|    563|  xfrPacket(pr);                                                                                   \
 1300|    563|}                                                                                                  \
_ZN15MXRecordContent4makeERK9DNSRecordR12PacketReader:
 1291|  1.77k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.77k|{                                                                                                  \
 1293|  1.77k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.77k|}                                                                                                  \
_ZN15MXRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.77k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.77k|{                                                                                                  \
 1298|  1.77k|  doRecordCheck(dr);                                                                               \
 1299|  1.77k|  xfrPacket(pr);                                                                                   \
 1300|  1.77k|}                                                                                                  \
_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|  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|}                                                                                                  \
_ZN15KXRecordContentC2ERK9DNSRecordR12PacketReader:
 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|}                                                                                                  \
_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.37k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  2.37k|{                                                                                                  \
 1293|  2.37k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  2.37k|}                                                                                                  \
_ZN21IPSECKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  2.37k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  2.37k|{                                                                                                  \
 1298|  2.37k|  doRecordCheck(dr);                                                                               \
 1299|  2.37k|  xfrPacket(pr);                                                                                   \
 1300|  2.37k|}                                                                                                  \
_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|    835|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    835|{                                                                                                  \
 1293|    835|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    835|}                                                                                                  \
_ZN18DHCIDRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    835|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    835|{                                                                                                  \
 1298|    835|  doRecordCheck(dr);                                                                               \
 1299|    835|  xfrPacket(pr);                                                                                   \
 1300|    835|}                                                                                                  \
_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|    855|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    855|{                                                                                                  \
 1293|    855|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    855|}                                                                                                  \
_ZN18AFSDBRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    855|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    855|{                                                                                                  \
 1298|    855|  doRecordCheck(dr);                                                                               \
 1299|    855|  xfrPacket(pr);                                                                                   \
 1300|    855|}                                                                                                  \
_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|    536|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    536|{                                                                                                  \
 1293|    536|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    536|}                                                                                                  \
_ZN18NAPTRRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    536|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    536|{                                                                                                  \
 1298|    536|  doRecordCheck(dr);                                                                               \
 1299|    536|  xfrPacket(pr);                                                                                   \
 1300|    536|}                                                                                                  \
_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|    981|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    981|{                                                                                                  \
 1293|    981|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    981|}                                                                                                  \
_ZN16SRVRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    981|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    981|{                                                                                                  \
 1298|    981|  doRecordCheck(dr);                                                                               \
 1299|    981|  xfrPacket(pr);                                                                                   \
 1300|    981|}                                                                                                  \
_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.15k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.15k|{                                                                                                  \
 1293|  1.15k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.15k|}                                                                                                  \
_ZN16SOARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.15k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.15k|{                                                                                                  \
 1298|  1.15k|  doRecordCheck(dr);                                                                               \
 1299|  1.15k|  xfrPacket(pr);                                                                                   \
 1300|  1.15k|}                                                                                                  \
_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|    616|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    616|{                                                                                                  \
 1293|    616|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    616|}                                                                                                  \
_ZN16KEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    616|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    616|{                                                                                                  \
 1298|    616|  doRecordCheck(dr);                                                                               \
 1299|    616|  xfrPacket(pr);                                                                                   \
 1300|    616|}                                                                                                  \
_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|    651|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    651|{                                                                                                  \
 1293|    651|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    651|}                                                                                                  \
_ZN19ZONEMDRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    651|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    651|{                                                                                                  \
 1298|    651|  doRecordCheck(dr);                                                                               \
 1299|    651|  xfrPacket(pr);                                                                                   \
 1300|    651|}                                                                                                  \
_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|    964|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    964|{                                                                                                  \
 1293|    964|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    964|}                                                                                                  \
_ZN17CERTRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    964|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    964|{                                                                                                  \
 1298|    964|  doRecordCheck(dr);                                                                               \
 1299|    964|  xfrPacket(pr);                                                                                   \
 1300|    964|}                                                                                                  \
_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|    609|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    609|{                                                                                                  \
 1293|    609|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    609|}                                                                                                  \
_ZN17TLSARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    609|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    609|{                                                                                                  \
 1298|    609|  doRecordCheck(dr);                                                                               \
 1299|    609|  xfrPacket(pr);                                                                                   \
 1300|    609|}                                                                                                  \
_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.21k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.21k|{                                                                                                  \
 1293|  1.21k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.21k|}                                                                                                  \
_ZN23OPENPGPKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.21k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.21k|{                                                                                                  \
 1298|  1.21k|  doRecordCheck(dr);                                                                               \
 1299|  1.21k|  xfrPacket(pr);                                                                                   \
 1300|  1.21k|}                                                                                                  \
_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.38k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  5.38k|{                                                                                                  \
 1293|  5.38k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  5.38k|}                                                                                                  \
_ZN17SVCBRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  5.38k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  5.38k|{                                                                                                  \
 1298|  5.38k|  doRecordCheck(dr);                                                                               \
 1299|  5.38k|  xfrPacket(pr);                                                                                   \
 1300|  5.38k|}                                                                                                  \
_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|  1.85k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.85k|{                                                                                                  \
 1293|  1.85k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.85k|}                                                                                                  \
_ZN18HTTPSRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.85k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.85k|{                                                                                                  \
 1298|  1.85k|  doRecordCheck(dr);                                                                               \
 1299|  1.85k|  xfrPacket(pr);                                                                                   \
 1300|  1.85k|}                                                                                                  \
_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|    537|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    537|{                                                                                                  \
 1293|    537|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    537|}                                                                                                  \
_ZN17HHITRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    537|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    537|{                                                                                                  \
 1298|    537|  doRecordCheck(dr);                                                                               \
 1299|    537|  xfrPacket(pr);                                                                                   \
 1300|    537|}                                                                                                  \
_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|    451|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    451|{                                                                                                  \
 1293|    451|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    451|}                                                                                                  \
_ZN17BRIDRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    451|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    451|{                                                                                                  \
 1298|    451|  doRecordCheck(dr);                                                                               \
 1299|    451|  xfrPacket(pr);                                                                                   \
 1300|    451|}                                                                                                  \
_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|    632|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    632|{                                                                                                  \
 1293|    632|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    632|}                                                                                                  \
_ZN19SMIMEARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    632|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    632|{                                                                                                  \
 1298|    632|  doRecordCheck(dr);                                                                               \
 1299|    632|  xfrPacket(pr);                                                                                   \
 1300|    632|}                                                                                                  \
_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|    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|}                                                                                                  \
_ZN15DSRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    694|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    694|{                                                                                                  \
 1298|    694|  doRecordCheck(dr);                                                                               \
 1299|    694|  xfrPacket(pr);                                                                                   \
 1300|    694|}                                                                                                  \
_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|    788|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    788|{                                                                                                  \
 1293|    788|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    788|}                                                                                                  \
_ZN16CDSRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    788|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    788|{                                                                                                  \
 1298|    788|  doRecordCheck(dr);                                                                               \
 1299|    788|  xfrPacket(pr);                                                                                   \
 1300|    788|}                                                                                                  \
_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|    662|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    662|{                                                                                                  \
 1293|    662|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    662|}                                                                                                  \
_ZN16DLVRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    662|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    662|{                                                                                                  \
 1298|    662|  doRecordCheck(dr);                                                                               \
 1299|    662|  xfrPacket(pr);                                                                                   \
 1300|    662|}                                                                                                  \
_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|    625|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    625|{                                                                                                  \
 1293|    625|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    625|}                                                                                                  \
_ZN18SSHFPRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    625|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    625|{                                                                                                  \
 1298|    625|  doRecordCheck(dr);                                                                               \
 1299|    625|  xfrPacket(pr);                                                                                   \
 1300|    625|}                                                                                                  \
_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.20k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  1.20k|{                                                                                                  \
 1293|  1.20k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  1.20k|}                                                                                                  \
_ZN18RRSIGRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  1.20k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  1.20k|{                                                                                                  \
 1298|  1.20k|  doRecordCheck(dr);                                                                               \
 1299|  1.20k|  xfrPacket(pr);                                                                                   \
 1300|  1.20k|}                                                                                                  \
_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|    567|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    567|{                                                                                                  \
 1293|    567|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    567|}                                                                                                  \
_ZN19DNSKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    567|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    567|{                                                                                                  \
 1298|    567|  doRecordCheck(dr);                                                                               \
 1299|    567|  xfrPacket(pr);                                                                                   \
 1300|    567|}                                                                                                  \
_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|    452|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    452|{                                                                                                  \
 1293|    452|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    452|}                                                                                                  \
_ZN20CDNSKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    452|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    452|{                                                                                                  \
 1298|    452|  doRecordCheck(dr);                                                                               \
 1299|    452|  xfrPacket(pr);                                                                                   \
 1300|    452|}                                                                                                  \
_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|    944|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    944|{                                                                                                  \
 1293|    944|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    944|}                                                                                                  \
_ZN17RKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    944|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    944|{                                                                                                  \
 1298|    944|  doRecordCheck(dr);                                                                               \
 1299|    944|  xfrPacket(pr);                                                                                   \
 1300|    944|}                                                                                                  \
_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|    432|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    432|{                                                                                                  \
 1293|    432|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    432|}                                                                                                  \
_ZN16NIDRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    432|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    432|{                                                                                                  \
 1298|    432|  doRecordCheck(dr);                                                                               \
 1299|    432|  xfrPacket(pr);                                                                                   \
 1300|    432|}                                                                                                  \
_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|    264|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    264|{                                                                                                  \
 1293|    264|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    264|}                                                                                                  \
_ZN16L32RecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    264|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    264|{                                                                                                  \
 1298|    264|  doRecordCheck(dr);                                                                               \
 1299|    264|  xfrPacket(pr);                                                                                   \
 1300|    264|}                                                                                                  \
_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|    391|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    391|{                                                                                                  \
 1293|    391|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    391|}                                                                                                  \
_ZN16L64RecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    391|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    391|{                                                                                                  \
 1298|    391|  doRecordCheck(dr);                                                                               \
 1299|    391|  xfrPacket(pr);                                                                                   \
 1300|    391|}                                                                                                  \
_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|    770|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    770|{                                                                                                  \
 1293|    770|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    770|}                                                                                                  \
_ZN15LPRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    770|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    770|{                                                                                                  \
 1298|    770|  doRecordCheck(dr);                                                                               \
 1299|    770|  xfrPacket(pr);                                                                                   \
 1300|    770|}                                                                                                  \
_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.21k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  2.21k|{                                                                                                  \
 1293|  2.21k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  2.21k|}                                                                                                  \
_ZN17TKEYRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  2.21k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  2.21k|{                                                                                                  \
 1298|  2.21k|  doRecordCheck(dr);                                                                               \
 1299|  2.21k|  xfrPacket(pr);                                                                                   \
 1300|  2.21k|}                                                                                                  \
_ZN16URIRecordContent4makeERK9DNSRecordR12PacketReader:
 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|}                                                                                                  \
_ZN16URIRecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    521|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    521|{                                                                                                  \
 1298|    521|  doRecordCheck(dr);                                                                               \
 1299|    521|  xfrPacket(pr);                                                                                   \
 1300|    521|}                                                                                                  \
_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|  3.45k|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|  3.45k|{                                                                                                  \
 1293|  3.45k|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|  3.45k|}                                                                                                  \
_ZN16CAARecordContentC2ERK9DNSRecordR12PacketReader:
 1296|  3.45k|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|  3.45k|{                                                                                                  \
 1298|  3.45k|  doRecordCheck(dr);                                                                               \
 1299|  3.45k|  xfrPacket(pr);                                                                                   \
 1300|  3.45k|}                                                                                                  \
_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|    491|std::shared_ptr<RNAME##RecordContent::DNSRecordContent> RNAME##RecordContent::make(const DNSRecord& dr, PacketReader& pr) \
 1292|    491|{                                                                                                  \
 1293|    491|  return std::make_shared<RNAME##RecordContent>(dr, pr);                                           \
 1294|    491|}                                                                                                  \
_ZN20RESINFORecordContentC2ERK9DNSRecordR12PacketReader:
 1296|    491|RNAME##RecordContent::RNAME##RecordContent(const DNSRecord& dr, PacketReader& pr)                  \
 1297|    491|{                                                                                                  \
 1298|    491|  doRecordCheck(dr);                                                                               \
 1299|    491|  xfrPacket(pr);                                                                                   \
 1300|    491|}                                                                                                  \
_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|    779|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    779|{                                                                       \
 1343|    779|  CONV;                                                                 \
 1344|    779|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 779]
  ------------------
 1345|    779|}                                                                       \
_ZN17AAAARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    430|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    430|{                                                                       \
 1343|    430|  CONV;                                                                 \
 1344|    430|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 8, False: 422]
  ------------------
 1345|    430|}                                                                       \
_ZN15NSRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    751|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    751|{                                                                       \
 1343|    751|  CONV;                                                                 \
 1344|    751|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 4, False: 747]
  ------------------
 1345|    751|}                                                                       \
_ZN16PTRRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    493|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    493|{                                                                       \
 1343|    493|  CONV;                                                                 \
 1344|    493|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 5, False: 488]
  ------------------
 1345|    493|}                                                                       \
_ZN18CNAMERecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    779|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    779|{                                                                       \
 1343|    779|  CONV;                                                                 \
 1344|    779|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 4, False: 775]
  ------------------
 1345|    779|}                                                                       \
_ZN18ALIASRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    457|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    457|{                                                                       \
 1343|    457|  CONV;                                                                 \
 1344|    457|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 4, False: 453]
  ------------------
 1345|    457|}                                                                       \
_ZN18DNAMERecordContent9xfrPacketI12PacketReaderEEvRT_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: 12, False: 1.13k]
  ------------------
 1345|  1.14k|}                                                                       \
_ZN15MBRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    639|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    639|{                                                                       \
 1343|    639|  CONV;                                                                 \
 1344|    639|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 637]
  ------------------
 1345|    639|}                                                                       \
_ZN15MGRecordContent9xfrPacketI12PacketReaderEEvRT_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: 6, False: 675]
  ------------------
 1345|    681|}                                                                       \
_ZN15MRRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    598|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    598|{                                                                       \
 1343|    598|  CONV;                                                                 \
 1344|    598|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 7, False: 591]
  ------------------
 1345|    598|}                                                                       \
_ZN18MINFORecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.25k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.25k|{                                                                       \
 1343|  1.25k|  CONV;                                                                 \
 1344|  1.25k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 1, False: 1.25k]
  ------------------
 1345|  1.25k|}                                                                       \
_ZN16TXTRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    814|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    814|{                                                                       \
 1343|    814|  CONV;                                                                 \
 1344|    814|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 814]
  ------------------
 1345|    814|}                                                                       \
_ZN16ENTRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    873|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    873|{                                                                       \
 1343|    873|  CONV;                                                                 \
 1344|    873|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 873]
  ------------------
 1345|    873|}                                                                       \
_ZN16SPFRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    457|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    457|{                                                                       \
 1343|    457|  CONV;                                                                 \
 1344|    457|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 457]
  ------------------
 1345|    457|}                                                                       \
_ZN18HINFORecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    607|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    607|{                                                                       \
 1343|    607|  CONV;                                                                 \
 1344|    607|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 4, False: 603]
  ------------------
 1345|    607|}                                                                       \
_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.59k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.59k|{                                                                       \
 1343|  1.59k|  CONV;                                                                 \
 1344|  1.59k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 1.59k]
  ------------------
 1345|  1.59k|}                                                                       \
_ZN19WALLETRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    558|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    558|{                                                                       \
 1343|    558|  CONV;                                                                 \
 1344|    558|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 558]
  ------------------
 1345|    558|}                                                                       \
_ZN17TSIGRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    563|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    563|{                                                                       \
 1343|  1.48k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 186, False: 377]
  |  Branch (1343:3): [True: 171, False: 392]
  ------------------
 1344|    563|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 96, False: 467]
  ------------------
 1345|    563|}                                                                       \
_ZN15MXRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.77k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.77k|{                                                                       \
 1343|  1.77k|  CONV;                                                                 \
 1344|  1.77k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 1.77k]
  ------------------
 1345|  1.77k|}                                                                       \
_ZN15KXRecordContent9xfrPacketI12PacketReaderEEvRT_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: 1, False: 1.14k]
  ------------------
 1345|  1.14k|}                                                                       \
_ZN21IPSECKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  2.37k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  2.37k|{                                                                       \
 1343|  2.75k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 1, False: 2.37k]
  |  Branch (1343:3): [True: 544, False: 1.82k]
  |  Branch (1343:3): [True: 480, False: 1.89k]
  |  Branch (1343:3): [True: 424, False: 1.94k]
  |  Branch (1343:3): [True: 916, False: 1.45k]
  |  Branch (1343:3): [True: 7, False: 2.35k]
  |  Branch (1343:3): [True: 263, False: 2.09k]
  |  Branch (1343:3): [True: 1.03k, False: 1.32k]
  |  Branch (1343:3): [True: 1.05k, False: 1.30k]
  ------------------
 1344|  2.34k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 3, False: 2.34k]
  ------------------
 1345|  2.34k|}                                                                       \
_ZN18DHCIDRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    835|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    835|{                                                                       \
 1343|    835|  CONV;                                                                 \
 1344|    835|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 835]
  ------------------
 1345|    835|}                                                                       \
_ZN18AFSDBRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    855|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    855|{                                                                       \
 1343|    855|  CONV;                                                                 \
 1344|    855|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 3, False: 852]
  ------------------
 1345|    855|}                                                                       \
_ZN18NAPTRRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    536|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    536|{                                                                       \
 1343|    536|  CONV;                                                                 \
 1344|    536|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 3, False: 533]
  ------------------
 1345|    536|}                                                                       \
_ZN16SRVRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    981|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    981|{                                                                       \
 1343|    981|  CONV;                                                                 \
 1344|    981|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 3, False: 978]
  ------------------
 1345|    981|}                                                                       \
_ZN16SOARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.15k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.15k|{                                                                       \
 1343|  1.15k|  CONV;                                                                 \
 1344|  1.15k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 3, False: 1.15k]
  ------------------
 1345|  1.15k|}                                                                       \
_ZN16KEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    616|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    616|{                                                                       \
 1343|    616|  CONV;                                                                 \
 1344|    616|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 616]
  ------------------
 1345|    616|}                                                                       \
_ZN19ZONEMDRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    651|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    651|{                                                                       \
 1343|    651|  CONV;                                                                 \
 1344|    651|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 651]
  ------------------
 1345|    651|}                                                                       \
_ZN17CERTRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    964|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    964|{                                                                       \
 1343|    965|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 1, False: 963]
  ------------------
 1344|    963|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 963]
  ------------------
 1345|    963|}                                                                       \
_ZN17TLSARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    609|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    609|{                                                                       \
 1343|    609|  CONV;                                                                 \
 1344|    609|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 609]
  ------------------
 1345|    609|}                                                                       \
_ZN23OPENPGPKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.21k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.21k|{                                                                       \
 1343|  1.21k|  CONV;                                                                 \
 1344|  1.21k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 1.21k]
  ------------------
 1345|  1.21k|}                                                                       \
_ZN17SVCBRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  5.38k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  5.38k|{                                                                       \
 1343|  10.4k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 5.09k, False: 281]
  ------------------
 1344|  5.38k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 5.37k]
  ------------------
 1345|  5.38k|}                                                                       \
_ZN18HTTPSRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.85k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.85k|{                                                                       \
 1343|  3.46k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 1.61k, False: 242]
  ------------------
 1344|  1.85k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 3, False: 1.85k]
  ------------------
 1345|  1.85k|}                                                                       \
_ZN17HHITRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    537|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    537|{                                                                       \
 1343|    537|  CONV;                                                                 \
 1344|    537|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 537]
  ------------------
 1345|    537|}                                                                       \
_ZN17BRIDRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    451|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    451|{                                                                       \
 1343|    451|  CONV;                                                                 \
 1344|    451|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 451]
  ------------------
 1345|    451|}                                                                       \
_ZN19SMIMEARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    632|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    632|{                                                                       \
 1343|    632|  CONV;                                                                 \
 1344|    632|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 632]
  ------------------
 1345|    632|}                                                                       \
_ZN15DSRecordContent9xfrPacketI12PacketReaderEEvRT_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|}                                                                       \
_ZN16CDSRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    788|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    788|{                                                                       \
 1343|    788|  CONV;                                                                 \
 1344|    788|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 788]
  ------------------
 1345|    788|}                                                                       \
_ZN16DLVRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    662|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    662|{                                                                       \
 1343|    662|  CONV;                                                                 \
 1344|    662|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 662]
  ------------------
 1345|    662|}                                                                       \
_ZN18SSHFPRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    625|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    625|{                                                                       \
 1343|    625|  CONV;                                                                 \
 1344|    625|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 625]
  ------------------
 1345|    625|}                                                                       \
_ZN18RRSIGRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  1.20k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  1.20k|{                                                                       \
 1343|  1.20k|  CONV;                                                                 \
 1344|  1.20k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 1.20k]
  ------------------
 1345|  1.20k|}                                                                       \
_ZN19DNSKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    567|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    567|{                                                                       \
 1343|    567|  CONV;                                                                 \
 1344|    567|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 567]
  ------------------
 1345|    567|}                                                                       \
_ZN20CDNSKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    452|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    452|{                                                                       \
 1343|    452|  CONV;                                                                 \
 1344|    452|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 452]
  ------------------
 1345|    452|}                                                                       \
_ZN17RKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    944|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    944|{                                                                       \
 1343|    944|  CONV;                                                                 \
 1344|    944|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 944]
  ------------------
 1345|    944|}                                                                       \
_ZN16NIDRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    432|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    432|{                                                                       \
 1343|    432|  CONV;                                                                 \
 1344|    432|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 22, False: 410]
  ------------------
 1345|    432|}                                                                       \
_ZN16L32RecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    264|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    264|{                                                                       \
 1343|    264|  CONV;                                                                 \
 1344|    264|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 262]
  ------------------
 1345|    264|}                                                                       \
_ZN16L64RecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    391|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    391|{                                                                       \
 1343|    391|  CONV;                                                                 \
 1344|    391|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 12, False: 379]
  ------------------
 1345|    391|}                                                                       \
_ZN15LPRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    770|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    770|{                                                                       \
 1343|    770|  CONV;                                                                 \
 1344|    770|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 2, False: 768]
  ------------------
 1345|    770|}                                                                       \
_ZN18EUI48RecordContentC2Ev:
 1166|    938|  EUI48RecordContent() = default;
_ZN18EUI64RecordContentC2Ev:
 1185|    417|  EUI64RecordContent() = default;
_ZN16APLRecordContentC2Ev:
 1216|  1.91k|  APLRecordContent() = default;
_ZN17TKEYRecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  2.21k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  2.21k|{                                                                       \
 1343|  6.55k|  CONV;                                                                 \
  ------------------
  |  Branch (1343:3): [True: 1.09k, False: 1.11k]
  |  Branch (1343:3): [True: 1.02k, False: 1.18k]
  ------------------
 1344|  2.21k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 18, False: 2.19k]
  ------------------
 1345|  2.21k|}                                                                       \
_ZN16URIRecordContent9xfrPacketI12PacketReaderEEvRT_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: 0, False: 521]
  ------------------
 1345|    521|}                                                                       \
_ZN16CAARecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|  3.45k|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|  3.45k|{                                                                       \
 1343|  3.45k|  CONV;                                                                 \
 1344|  3.45k|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 3.45k]
  ------------------
 1345|  3.45k|}                                                                       \
_ZN20RESINFORecordContent9xfrPacketI12PacketReaderEEvRT_b:
 1341|    491|void RNAME##RecordContent::xfrPacket(Convertor& conv, bool /* noDot */) \
 1342|    491|{                                                                       \
 1343|    491|  CONV;                                                                 \
 1344|    491|  if (conv.eof() == false) throw MOADNSException("When parsing " #RNAME " trailing data was not parsed: '" + conv.getRemaining() + "'"); \
  ------------------
  |  Branch (1344:7): [True: 0, False: 491]
  ------------------
 1345|    491|}                                                                       \
_ZN10NSECBitmapC2Ev:
  820|  5.41k|  NSECBitmap(): d_bitset(nullptr)
  821|  5.41k|  {
  822|  5.41k|  }
_ZN10NSECBitmap3setEt:
  851|   417k|  {
  852|   417k|    if (!d_bitset) {
  ------------------
  |  Branch (852:9): [True: 413k, False: 3.62k]
  ------------------
  853|   413k|      if (d_set.size() >= 200) {
  ------------------
  |  Branch (853:11): [True: 1.87k, False: 411k]
  ------------------
  854|  1.87k|        migrateToBitSet();
  855|  1.87k|      }
  856|   413k|    }
  857|   417k|    if (d_bitset) {
  ------------------
  |  Branch (857:9): [True: 5.50k, False: 411k]
  ------------------
  858|  5.50k|      d_bitset->set(type);
  859|  5.50k|    }
  860|   411k|    else {
  861|   411k|      d_set.insert(type);
  862|   411k|    }
  863|   417k|  }
_ZN10NSECBitmap15migrateToBitSetEv:
  891|  1.87k|  {
  892|  1.87k|    d_bitset = std::make_unique<std::bitset<nbTypes>>();
  893|   375k|    for (const auto& type : d_set) {
  ------------------
  |  Branch (893:27): [True: 375k, False: 1.87k]
  ------------------
  894|   375k|      d_bitset->set(type);
  895|   375k|    }
  896|  1.87k|    d_set.clear();
  897|  1.87k|  }
_ZN17NSECRecordContentC2Ev:
  911|  3.67k|  NSECRecordContent() = default;
_ZN18NSEC3RecordContentC2Ev:
  952|  1.11k|  NSEC3RecordContent() = default;
_ZN23NSEC3PARAMRecordContentC2Ev:
 1035|  1.17k|  NSEC3PARAMRecordContent() = default;
_ZN18CSYNCRecordContentC2Ev:
 1002|    621|  CSYNCRecordContent() = default;
_ZN16LOCRecordContentC2Ev:
 1063|    578|  LOCRecordContent() = default;

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

_ZN12ComboAddressC2Ev:
  212|  18.7k|  {
  213|       |    sin4.sin_family = AF_INET;
  214|  18.7k|    sin4.sin_addr.s_addr = 0;
  215|  18.7k|    sin4.sin_port = 0;
  216|  18.7k|    sin6.sin6_scope_id = 0;
  217|  18.7k|    sin6.sin6_flowinfo = 0;
  218|  18.7k|  }
_ZNK12ComboAddress6isIPv6Ev:
  263|    194|  {
  264|       |    return sin4.sin_family == AF_INET6;
  265|    194|  }
_ZNK12ComboAddress6isIPv4Ev:
  267|  9.16k|  {
  268|       |    return sin4.sin_family == AF_INET;
  269|  9.16k|  }
_Z23makeComboAddressFromRawhPKcm:
  661|  9.36k|{
  662|  9.36k|  ComboAddress address;
  663|       |
  664|  9.36k|  if (version == 4) {
  ------------------
  |  Branch (664:7): [True: 9.16k, False: 194]
  ------------------
  665|  9.16k|    address.sin4.sin_family = AF_INET;
  666|  9.16k|    if (len != sizeof(address.sin4.sin_addr)) {
  ------------------
  |  Branch (666:9): [True: 0, False: 9.16k]
  ------------------
  667|      0|      throw NetmaskException("invalid raw address length");
  668|      0|    }
  669|  9.16k|    memcpy(&address.sin4.sin_addr, raw, sizeof(address.sin4.sin_addr));
  670|  9.16k|  }
  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|  9.36k|  return address;
  683|  9.36k|}
_Z23makeComboAddressFromRawhRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE:
  686|  9.36k|{
  687|  9.36k|  return makeComboAddressFromRaw(version, str.c_str(), str.size());
  688|  9.36k|}

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

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

qtype.cc:_ZL12swapElementsRKNSt3__13mapIKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEtNS_4lessIS7_EENS4_INS_4pairIS7_tEEEEEE:
  103|      2|{
  104|      2|  std::map<uint16_t, const std::string> ret;
  105|       |
  106|    138|  for (const auto& name : names) {
  ------------------
  |  Branch (106:25): [True: 138, False: 2]
  ------------------
  107|    138|    ret.emplace(name.second, name.first);
  108|    138|  }
  109|      2|  return ret;
  110|      2|}

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

_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|    578|{
  227|    578|  auto ret=std::make_shared<LOCRecordContent>();
  228|    578|  pr.xfr8BitInt(ret->d_version);
  229|    578|  pr.xfr8BitInt(ret->d_size);
  230|    578|  pr.xfr8BitInt(ret->d_horizpre);
  231|    578|  pr.xfr8BitInt(ret->d_vertpre);
  232|       |
  233|    578|  pr.xfr32BitInt(ret->d_latitude);
  234|    578|  pr.xfr32BitInt(ret->d_longitude);
  235|    578|  pr.xfr32BitInt(ret->d_altitude);
  236|    578|  if (!pr.eof()) {
  ------------------
  |  Branch (236:7): [True: 1, False: 577]
  ------------------
  237|      1|    throw MOADNSException("When parsing LOC trailing data was not parsed: '" + pr.getRemaining() + "'");
  238|      1|  }
  239|       |
  240|    577|  return ret;
  241|    578|}

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

_ZN8SvcParam11keyToStringERKNS_11SvcParamKeyE:
   66|     18|{
   67|     18|  auto ret = std::find_if(SvcParams.begin(), SvcParams.end(), [&](const std::pair<std::string, SvcParam::SvcParamKey>& e) { return e.second == k; });
   68|     18|  if (ret != SvcParams.end()) {
  ------------------
  |  Branch (68:7): [True: 18, False: 0]
  ------------------
   69|     18|    return ret->first;
   70|     18|  }
   71|      0|  return "key" + std::to_string(k);
   72|     18|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyE:
   75|  1.34k|{
   76|  1.34k|  d_key = key;
   77|  1.34k|  if (d_key != SvcParamKey::no_default_alpn && d_key != SvcParamKey::ohttp && d_key != SvcParamKey::pvd) {
  ------------------
  |  Branch (77:7): [True: 610, False: 736]
  |  Branch (77:48): [True: 282, False: 328]
  |  Branch (77:79): [True: 0, False: 282]
  ------------------
   78|      0|    throw std::invalid_argument("can not create non-empty SvcParam for key '" + keyToString(key) + "'");
   79|      0|  }
   80|  1.34k|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   83|  2.87k|{
   84|  2.87k|  d_key = key;
   85|  2.87k|  if (d_key != SvcParamKey::ech && d_key != SvcParamKey::dohpath && d_key < 11) {
  ------------------
  |  Branch (85:7): [True: 1.97k, False: 896]
  |  Branch (85:36): [True: 1.77k, False: 195]
  |  Branch (85:69): [True: 0, False: 1.77k]
  ------------------
   86|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a string value");
   87|      0|  }
   88|  2.87k|  if (d_key == SvcParamKey::ech) {
  ------------------
  |  Branch (88:7): [True: 896, False: 1.97k]
  ------------------
   89|    896|    std::string d;
   90|       |    // TODO check Base64 decode
   91|    896|    d_ech = value;
   92|    896|    return;
   93|    896|  }
   94|  1.97k|  d_value = value;
   95|  1.97k|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEONSt3__16vectorINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS8_ISA_EEEE:
   98|  1.22k|{
   99|  1.22k|  d_key = key;
  100|  1.22k|  if (d_key != SvcParamKey::alpn && d_key != SvcParamKey::docpath) {
  ------------------
  |  Branch (100:7): [True: 316, False: 910]
  |  Branch (100:37): [True: 0, False: 316]
  ------------------
  101|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a string-set value");
  102|      0|  }
  103|  1.22k|  d_alpn = std::move(value);
  104|  1.22k|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEONSt3__13setIS0_NS3_4lessIS0_EENS3_9allocatorIS0_EEEE:
  120|    835|{
  121|    835|  d_key = key;
  122|    835|  if (d_key != SvcParamKey::mandatory) {
  ------------------
  |  Branch (122:7): [True: 0, False: 835]
  ------------------
  123|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a SvcParamKey-set value");
  124|      0|  }
  125|    835|  d_mandatory = std::move(value);
  126|    835|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEONSt3__16vectorI12ComboAddressNS3_9allocatorIS5_EEEE:
  129|    769|{
  130|    769|  d_key = key;
  131|    769|  if (d_key != SvcParamKey::ipv6hint && d_key != SvcParamKey::ipv4hint) {
  ------------------
  |  Branch (131:7): [True: 408, False: 361]
  |  Branch (131:41): [True: 0, False: 408]
  ------------------
  132|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with an IP address value");
  133|      0|  }
  134|  9.36k|  for (auto const& addr : value) {
  ------------------
  |  Branch (134:25): [True: 9.36k, False: 769]
  ------------------
  135|  9.36k|    if (d_key == SvcParam::ipv6hint && !addr.isIPv6()) {
  ------------------
  |  Branch (135:9): [True: 194, False: 9.16k]
  |  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|  9.36k|    if (d_key == SvcParam::ipv4hint && !addr.isIPv4()) {
  ------------------
  |  Branch (138:9): [True: 9.16k, False: 194]
  |  Branch (138:40): [True: 0, False: 9.16k]
  ------------------
  139|      0|      throw std::invalid_argument("non-IPv4 address ('" + addr.toString() + "') passed for " + keyToString(key));
  140|      0|    }
  141|  9.36k|  }
  142|    769|  d_ipHints = std::move(value);
  143|    769|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEONSt3__16vectorItNS3_9allocatorItEEEE:
  146|    455|  d_key(key)
  147|    455|{
  148|    455|  if (d_key != SvcParamKey::tls_supported_groups) {
  ------------------
  |  Branch (148:7): [True: 0, False: 455]
  ------------------
  149|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a uint16 value-vector");
  150|      0|  }
  151|    455|  d_tls_supported_groups = std::move(value);
  152|    455|}
_ZN8SvcParamC2ERKNS_11SvcParamKeyEt:
  155|    317|{
  156|    317|  d_key = key;
  157|    317|  if (d_key != SvcParamKey::port) {
  ------------------
  |  Branch (157:7): [True: 0, False: 317]
  ------------------
  158|      0|    throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a port value");
  159|      0|  }
  160|    317|  d_port = value;
  161|    317|}
_ZNK8SvcParamltERKS_:
  165|  6.29k|{
  166|  6.29k|  return this->d_key < other.getKey();
  167|  6.29k|}
svc-records.cc:_ZZN8SvcParam11keyToStringERKNS_11SvcParamKeyEENK3$_0clERKNSt3__14pairINS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES0_EE:
   67|    160|  auto ret = std::find_if(SvcParams.begin(), SvcParams.end(), [&](const std::pair<std::string, SvcParam::SvcParamKey>& e) { return e.second == k; });

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

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

