LLVMFuzzerTestOneInput:
   26|    422|{
   27|    422|    if (size == 0)
  ------------------
  |  Branch (27:9): [True: 0, False: 422]
  ------------------
   28|      0|    {
   29|      0|        return 0;
   30|      0|    }
   31|       |
   32|    422|    std::string_view input(reinterpret_cast<const char*>(data), size);
   33|       |
   34|       |    // 1. Test intfFromRtm
   35|    422|    try
   36|    422|    {
   37|    422|        (void)phosphor::network::netlink::intfFromRtm(input);
   38|    422|    }
   39|    422|    catch (...)
   40|    422|    {
   41|    396|    }
   42|       |
   43|       |    // 2. Test addrFromRtm
   44|    422|    try
   45|    422|    {
   46|    422|        (void)phosphor::network::netlink::addrFromRtm(input);
   47|    422|    }
   48|    422|    catch (...)
   49|    422|    {
   50|    421|    }
   51|       |
   52|       |    // 3. Test neighFromRtm
   53|    422|    try
   54|    422|    {
   55|    422|        (void)phosphor::network::netlink::neighFromRtm(input);
   56|    422|    }
   57|    422|    catch (...)
   58|    422|    {
   59|    408|    }
   60|       |
   61|       |    // 4. Test gatewayFromRtm
   62|    422|    try
   63|    422|    {
   64|    422|        (void)phosphor::network::netlink::gatewayFromRtm(input);
   65|    422|    }
   66|    422|    catch (...)
   67|    422|    {
   68|     34|    }
   69|       |
   70|       |    // 5. Test extractRtAttr in a loop
   71|    422|    {
   72|    422|        std::string_view attrInput = input;
   73|  1.10k|        while (!attrInput.empty())
  ------------------
  |  Branch (73:16): [True: 1.10k, False: 1]
  ------------------
   74|  1.10k|        {
   75|  1.10k|            try
   76|  1.10k|            {
   77|  1.10k|                auto [hdr, attrData] =
   78|  1.10k|                    phosphor::network::netlink::extractRtAttr(attrInput);
   79|  1.10k|                (void)hdr;
   80|  1.10k|                (void)attrData;
   81|  1.10k|            }
   82|  1.10k|            catch (...)
   83|  1.10k|            {
   84|    421|                break;
   85|    421|            }
   86|  1.10k|        }
   87|    422|    }
   88|       |
   89|       |    // 6. Test detail::processMsg
   90|    422|    {
   91|    422|        std::string_view msgInput = input;
   92|    422|        bool done = true;
   93|    422|        auto cb = [](const nlmsghdr&, std::string_view) {};
   94|    422|        try
   95|    422|        {
   96|    422|            phosphor::network::netlink::detail::processMsg(msgInput, done, cb);
   97|    422|        }
   98|    422|        catch (...)
   99|    422|        {
  100|    382|        }
  101|    422|    }
  102|       |
  103|    422|    return 0;
  104|    422|}
rtnetlink_fuzzer.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_0clERK8nlmsghdrNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEE:
   93|     39|        auto cb = [](const nlmsghdr&, std::string_view) {};

_ZN8phosphor7network7netlink6detail10processMsgERNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEERbN7stdplus13function_viewIFvRK8nlmsghdrS7_EEE:
   27|    422|{
   28|       |    // Parse and update the message buffer
   29|    422|    const auto& hdr = stdplus::raw::refFrom<nlmsghdr, Aligned>(msgs);
   30|    422|    if (hdr.nlmsg_len < sizeof(hdr))
  ------------------
  |  Branch (30:9): [True: 6, False: 416]
  ------------------
   31|      6|    {
   32|      6|        throw std::runtime_error(
   33|      6|            std::format("nlmsg length shorter than header: {} < {}",
   34|      6|                        hdr.nlmsg_len, sizeof(hdr)));
   35|      6|    }
   36|    416|    if (msgs.size() < hdr.nlmsg_len)
  ------------------
  |  Branch (36:9): [True: 320, False: 96]
  ------------------
   37|    320|    {
   38|    320|        throw std::runtime_error(
   39|    320|            std::format("not enough message for nlmsg: {} < {}", msgs.size(),
   40|    320|                        hdr.nlmsg_len));
   41|    320|    }
   42|     96|    auto msg = msgs.substr(NLMSG_HDRLEN, hdr.nlmsg_len - NLMSG_HDRLEN);
   43|     96|    msgs.remove_prefix(NLMSG_ALIGN(hdr.nlmsg_len));
   44|       |
   45|       |    // Figure out how to handle the individual message
   46|     96|    bool doCallback = true;
   47|     96|    if (hdr.nlmsg_flags & NLM_F_MULTI)
  ------------------
  |  Branch (47:9): [True: 15, False: 81]
  ------------------
   48|     15|    {
   49|     15|        done = false;
   50|     15|    }
   51|     96|    if (hdr.nlmsg_type == NLMSG_NOOP)
  ------------------
  |  Branch (51:9): [True: 1, False: 95]
  ------------------
   52|      1|    {
   53|      1|        doCallback = false;
   54|      1|    }
   55|     95|    else if (hdr.nlmsg_type == NLMSG_DONE)
  ------------------
  |  Branch (55:14): [True: 0, False: 95]
  ------------------
   56|      0|    {
   57|      0|        if (done)
  ------------------
  |  Branch (57:13): [True: 0, False: 0]
  ------------------
   58|      0|        {
   59|      0|            throw std::runtime_error("Got done for non-multi msg");
   60|      0|        }
   61|      0|        done = true;
   62|      0|        doCallback = false;
   63|      0|    }
   64|     95|    else if (hdr.nlmsg_type == NLMSG_ERROR)
  ------------------
  |  Branch (64:14): [True: 1, False: 94]
  ------------------
   65|      1|    {
   66|      1|        const auto& err = stdplus::raw::refFrom<nlmsgerr, Aligned>(msg);
   67|       |        // This is just an ACK so don't do the callback
   68|      1|        if (err.error <= 0)
  ------------------
  |  Branch (68:13): [True: 0, False: 1]
  ------------------
   69|      0|        {
   70|      0|            doCallback = false;
   71|      0|        }
   72|      1|    }
   73|       |    // All multi-msg headers must have the multi flag
   74|     96|    if (!done && !(hdr.nlmsg_flags & NLM_F_MULTI))
  ------------------
  |  Branch (74:9): [True: 15, False: 81]
  |  Branch (74:18): [True: 0, False: 15]
  ------------------
   75|      0|    {
   76|      0|        throw std::runtime_error("Got non-multi msg before done");
   77|      0|    }
   78|     96|    if (doCallback)
  ------------------
  |  Branch (78:9): [True: 39, False: 57]
  ------------------
   79|     39|    {
   80|     39|        cb(hdr, msg);
   81|     39|    }
   82|     96|}
_ZN8phosphor7network7netlink13extractRtAttrERNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE:
  184|  4.51k|{
  185|  4.51k|    const auto& hdr = stdplus::raw::refFrom<rtattr, Aligned>(data);
  186|  4.51k|    if (hdr.rta_len < RTA_LENGTH(0))
  ------------------
  |  Branch (186:9): [True: 362, False: 4.14k]
  ------------------
  187|    362|    {
  188|    362|        throw std::runtime_error(std::format(
  189|    362|            "rtattr shorter than header: {} < {}", hdr.rta_len, RTA_LENGTH(0)));
  190|    362|    }
  191|  4.14k|    if (data.size() < hdr.rta_len)
  ------------------
  |  Branch (191:9): [True: 1.12k, False: 3.02k]
  ------------------
  192|  1.12k|    {
  193|  1.12k|        throw std::runtime_error(
  194|  1.12k|            std::format("not enough message for rtattr: {} < {}", data.size(),
  195|  1.12k|                        hdr.rta_len));
  196|  1.12k|    }
  197|  3.02k|    auto attr = data.substr(RTA_LENGTH(0), hdr.rta_len - RTA_LENGTH(0));
  198|       |    data.remove_prefix(RTA_ALIGN(hdr.rta_len));
  199|  3.02k|    return {hdr, attr};
  200|  4.14k|}

_ZN8phosphor7network7netlink13extractRtDataI9ifinfomsgEERKT_RNSt3__117basic_string_viewIcNS7_11char_traitsIcEEEE:
   48|    422|{
   49|    422|    const T& ret = stdplus::raw::refFrom<T, stdplus::raw::Aligned>(data);
   50|       |    data.remove_prefix(NLMSG_ALIGN(sizeof(T)));
   51|    422|    return ret;
   52|    422|}
_ZN8phosphor7network7netlink13extractRtDataI5rtmsgEERKT_RNSt3__117basic_string_viewIcNS7_11char_traitsIcEEEE:
   48|    422|{
   49|    422|    const T& ret = stdplus::raw::refFrom<T, stdplus::raw::Aligned>(data);
   50|       |    data.remove_prefix(NLMSG_ALIGN(sizeof(T)));
   51|    422|    return ret;
   52|    422|}
_ZN8phosphor7network7netlink13extractRtDataI9ifaddrmsgEERKT_RNSt3__117basic_string_viewIcNS7_11char_traitsIcEEEE:
   48|    422|{
   49|    422|    const T& ret = stdplus::raw::refFrom<T, stdplus::raw::Aligned>(data);
   50|       |    data.remove_prefix(NLMSG_ALIGN(sizeof(T)));
   51|    422|    return ret;
   52|    422|}
_ZN8phosphor7network7netlink13extractRtDataI5ndmsgEERKT_RNSt3__117basic_string_viewIcNS7_11char_traitsIcEEEE:
   48|    422|{
   49|    422|    const T& ret = stdplus::raw::refFrom<T, stdplus::raw::Aligned>(data);
   50|       |    data.remove_prefix(NLMSG_ALIGN(sizeof(T)));
   51|    422|    return ret;
   52|    422|}

_ZN8phosphor7network7netlink11intfFromRtmENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE:
   55|    422|{
   56|    422|    const auto& ifinfo = netlink::extractRtData<ifinfomsg>(msg);
   57|    422|    InterfaceInfo ret;
   58|    422|    ret.type = ifinfo.ifi_type;
   59|    422|    ret.idx = ifinfo.ifi_index;
   60|    422|    ret.flags = ifinfo.ifi_flags;
   61|  1.02k|    while (!msg.empty())
  ------------------
  |  Branch (61:12): [True: 943, False: 81]
  ------------------
   62|    943|    {
   63|    943|        auto [hdr, data] = netlink::extractRtAttr(msg);
   64|    943|        switch (hdr.rta_type)
  ------------------
  |  Branch (64:17): [True: 15, False: 928]
  ------------------
   65|    943|        {
   66|      3|            case IFLA_IFNAME:
  ------------------
  |  Branch (66:13): [True: 3, False: 940]
  ------------------
   67|      3|                ret.name.emplace(data.begin(), data.end() - 1);
   68|      3|                break;
   69|     10|            case IFLA_ADDRESS:
  ------------------
  |  Branch (69:13): [True: 10, False: 933]
  ------------------
   70|     10|                if (data.size() == sizeof(stdplus::EtherAddr))
  ------------------
  |  Branch (70:21): [True: 0, False: 10]
  ------------------
   71|      0|                {
   72|      0|                    ret.mac.emplace(
   73|      0|                        stdplus::raw::copyFrom<stdplus::EtherAddr>(data));
   74|      0|                }
   75|     10|                break;
   76|      2|            case IFLA_MTU:
  ------------------
  |  Branch (76:13): [True: 2, False: 941]
  ------------------
   77|      2|                ret.mtu.emplace(stdplus::raw::copyFrom<unsigned>(data));
   78|      2|                break;
   79|      0|            case IFLA_LINK:
  ------------------
  |  Branch (79:13): [True: 0, False: 943]
  ------------------
   80|      0|                ret.parent_idx.emplace(stdplus::raw::copyFrom<unsigned>(data));
   81|      0|                break;
   82|      0|            case IFLA_LINKINFO:
  ------------------
  |  Branch (82:13): [True: 0, False: 943]
  ------------------
   83|      0|                parseLinkInfo(ret, data);
   84|      0|                break;
   85|    943|        }
   86|    943|    }
   87|     81|    return ret;
   88|    422|}
_ZN8phosphor7network7netlink14gatewayFromRtmENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE:
  118|    422|{
  119|    422|    const auto& rtm = extractRtData<rtmsg>(msg);
  120|    422|    if (rtm.rtm_table != RT_TABLE_MAIN || rtm.rtm_dst_len != 0)
  ------------------
  |  Branch (120:9): [True: 415, False: 7]
  |  Branch (120:43): [True: 6, False: 1]
  ------------------
  121|    387|    {
  122|    387|        return std::nullopt;
  123|    387|    }
  124|     35|    switch (rtm.rtm_family)
  125|     35|    {
  126|      0|        case AF_INET:
  ------------------
  |  Branch (126:9): [True: 0, False: 35]
  ------------------
  127|      0|            return parse<stdplus::In4Addr>(msg);
  128|      0|        case AF_INET6:
  ------------------
  |  Branch (128:9): [True: 0, False: 35]
  ------------------
  129|      0|            return parse<stdplus::In6Addr>(msg);
  130|      1|        default:
  ------------------
  |  Branch (130:9): [True: 1, False: 34]
  ------------------
  131|      1|            return std::nullopt;
  132|     35|    }
  133|     35|}
_ZN8phosphor7network7netlink11addrFromRtmENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE:
  136|    422|{
  137|    422|    const auto& ifa = extractRtData<ifaddrmsg>(msg);
  138|       |
  139|    422|    uint32_t flags = ifa.ifa_flags;
  140|    422|    std::optional<stdplus::InAnyAddr> addr;
  141|  1.89k|    while (!msg.empty())
  ------------------
  |  Branch (141:12): [True: 1.47k, False: 422]
  ------------------
  142|  1.47k|    {
  143|  1.47k|        auto [hdr, data] = extractRtAttr(msg);
  144|  1.47k|        if (hdr.rta_type == IFA_ADDRESS)
  ------------------
  |  Branch (144:13): [True: 3, False: 1.47k]
  ------------------
  145|      3|        {
  146|      3|            addr.emplace(addrFromBuf(ifa.ifa_family, data));
  147|      3|        }
  148|  1.47k|        else if (hdr.rta_type == IFA_FLAGS)
  ------------------
  |  Branch (148:18): [True: 1, False: 1.47k]
  ------------------
  149|      1|        {
  150|      1|            flags = stdplus::raw::copyFromStrict<uint32_t>(data);
  151|      1|        }
  152|  1.47k|    }
  153|    422|    if (!addr)
  ------------------
  |  Branch (153:9): [True: 1, False: 421]
  ------------------
  154|      1|    {
  155|      1|        throw std::runtime_error("Missing address");
  156|      1|    }
  157|    421|    return AddressInfo{.ifidx = ifa.ifa_index,
  158|    421|                       .ifaddr = stdplus::SubnetAny{*addr, ifa.ifa_prefixlen},
  159|    421|                       .scope = ifa.ifa_scope,
  160|    421|                       .flags = flags};
  161|    422|}
_ZN8phosphor7network7netlink12neighFromRtmENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE:
  164|    422|{
  165|    422|    const auto& ndm = netlink::extractRtData<ndmsg>(msg);
  166|       |
  167|    422|    NeighborInfo ret;
  168|    422|    ret.ifidx = ndm.ndm_ifindex;
  169|    422|    ret.state = ndm.ndm_state;
  170|  1.40k|    while (!msg.empty())
  ------------------
  |  Branch (170:12): [True: 983, False: 422]
  ------------------
  171|    983|    {
  172|    983|        auto [hdr, data] = netlink::extractRtAttr(msg);
  173|    983|        if (hdr.rta_type == NDA_LLADDR)
  ------------------
  |  Branch (173:13): [True: 2, False: 981]
  ------------------
  174|      2|        {
  175|      2|            ret.mac = stdplus::raw::copyFrom<stdplus::EtherAddr>(data);
  176|      2|        }
  177|    981|        else if (hdr.rta_type == NDA_DST)
  ------------------
  |  Branch (177:18): [True: 4, False: 977]
  ------------------
  178|      4|        {
  179|      4|            ret.addr = addrFromBuf(ndm.ndm_family, data);
  180|      4|        }
  181|    983|    }
  182|    422|    return ret;
  183|    422|}

_ZN8phosphor7network11addrFromBufEiNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEE:
   28|      7|{
   29|      7|    switch (family)
   30|      7|    {
   31|      1|        case AF_INET:
  ------------------
  |  Branch (31:9): [True: 1, False: 6]
  ------------------
   32|      1|            return stdplus::raw::copyFromStrict<stdplus::In4Addr>(buf);
   33|      0|        case AF_INET6:
  ------------------
  |  Branch (33:9): [True: 0, False: 7]
  ------------------
   34|      0|            return stdplus::raw::copyFromStrict<stdplus::In6Addr>(buf);
   35|      6|        default:
  ------------------
  |  Branch (35:9): [True: 6, False: 1]
  ------------------
   36|      6|            throw std::invalid_argument("Unrecognized family");
   37|      7|    }
   38|      7|}

rtnetlink_fuzzer.cpp:_ZN7stdplus13function_viewIFvRK8nlmsghdrNSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEC2ITkNS_6detail8NonFViewERZ22LLVMFuzzerTestOneInputE3$_0EEOT_:
  155|    422|    inline function_view(F&& f) noexcept : _Base(std::forward<F>(f))
  156|    422|    {}
rtnetlink_fuzzer.cpp:_ZN7stdplus6detail18function_view_baseIvLb0ELb0EJRK8nlmsghdrNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEEEC2ITkNS5_9invocableIDpT2_EEZ22LLVMFuzzerTestOneInputE3$_0QaantT0_sr3stdE7same_asINS5_20__invoke_result_implIvJTL0__SE_EE4typeET_EEERSK_:
   80|    422|        memfun([](void* v, Args... args) {
   81|    422|            return (*reinterpret_cast<F*>(v))(std::forward<Args>(args)...);
   82|    422|        }),
   83|    422|        obj(std::addressof(f))
   84|    422|    {}
rtnetlink_fuzzer.cpp:_ZZN7stdplus6detail18function_view_baseIvLb0ELb0EJRK8nlmsghdrNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEEEC1ITkNS5_9invocableIDpT2_EEZ22LLVMFuzzerTestOneInputE3$_0QaantT0_sr3stdE7same_asINS5_20__invoke_result_implIvJTL0__SE_EE4typeET_EEERSK_ENKUlPvS4_S9_E_clESM_S4_S9_:
   80|     39|        memfun([](void* v, Args... args) {
   81|     39|            return (*reinterpret_cast<F*>(v))(std::forward<Args>(args)...);
   82|     39|        }),
_ZNK7stdplus6detail18function_view_baseIvLb0ELb0EJRK8nlmsghdrNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEEEclES4_S9_:
  102|     39|    {
  103|     39|        if (obj == nullptr)
  ------------------
  |  Branch (103:13): [True: 0, False: 39]
  ------------------
  104|      0|        {
  105|      0|            return fun(std::forward<Args>(args)...);
  106|      0|        }
  107|     39|        return memfun(obj, std::forward<Args>(args)...);
  108|     39|    }

_ZN7stdplus9EtherAddrC2Ev:
   19|      2|    constexpr EtherAddr() noexcept : ether_addr() {}

_ZN7stdplus7In4AddrC2Ev:
   36|      1|    constexpr In4Addr() noexcept : In4AddrInner({.s4_addr = {}}) {}
_ZN7stdplus9InAnyAddrC2ENS_7In4AddrE:
  397|      1|    constexpr InAnyAddr(In4Addr a) noexcept : detail::InAnyAddrV(a) {}

_ZN7stdplus6detail8addrBitsINS_7In4AddrEEEmT_:
   71|      1|{
   72|      1|    return sizeof(a) << 3;
   73|      1|}
_ZN7stdplus9SubnetAnyC2ENS_9InAnyAddrEh:
  186|      1|    constexpr SubnetAny(InAnyAddr addr, Pfx pfx) : addr(addr), pfx(pfx)
  187|      1|    {
  188|      1|        if (std::visit([](auto v) { return detail::addrBits(v); }, addr) < pfx)
  ------------------
  |  Branch (188:13): [True: 0, False: 1]
  ------------------
  189|      0|        {
  190|      0|            detail::invalidSubnetPfx(pfx);
  191|      0|        }
  192|      1|    }
_ZZN7stdplus9SubnetAnyC1ENS_9InAnyAddrEhENKUlT_E_clINS_7In4AddrEEEDaS2_:
  188|      1|        if (std::visit([](auto v) { return detail::addrBits(v); }, addr) < pfx)

_ZN7stdplus3raw7refFromITkNS_17TriviallyCopyableE8nlmsghdrNS0_7AlignedETkNS0_6detail15ContainsTrivialERNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEKS2_EERT2_OT1_:
  115|    422|    {                                                                          \
  116|    422|        static_assert(std::is_same_v<A, Aligned> ||                            \
  117|    422|                      sizeof(*std::data(c)) % alignof(Tp) == 0);               \
  118|    422|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
  119|    422|        if (bytes comp sizeof(Tp))                                             \
  ------------------
  |  Branch (119:13): [True: 55, False: 367]
  ------------------
  120|    422|        {                                                                      \
  121|     55|            throw exception::Incomplete(                                       \
  122|     55|                std::format(#func ": {} < {}", bytes, sizeof(Tp)));            \
  123|     55|        }                                                                      \
  124|    422|        return *reinterpret_cast<Tp*>(std::data(c));                           \
  125|    422|    }
_ZN7stdplus3raw7refFromITkNS_17TriviallyCopyableE8nlmsgerrNS0_7AlignedETkNS0_6detail15ContainsTrivialERNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEKS2_EERT2_OT1_:
  115|      1|    {                                                                          \
  116|      1|        static_assert(std::is_same_v<A, Aligned> ||                            \
  117|      1|                      sizeof(*std::data(c)) % alignof(Tp) == 0);               \
  118|      1|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
  119|      1|        if (bytes comp sizeof(Tp))                                             \
  ------------------
  |  Branch (119:13): [True: 1, False: 0]
  ------------------
  120|      1|        {                                                                      \
  121|      1|            throw exception::Incomplete(                                       \
  122|      1|                std::format(#func ": {} < {}", bytes, sizeof(Tp)));            \
  123|      1|        }                                                                      \
  124|      1|        return *reinterpret_cast<Tp*>(std::data(c));                           \
  125|      1|    }
_ZN7stdplus3raw7refFromITkNS_17TriviallyCopyableE6rtattrNS0_7AlignedETkNS0_6detail15ContainsTrivialERNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEKS2_EERT2_OT1_:
  115|  4.51k|    {                                                                          \
  116|  4.51k|        static_assert(std::is_same_v<A, Aligned> ||                            \
  117|  4.51k|                      sizeof(*std::data(c)) % alignof(Tp) == 0);               \
  118|  4.51k|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
  119|  4.51k|        if (bytes comp sizeof(Tp))                                             \
  ------------------
  |  Branch (119:13): [True: 37, False: 4.47k]
  ------------------
  120|  4.51k|        {                                                                      \
  121|     37|            throw exception::Incomplete(                                       \
  122|     37|                std::format(#func ": {} < {}", bytes, sizeof(Tp)));            \
  123|     37|        }                                                                      \
  124|  4.51k|        return *reinterpret_cast<Tp*>(std::data(c));                           \
  125|  4.51k|    }
_ZN7stdplus3raw7refFromITkNS_17TriviallyCopyableE9ifinfomsgNS0_7AlignedETkNS0_6detail15ContainsTrivialERNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEKS2_EERT2_OT1_:
  115|    422|    {                                                                          \
  116|    422|        static_assert(std::is_same_v<A, Aligned> ||                            \
  117|    422|                      sizeof(*std::data(c)) % alignof(Tp) == 0);               \
  118|    422|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
  119|    422|        if (bytes comp sizeof(Tp))                                             \
  ------------------
  |  Branch (119:13): [True: 55, False: 367]
  ------------------
  120|    422|        {                                                                      \
  121|     55|            throw exception::Incomplete(                                       \
  122|     55|                std::format(#func ": {} < {}", bytes, sizeof(Tp)));            \
  123|     55|        }                                                                      \
  124|    422|        return *reinterpret_cast<Tp*>(std::data(c));                           \
  125|    422|    }
_ZN7stdplus3raw8copyFromITkNS_17TriviallyCopyableENS_9EtherAddrETkNS0_6detail15ContainsTrivialENSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEET_RKT0_:
   81|      2|    {                                                                          \
   82|      2|        T ret;                                                                 \
   83|      2|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
   84|      2|        if (bytes comp sizeof(ret))                                            \
  ------------------
  |  Branch (84:13): [True: 0, False: 2]
  ------------------
   85|      2|        {                                                                      \
   86|      0|            throw exception::Incomplete(                                       \
   87|      0|                std::format(#func ": {} < {}", bytes, sizeof(ret)));           \
   88|      0|        }                                                                      \
   89|      2|        const auto c_bytes = reinterpret_cast<const std::byte*>(std::data(c)); \
   90|      2|        const auto ret_bytes = reinterpret_cast<std::byte*>(&ret);             \
   91|      2|        std::copy(c_bytes, c_bytes + sizeof(ret), ret_bytes);                  \
   92|      2|        return ret;                                                            \
   93|      2|    }
_ZN7stdplus3raw8copyFromITkNS_17TriviallyCopyableEjTkNS0_6detail15ContainsTrivialENSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEET_RKT0_:
   81|      2|    {                                                                          \
   82|      2|        T ret;                                                                 \
   83|      2|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
   84|      2|        if (bytes comp sizeof(ret))                                            \
  ------------------
  |  Branch (84:13): [True: 1, False: 1]
  ------------------
   85|      2|        {                                                                      \
   86|      1|            throw exception::Incomplete(                                       \
   87|      1|                std::format(#func ": {} < {}", bytes, sizeof(ret)));           \
   88|      1|        }                                                                      \
   89|      2|        const auto c_bytes = reinterpret_cast<const std::byte*>(std::data(c)); \
   90|      1|        const auto ret_bytes = reinterpret_cast<std::byte*>(&ret);             \
   91|      1|        std::copy(c_bytes, c_bytes + sizeof(ret), ret_bytes);                  \
   92|      1|        return ret;                                                            \
   93|      2|    }
_ZN7stdplus3raw7refFromITkNS_17TriviallyCopyableE5rtmsgNS0_7AlignedETkNS0_6detail15ContainsTrivialERNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEKS2_EERT2_OT1_:
  115|    422|    {                                                                          \
  116|    422|        static_assert(std::is_same_v<A, Aligned> ||                            \
  117|    422|                      sizeof(*std::data(c)) % alignof(Tp) == 0);               \
  118|    422|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
  119|    422|        if (bytes comp sizeof(Tp))                                             \
  ------------------
  |  Branch (119:13): [True: 34, False: 388]
  ------------------
  120|    422|        {                                                                      \
  121|     34|            throw exception::Incomplete(                                       \
  122|     34|                std::format(#func ": {} < {}", bytes, sizeof(Tp)));            \
  123|     34|        }                                                                      \
  124|    422|        return *reinterpret_cast<Tp*>(std::data(c));                           \
  125|    422|    }
_ZN7stdplus3raw7refFromITkNS_17TriviallyCopyableE9ifaddrmsgNS0_7AlignedETkNS0_6detail15ContainsTrivialERNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEKS2_EERT2_OT1_:
  115|    422|    {                                                                          \
  116|    422|        static_assert(std::is_same_v<A, Aligned> ||                            \
  117|    422|                      sizeof(*std::data(c)) % alignof(Tp) == 0);               \
  118|    422|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
  119|    422|        if (bytes comp sizeof(Tp))                                             \
  ------------------
  |  Branch (119:13): [True: 24, False: 398]
  ------------------
  120|    422|        {                                                                      \
  121|     24|            throw exception::Incomplete(                                       \
  122|     24|                std::format(#func ": {} < {}", bytes, sizeof(Tp)));            \
  123|     24|        }                                                                      \
  124|    422|        return *reinterpret_cast<Tp*>(std::data(c));                           \
  125|    422|    }
_ZN7stdplus3raw14copyFromStrictITkNS_17TriviallyCopyableENS_7In4AddrETkNS0_6detail15ContainsTrivialENSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEET_RKT0_:
   81|      1|    {                                                                          \
   82|      1|        T ret;                                                                 \
   83|      1|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
   84|      1|        if (bytes comp sizeof(ret))                                            \
  ------------------
  |  Branch (84:13): [True: 0, False: 1]
  ------------------
   85|      1|        {                                                                      \
   86|      0|            throw exception::Incomplete(                                       \
   87|      0|                std::format(#func ": {} < {}", bytes, sizeof(ret)));           \
   88|      0|        }                                                                      \
   89|      1|        const auto c_bytes = reinterpret_cast<const std::byte*>(std::data(c)); \
   90|      1|        const auto ret_bytes = reinterpret_cast<std::byte*>(&ret);             \
   91|      1|        std::copy(c_bytes, c_bytes + sizeof(ret), ret_bytes);                  \
   92|      1|        return ret;                                                            \
   93|      1|    }
_ZN7stdplus3raw14copyFromStrictITkNS_17TriviallyCopyableEjTkNS0_6detail15ContainsTrivialENSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEET_RKT0_:
   81|      1|    {                                                                          \
   82|      1|        T ret;                                                                 \
   83|      1|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
   84|      1|        if (bytes comp sizeof(ret))                                            \
  ------------------
  |  Branch (84:13): [True: 1, False: 0]
  ------------------
   85|      1|        {                                                                      \
   86|      1|            throw exception::Incomplete(                                       \
   87|      1|                std::format(#func ": {} < {}", bytes, sizeof(ret)));           \
   88|      1|        }                                                                      \
   89|      1|        const auto c_bytes = reinterpret_cast<const std::byte*>(std::data(c)); \
   90|      0|        const auto ret_bytes = reinterpret_cast<std::byte*>(&ret);             \
   91|      0|        std::copy(c_bytes, c_bytes + sizeof(ret), ret_bytes);                  \
   92|      0|        return ret;                                                            \
   93|      1|    }
_ZN7stdplus3raw7refFromITkNS_17TriviallyCopyableE5ndmsgNS0_7AlignedETkNS0_6detail15ContainsTrivialERNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEKS2_EERT2_OT1_:
  115|    422|    {                                                                          \
  116|    422|        static_assert(std::is_same_v<A, Aligned> ||                            \
  117|    422|                      sizeof(*std::data(c)) % alignof(Tp) == 0);               \
  118|    422|        const size_t bytes = std::size(c) * sizeof(*std::data(c));             \
  119|    422|        if (bytes comp sizeof(Tp))                                             \
  ------------------
  |  Branch (119:13): [True: 34, False: 388]
  ------------------
  120|    422|        {                                                                      \
  121|     34|            throw exception::Incomplete(                                       \
  122|     34|                std::format(#func ": {} < {}", bytes, sizeof(Tp)));            \
  123|     34|        }                                                                      \
  124|    422|        return *reinterpret_cast<Tp*>(std::data(c));                           \
  125|    422|    }

_ZN7stdplus9exception10IncompleteC2ERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
   30|    242|    std::system_error(std::make_error_code(std::errc::illegal_byte_sequence),
   31|    242|                      what)
   32|    242|{}

