Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sharkautarch/9a95116fe22bfa14e248a7c131673925 to your computer and use it in GitHub Desktop.
Save sharkautarch/9a95116fe22bfa14e248a7c131673925 to your computer and use it in GitHub Desktop.
new use-after-free warning found in gamescope by scan-build (extra verbose)
'/usr/bin/clang++' '-cc1' '-triple' 'x86_64-pc-linux-gnu' '-analyze' '-disable-free' '-clear-ast-before-backend' '-disable-llvm-verifier' '-discard-value-names' '-main-file-name' 'commit.cpp' '-analyzer-checker=core' '-analyzer-checker=apiModeling' '-analyzer-checker=unix' '-analyzer-checker=deadcode' '-analyzer-checker=cplusplus' '-analyzer-checker=security.insecureAPI.UncheckedReturn' '-analyzer-checker=security.insecureAPI.getpw' '-analyzer-checker=security.insecureAPI.gets' '-analyzer-checker=security.insecureAPI.mktemp' '-analyzer-checker=security.insecureAPI.mkstemp' '-analyzer-checker=security.insecureAPI.vfork' '-analyzer-checker=nullability.NullPassedToNonnull' '-analyzer-checker=nullability.NullReturnedFromNonnull' '-analyzer-output' 'plist' '-w' '-setup-static-analyzer' '-mrelocation-model' 'pic' '-pic-level' '2' '-pic-is-pie' '-mframe-pointer=all' '-menable-no-infs' '-menable-no-nans' '-fapprox-func' '-funsafe-math-optimizations' '-fno-signed-zeros' '-mreassociate' '-freciprocal-math' '-fdenormal-fp-math=preserve-sign,preserve-sign' '-ffp-contract=fast' '-fno-rounding-math' '-ffast-math' '-ffinite-math-only' '-mconstructor-aliases' '-funwind-tables=2' '-target-cpu' 'x86-64' '-tune-cpu' 'generic' '-debugger-tuning=gdb' "-fcoverage-compilation-dir=${HOME}/gamescope/build/meson-private/tmpl54sh_45" '-resource-dir' '/usr/lib/clang/17' '-isystem' '/usr/include/libdrm' '-I' 'src/gamescope.p' '-I' 'src' '-I' '../../../src' '-I' '../../../src/reshade/source' '-I' '../../../src/reshade/include' '-I' '../../../thirdparty/SPIRV-Headers/include/spirv/unified1' '-I' 'subprojects/wlroots/include' '-I' '../../../subprojects/wlroots/include' '-I' '../../../subprojects/libliftoff/include' '-I' 'subprojects/stb' '-I' '../../../subprojects/stb' '-I' 'protocol' '-I' '/usr/include' '-I' '/usr/include/libdrm' '-I' '/usr/include/SDL2' '-I' '/usr/include/pixman-1' '-I' '/usr/include/uuid' '-I' '/usr/include/pipewire-0.3' '-I' '/usr/include/spa-0.2' '-I' '/usr/include/libdecor-0' '-I' '/usr/include/libei-1.0' '-D' '_GLIBCXX_ASSERTIONS=1' '-D' '_FILE_OFFSET_BITS=64' '-D' 'WLR_USE_UNSTABLE' '-D' 'HAVE_PIPEWIRE=1' '-D' 'HAVE_OPENVR=0' '-D' 'HWDATA_PNP_IDS="//usr/share/hwdata/pnp.ids"' '-D' 'AVIF_DLL' '-D' '_REENTRANT' '-D' 'HAVE_DRM=1' '-D' 'HAVE_SDL2=1' '-D' 'HAVE_AVIF=1' '-D' 'HAVE_LIBCAP=1' '-D' 'HAVE_LIBEIS=1' '-internal-isystem' '/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1' '-internal-isystem' '/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu' '-internal-isystem' '/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward' '-internal-isystem' '/usr/lib/clang/17/include' '-internal-isystem' '/usr/local/include' '-internal-isystem' '/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include' '-internal-externc-isystem' '/include' '-internal-externc-isystem' '/usr/include' '-O0' '-Wno-unused-parameter' '-Wno-missing-field-initializers' '-Wno-invalid-offsetof' '-Wno-unused-const-variable' '-Wno-volatile' '-Wno-ignored-qualifiers' '-Wno-missing-braces' '-std=c++20' '-fdeprecated-macro' "-fdebug-compilation-dir=${HOME}/gamescope/build/meson-private/tmpl54sh_45" '-ferror-limit' '19' '-stack-protector' '2' '-fgnuc-version=4.2.1' '-fno-implicit-modules' '-fcxx-exceptions' '-fexceptions' '-fcolor-diagnostics' '-analyzer-display-progress' '-analyzer-checker' 'core.builtin.BuiltinFunctions' '-analyzer-checker' 'optin.cplusplus.UninitializedObject' '-analyzer-checker' 'optin.cplusplus.VirtualCall' '-analyzer-disable-checker' 'deadcode.DeadStores' '-analyzer-max-loop' '8' '-analyzer-output=html' '-faddrsig' '-D__GCC_HAVE_DWARF2_CFI_ASM=1' '-o' "${HOME}/gamescope/build/meson-logs/scanbuild/2024-04-26-132207-29903-1" '-x' 'c++' '../../../src/commit.cpp'
ANALYZE (Syntax): ../../../src/color_helpers.h quantize(float, float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h quantize_lut_value_16bit(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h clamp01(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h clamp(float, float, float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h cfit(float, float, float, float, float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h srgb_to_linear(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h linear_to_srgb(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h tonemap_info_t::BIsValid() : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h tonemap_info_t::reset() : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h eetf_2390_t::init(const tonemap_info_t &, const tonemap_info_t &) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h eetf_2390_t::init_pq(float, float, float, float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h eetf_2390_t::apply(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h eetf_2390_t::apply_pq(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h eetf_2390_t::apply_max_rgb(const glm::vec3 &) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h eetf_2390_t::apply_luma_rgb(const glm::vec3 &) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h eetf_2390_t::apply_independent_rgb(const glm::vec3 &) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h eetf_2390_t::_eetf_2390_spline(float, float, float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h flerp(float, float, float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h safe_pow(float, float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h positive_mod(float, float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h tonemapping_t::apply(const glm::vec3 &) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h lut1d_t::resize(int) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h lut3d_t::resize(int) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h color_xy_to_u16(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h color_xy_from_u16(uint16_t) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h nits_to_u16(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h nits_from_u16(uint16_t) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h nits_to_u16_dark(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h nits_from_u16_dark(uint16_t) : 0.0 ms
ANALYZE (Syntax): ../../../src/gamescope_shared.h ColorspaceIsHDR(GamescopeAppTextureColorspace) : 0.0 ms
ANALYZE (Syntax): ../../../src/convar.h gamescope::Parse(std::string_view) : 0.0 ms
ANALYZE (Syntax): ../../../src/convar.h gamescope::Split(std::string_view, std::string_view) : 0.0 ms
ANALYZE (Syntax): ../../../src/convar.h gamescope::StringHash::operator()(const char *) : 0.0 ms
ANALYZE (Syntax): ../../../src/convar.h gamescope::StringHash::operator()(std::string_view) : 0.0 ms
ANALYZE (Syntax): ../../../src/convar.h gamescope::StringHash::operator()(const std::string &) : 0.0 ms
ANALYZE (Syntax): ../../../src/convar.h gamescope::ConCommand::ConCommand(std::string_view, std::string_view, ConCommandFunc) : 0.0 ms
ANALYZE (Syntax): ../../../src/convar.h gamescope::ConCommand::~ConCommand() : 0.0 ms
ANALYZE (Syntax): ../../../src/convar.h gamescope::ConCommand::Invoke(std::span<std::string_view>) : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcObject::~RcObject() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcObject::IncRef() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcObject::DecRef() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcObject::IncRefPrivate() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcObject::DecRefPrivate() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcObject::GetRefCount() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcObject::GetRefCountPrivate() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcObject::HasLiveReferences() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::IRcObject::IncRef() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::IRcObject::DecRef() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendConnectorHDRInfo::IsHDRG22() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendConnectorHDRInfo::ShouldPatchEDID() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendConnectorHDRInfo::IsHDR10() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::IBackendConnector::~IBackendConnector() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::INestedHints::~INestedHints() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendPresentFeedback::CurrentPresentsInFlight() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendPresentFeedback::TotalPresentsQueued() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendPresentFeedback::TotalPresentsCompleted() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::IBackend::~IBackend() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::IBackend::GetScreenType() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::CBaseBackend::HackTemporarySetDynamicRefresh(int) : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::CBaseBackend::HackUpdatePatchedEdid() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::CBaseBackend::PresentationFeedback() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendBlob::BackendBlob() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendBlob::BackendBlob(std::span<const uint8_t>) : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendBlob::BackendBlob(std::span<const uint8_t>, uint32_t, _Bool) : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendBlob::~BackendBlob() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendBlob::GetData() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h gamescope::BackendBlob::GetBlobValue() : 0.0 ms
ANALYZE (Syntax): ../../../src/backend.h GetBackend() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::IWaitable::~IWaitable() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::IWaitable::GetFD() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::IWaitable::OnPollIn() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::IWaitable::OnPollOut() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::IWaitable::OnPollHangUp() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::IWaitable::HandleEvents(uint32_t) : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::IWaitable::Drain(int) : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CNudgeWaitable::CNudgeWaitable() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CNudgeWaitable::~CNudgeWaitable() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CNudgeWaitable::Shutdown() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CNudgeWaitable::Drain() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CNudgeWaitable::OnPollIn() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CNudgeWaitable::Nudge() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CNudgeWaitable::GetFD() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CFunctionWaitable::CFunctionWaitable(int, std::function<void (void)>) : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CFunctionWaitable::OnPollIn() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CFunctionWaitable::Drain() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CFunctionWaitable::GetFD() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::ITimerWaitable::ITimerWaitable() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::ITimerWaitable::~ITimerWaitable() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::ITimerWaitable::Shutdown() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::ITimerWaitable::ArmTimer(uint64_t, _Bool) : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::ITimerWaitable::DisarmTimer() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::ITimerWaitable::GetFD() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CTimerFunction::CTimerFunction(std::function<void (void)>) : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CTimerFunction::OnPollIn() : 0.0 ms
ANALYZE (Syntax): ../../../src/xwayland_ctx.hpp xwayland_ctx_t::GetFD() : 0.0 ms
ANALYZE (Syntax): ../../../src/xwayland_ctx.hpp xwayland_ctx_t::OnPollIn() : 0.0 ms
ANALYZE (Syntax): ../../../src/xwayland_ctx.hpp xwayland_ctx_t::OnPollHangUp() : 0.0 ms
ANALYZE (Syntax): protocol/gamescope-control-protocol.h gamescope_control_send_feature_support(struct wl_resource *, uint32_t, uint32_t, uint32_t) : 0.0 ms
ANALYZE (Syntax): protocol/gamescope-control-protocol.h gamescope_control_send_active_display_info(struct wl_resource *, const char *, const char *, const char *, uint32_t, struct wl_array *) : 0.0 ms
ANALYZE (Syntax): protocol/gamescope-control-protocol.h gamescope_control_send_screenshot_taken(struct wl_resource *, const char *) : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp wlserver_x11_surface_info::current_surface() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp wlserver_xdg_surface_info::current_surface() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp steamcompmgr_win_t::xwayland() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp steamcompmgr_win_t::xwayland() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp steamcompmgr_win_t::xdg() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp steamcompmgr_win_t::xdg() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp steamcompmgr_win_t::id() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp steamcompmgr_win_t::main_surface() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp steamcompmgr_win_t::current_surface() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp steamcompmgr_win_t::override_surface() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp gamescope::CScreenshotManager::TakeScreenshot(GamescopeScreenshotInfo) : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp gamescope::CScreenshotManager::TakeScreenshot(_Bool) : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr_shared.hpp gamescope::CScreenshotManager::ProcessPendingScreenshot() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp ToSrgbVulkanFormat(VkFormat) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp ToLinearVulkanFormat(VkFormat) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp VkColorSpaceToGamescopeAppTextureColorSpace(VkFormat, VkColorSpaceKHR) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::createFlags::createFlags() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::view(_Bool) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::linearView() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::srgbView() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::lumaView() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::chromaView() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::width() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::height() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::depth() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::contentWidth() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::contentHeight() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::rowPitch() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::GetBackendFb() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::mappedData() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::format() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::dmabuf() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::vkImage() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::outputImage() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::externalImage() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::totalSize() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::drmFormat() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::lumaOffset() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::lumaRowPitch() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::chromaOffset() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::chromaRowPitch() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::streamColorspace() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::setStreamColorspace(EStreamColorspace) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanTexture::isYcbcr() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp float_is_integer(float) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp close_enough(float, float, float) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::Layer_t::isYcbcr() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::Layer_t::hasAlpha() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::Layer_t::isScreenSize() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::Layer_t::viewConvertsToLinearAutomatically() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::Layer_t::integerWidth() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::Layer_t::integerHeight() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::Layer_t::offsetPixelCenter() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::borderMask() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::ycbcrMask() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp FrameInfo_t::colorspaceMask() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp gamescope_color_mgmt_luts::HasLuts() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp gamescope_color_mgmt_luts::reset() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp SamplerState::SamplerState() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp SamplerState::operator==(const SamplerState &) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp std::hash<SamplerState>::operator()(const SamplerState &) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp PipelineInfo_t::operator==(const PipelineInfo_t &) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp hash_combine(uint32_t, uint32_t) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp std::hash<PipelineInfo_t>::operator()(const PipelineInfo_t &) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp div_roundup(uint32_t, uint32_t) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp align(unsigned int, int) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::descriptorSet() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::device() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::physDev() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::instance() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::queue() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::generalQueue() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::commandPool() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::generalCommandPool() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::queueFamily() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::generalQueueFamily() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::uploadBuffer() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::pipelineLayout() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::drmRenderFd() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::supportsModifiers() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::hasDrmPrimaryDevId() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::primaryDevId() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::supportsFp16() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanDevice::uploadBufferData(uint32_t) : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp TextureState::TextureState() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanCmdBuffer::rawBuffer() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanCmdBuffer::queue() : 0.0 ms
ANALYZE (Syntax): ../../../src/rendervulkan.hpp CVulkanCmdBuffer::queueFamily() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr.hpp MouseCursor::hide() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr.hpp MouseCursor::isHidden() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr.hpp MouseCursor::imageEmpty() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr.hpp MouseCursor::undirty() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr.hpp MouseCursor::getCtx() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr.hpp MouseCursor::needs_server_flush() : 0.0 ms
ANALYZE (Syntax): ../../../src/steamcompmgr.hpp MouseCursor::inform_flush() : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h GpuvisTraceBlock::GpuvisTraceBlock(const char *) : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h GpuvisTraceBlock::~GpuvisTraceBlock() : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h GpuvisTraceBlockf::GpuvisTraceBlockf(const char *) : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h GpuvisTraceBlockf::~GpuvisTraceBlockf() : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h gpuvis_gettime_u64() : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h gpuvis_trace_block_finalize(uint64_t, const char *) : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h gpuvis_trace_block_begin(struct GpuvisTraceBlock *, const char *) : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h gpuvis_trace_block_end(struct GpuvisTraceBlock *) : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h gpuvis_trace_blockf_vbegin(struct GpuvisTraceBlockf *, const char *, struct __va_list_tag *) : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h gpuvis_trace_blockf_begin(struct GpuvisTraceBlockf *, const char *) : 0.0 ms
ANALYZE (Syntax): ../../../src/gpuvis_trace_utils.h gpuvis_trace_blockf_end(struct GpuvisTraceBlockf *) : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::commit_t() : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::~commit_t() : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::colorspace() : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::GetFD() : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::OnPollIn() : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::Signal() : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::OnPollHangUp() : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::IsPerfOverlayFIFO() : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::CloseFenceInternal() : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::SetFence(int, _Bool, CommitDoneList_t *) : 0.0 ms
ANALYZE (Syntax): ../../../src/commit.cpp commit_t::SetReleasePoint(const std::optional<GamescopeTimelinePoint> &) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h nits_to_pq(const float &) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h pq_to_nits(const float &) : 0.0 ms
ANALYZE (Syntax): ../../../src/color_helpers.h nits_to_pq(const struct glm::vec<3, float> &) : 0.1 ms
ANALYZE (Syntax): ../../../src/color_helpers.h pq_to_nits(const struct glm::vec<3, float> &) : 0.0 ms
ANALYZE (Syntax): ../../../src/convar.h gamescope::Parse(std::string_view) : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<gamescope::IBackendFb, false>::get() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<gamescope::IBackendFb>::Rc() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<gamescope::IBackendFb>::~Rc() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<gamescope::IBackendFb>::DecRef() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcRef_<gamescope::IBackendFb, true>::DecRef(class gamescope::IBackendFb *) : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<gamescope::IBackendFb>::operator!=(std::nullptr_t) : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<gamescope::IBackendFb>::operator=(std::nullptr_t) : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CAsyncWaiter<gamescope::Rc<commit_t>>::UseTracking() : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CAsyncWaiter<gamescope::Rc<commit_t>>::RemoveWaitable(class gamescope::Rc<struct commit_t>) : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<commit_t>::operator->() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<commit_t>::get() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<commit_t>::Rc(const Rc<commit_t> &) : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<commit_t>::IncRef() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcRef_<commit_t, true>::IncRef(struct commit_t *) : 0.0 ms
ANALYZE (Syntax): ../../../src/waitable.h gamescope::CWaiter<>::RemoveWaitable(IWaitable *) : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<commit_t>::Rc(struct commit_t *) : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<commit_t>::~Rc() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::Rc<commit_t>::DecRef() : 0.0 ms
ANALYZE (Syntax): ../../../src/rc.h gamescope::RcRef_<commit_t, true>::DecRef(struct commit_t *) : 0.0 ms
ANALYZE (Path, Inline_Regular): ../../../src/commit.h commit_t::SetReleasePoint(const std::optional<GamescopeTimelinePoint> &) : 0.6 ms
ANALYZE (Path, Inline_Regular): ../../../src/commit.h commit_t::SetFence(int, _Bool, CommitDoneList_t *) : 69.8 ms
ANALYZE (Path, Inline_Regular): ../../../src/commit.h commit_t::OnPollHangUp() : 58.8 ms
ANALYZE (Path, Inline_Regular): ../../../src/commit.h commit_t::OnPollIn() : 99.1 ms
ANALYZE (Path, Inline_Regular): ../../../src/commit.h commit_t::colorspace() : 12.4 ms
ANALYZE (Path, Inline_Regular): ../../../src/commit.h commit_t::commit_t() : 3.8 ms
../../../src/commit.cpp:116:12: warning: Use of memory after it is freed [cplusplus.NewDelete]
116 | close( m_nCommitFence );
| ^~~~~~~~~~~~~~
===-------------------------------------------------------------------------===
Analyzer timers
===-------------------------------------------------------------------------===
Total Execution Time: 0.2540 seconds (0.2593 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.2393 ( 95.2%) 0.0000 ( 0.9%) 0.2393 ( 94.2%) 0.2445 ( 94.3%) Path exploration time
0.0083 ( 3.3%) 0.0000 ( 0.0%) 0.0083 ( 3.3%) 0.0084 ( 3.2%) Path-sensitive report post-processing time
0.0036 ( 1.4%) 0.0027 ( 99.1%) 0.0063 ( 2.5%) 0.0065 ( 2.5%) Syntax-based analysis time
0.2513 (100.0%) 0.0027 (100.0%) 0.2540 (100.0%) 0.2593 (100.0%) Total
1 warning generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment