internal static bool IsCoreApiAlreadyLoaded()

in JetBrains.Profiler.Api/src/Impl/Linux/LinuxHelper.cs [10:14]


    internal static bool IsCoreApiAlreadyLoaded()
    {
      // Note(k15tfu): dlopen() in musl ignores SONAME, use dl_iterate_phdr(). See https://www.openwall.com/lists/musl/2022/01/11/4.
      return DlIteratePhdrFindLibraryPath(LibCoreApiSo.LibraryName) != null;
    }