-// List of library which memory segments are not considered:
-static const std::vector<std::string> filtered_libraries = {
-#ifdef __linux__
- "ld",
-#elif defined __FreeBSD__
- "ld-elf",
- "ld-elf32",
- "libkvm", /* kernel data access library */
- "libprocstat", /* process and file information retrieval */
- "libthr", /* thread library */
- "libutil",
-#endif
- "libargp", /* workarounds for glibc-less systems */
- "libasan", /* gcc sanitizers */
- "libasn1",
- "libboost_chrono",
- "libboost_context",
- "libboost_context-mt",
- "libboost_stacktrace_addr2line",
- "libboost_stacktrace_backtrace",
- "libboost_system",
- "libboost_thread",
- "libboost_timer",
- "libbrotlicommon",
- "libbrotlidec",
- "libbz2",
- "libc",
- "libc++",
- "libcdt",
- "libcgraph",
- "libcom_err",
- "libcrypt",
- "libcrypto",
- "libcurl",
- "libcurl-gnutls",
- "libcxxrt",
- "libdebuginfod",
- "libdl",
- "libdw",
- "libelf",
- "libevent",
- "libexecinfo",
- "libffi",
- "libflang",
- "libflangrti",
- "libgcc_s",
- "libgmp",
- "libgnutls",
- "libgcrypt",
- "libgfortran",
- "libgpg-error",
- "libgssapi",
- "libgssapi_krb5",
- "libhcrypto",
- "libheimbase",
- "libheimntlm",
- "libhx509",
- "libhogweed",
- "libidn2",
- "libimf",
- "libintlc",
- "libirng",
- "libk5crypto",
- "libkeyutils",
- "libkrb5",
- "libkrb5support", /*odd behaviour on fedora rawhide ... remove these when fixed*/
- "liblber",
- "libldap",
- "libldap_r",
- "liblua5.1",
- "liblua5.3",
- "liblzma",
- "libm",
- "libmd",
- "libnettle",
- "libnghttp2",
- "libomp",
- "libp11-kit",
- "libpapi",
- "libpcre2",
- "libpfm",
- "libpgmath",
- "libpsl",
- "libpthread",
- "libquadmath",
- "libresolv",
- "libroken",
- "librt",
- "librtmp",
- "libsasl2",
- "libselinux",
- "libsqlite3",
- "libssh",
- "libssh2",
- "libssl",
- "libstdc++",
- "libsvml",
- "libtasn1",
- "libtsan", /* gcc sanitizers */
- "libubsan", /* gcc sanitizers */
- "libunistring",
- "libunwind",
- "libunwind-ptrace",
- "libunwind-x86",
- "libunwind-x86_64",
- "libwind",
- "libz",
- "libzstd"};
-