Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/mir-1.8.0+dfsg1/benchmarks/benchmark_multiplexing_dispatchable.cpp
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/frame_uniformity_test.cpp
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/frame_uniformity_test.h
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/main.cpp
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/touch_measuring_client.cpp
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/touch_measuring_client.h
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/touch_producing_server.cpp
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/touch_producing_server.h
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/touch_samples.cpp
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/touch_samples.h
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/vsync_simulating_graphics_platform.cpp
Examining data/mir-1.8.0+dfsg1/benchmarks/frame-uniformity/vsync_simulating_graphics_platform.h
Examining data/mir-1.8.0+dfsg1/cmake/src/mir/mir_test_fd_leak.cpp
Examining data/mir-1.8.0+dfsg1/cmake/src/mir/mir_test_memory_error.cpp
Examining data/mir-1.8.0+dfsg1/cmake/src/mir/mir_test_tmpfile.cpp
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/decoration_provider.cpp
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/decoration_provider.h
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/floating_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/floating_window_manager.h
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/splash_session.h
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/sw_splash.cpp
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/sw_splash.h
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/tiling_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/tiling_window_manager.h
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/wallpaper_config.cpp
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/wallpaper_config.h
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/wayland_helpers.cpp
Examining data/mir-1.8.0+dfsg1/examples/example-server-lib/wayland_helpers.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/as_render_target.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/glog_logger.cpp
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/glog_logger.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example.cpp
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_adorning_compositor.cpp
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_adorning_compositor.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_custom_compositor.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_host_lifecycle_event.cpp
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_host_lifecycle_event_listener.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_input_device_config.cpp
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_input_device_config.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_input_event_filter.cpp
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_input_event_filter.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_input_filter.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_log_options.cpp
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_log_options.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_test_client.cpp
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_test_client.h
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_input_filter.cpp
Examining data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_custom_compositor.cpp
Examining data/mir-1.8.0+dfsg1/examples/miral-kiosk/kiosk_main.cpp
Examining data/mir-1.8.0+dfsg1/examples/miral-kiosk/kiosk_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/examples/miral-kiosk/kiosk_window_manager.h
Examining data/mir-1.8.0+dfsg1/examples/miral-shell/shell_main.cpp
Examining data/mir-1.8.0+dfsg1/examples/miral-shell/spinner.cpp
Examining data/mir-1.8.0+dfsg1/examples/miral-shell/spinner/eglapp.cpp
Examining data/mir-1.8.0+dfsg1/examples/miral-shell/spinner/eglapp.h
Examining data/mir-1.8.0+dfsg1/examples/miral-shell/spinner/eglspinner.cpp
Examining data/mir-1.8.0+dfsg1/examples/miral-shell/spinner/miregl.cpp
Examining data/mir-1.8.0+dfsg1/examples/miral-shell/spinner/miregl.h
Examining data/mir-1.8.0+dfsg1/examples/miral-shell/spinner/splash.h
Examining data/mir-1.8.0+dfsg1/examples/miral-system-compositor/system_compositor_main.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/animated_cursor_demo_client.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/basic.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/buffer_render_target.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/buffer_render_target.h
Examining data/mir-1.8.0+dfsg1/examples/mirclient/camera.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/chain_jumping_buffers.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/client_helpers.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/client_helpers.h
Examining data/mir-1.8.0+dfsg1/examples/mirclient/client_touch_validator.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/cursors_demo_client.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/demo_client_display_config.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/eglapp.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/eglapp.h
Examining data/mir-1.8.0+dfsg1/examples/mirclient/eglcounter.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/eglflash.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/eglplasma.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/eglsquare.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/eglstateswitcher.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/egltriangle.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/fingerpaint.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/flicker.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/graphics.h
Examining data/mir-1.8.0+dfsg1/examples/mirclient/graphics_utils.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/image_renderer.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/image_renderer.h
Examining data/mir-1.8.0+dfsg1/examples/mirclient/input_shapes.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/mir_image.h
Examining data/mir-1.8.0+dfsg1/examples/mirclient/multi_stream.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/multiwin.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/pointer_confinement.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/prerendered_frames.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/progressbar.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/prompt_session.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/release_at_exit.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/render_surface.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/screencast.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/scroll.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/target.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/tooltip.c
Examining data/mir-1.8.0+dfsg1/examples/mirclient/uses_non_client_symbol.cpp
Examining data/mir-1.8.0+dfsg1/examples/mirclient/wayland_client.c
Examining data/mir-1.8.0+dfsg1/include/client/mir/client/blob.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/client/connection.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/client/cookie.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/client/display_config.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/client/event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/client/surface.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/client/window.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/client/window_id.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/client/window_spec.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/event_printer.h
Examining data/mir-1.8.0+dfsg1/include/client/mir/events/event_builders.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/client_types.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/cursors.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/input/input_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/input/keyboard_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/input/pointer_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/input/touch_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/input_configuration_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/input_device_state_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/keymap_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/orientation_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/prompt_session_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/resize_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/surface_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/surface_output_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/surface_placement.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/window_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/window_output_event.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/events/window_placement.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/android_buffer.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/android_egl.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/drag_and_drop.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/fenced_buffers.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/gbm_buffer.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/graphics_module.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/hardware_buffer_stream.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/mesa_drm_auth.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/set_gbm_device.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/window_coordinate_translation.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_blob.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_buffer.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_buffer_stream.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_client_library.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_connection.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_cookie.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_cursor_configuration.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_display_configuration.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_error.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_extension_core.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_input_device.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_persistent_id.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_platform_message.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_presentation_chain.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_prompt_session.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_screencast.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_surface.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_wait.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_window.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/mir_window_id.h
Examining data/mir-1.8.0+dfsg1/include/client/mir_toolkit/rs/mir_render_surface.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/assert_module_entry_point.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/cached_ptr.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/dispatch/action_queue.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/dispatch/dispatchable.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/dispatch/multiplexing_dispatchable.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/dispatch/readable_fd.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/dispatch/threaded_dispatcher.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/events/contact_state.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/events/input_device_state.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/extension_description.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/flags.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/frontend/buffer_stream_id.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/frontend/surface_id.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/graphics/native_buffer.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/input/device_capability.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/input/keymap.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/input/mir_input_config.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/input/mir_input_config_serialization.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/input/mir_keyboard_config.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/input/mir_pointer_config.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/input/mir_touchpad_config.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/input/mir_touchscreen_config.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/libname.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/log.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/logging/logger.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/module_deleter.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/posix_rw_mutex.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/raii.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/shared_library.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/time/posix_timestamp.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/time/types.h
Examining data/mir-1.8.0+dfsg1/include/common/mir/uncaught.h
Examining data/mir-1.8.0+dfsg1/include/cookie/mir/cookie/authority.h
Examining data/mir-1.8.0+dfsg1/include/cookie/mir/cookie/cookie.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/abnormal_exit.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/anonymous_shm_file.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/depth_layer.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/fatal.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/fd.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/geometry/dimensions.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/geometry/displacement.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/geometry/forward.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/geometry/length.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/geometry/point.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/geometry/rectangle.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/geometry/rectangles.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/geometry/size.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/int_wrapper.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/optional_value.h
Examining data/mir-1.8.0+dfsg1/include/core/mir/shm_file.h
Examining data/mir-1.8.0+dfsg1/include/core/mir_toolkit/common.h
Examining data/mir-1.8.0+dfsg1/include/core/mir_toolkit/deprecations.h
Examining data/mir-1.8.0+dfsg1/include/core/mir_toolkit/mir_input_device_types.h
Examining data/mir-1.8.0+dfsg1/include/core/mir_toolkit/mir_native_buffer.h
Examining data/mir-1.8.0+dfsg1/include/core/mir_toolkit/mir_version_number.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/add_init_callback.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/append_event_filter.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/application.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/application_authorizer.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/application_info.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/canonical_window_manager.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/command_line_option.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/cursor_theme.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/debug_extension.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/display_configuration.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/display_configuration_option.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/external_client.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/internal_client.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/keymap.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/lambda_as_function.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/minimal_window_manager.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/output.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/runner.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/set_command_line_handler.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/set_terminator.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/set_window_management_policy.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/wayland_extensions.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/window.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/window_info.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/window_management_options.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/window_management_policy.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/window_manager_tools.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/window_specification.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/x11_support.h
Examining data/mir-1.8.0+dfsg1/include/miral/miral/zone.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/client/client_buffer.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/client/client_buffer_factory.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/client/client_context.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/client/client_platform.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/client/client_platform_factory.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/client/egl_native_display_container.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/client/egl_native_surface.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/console_services.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/emergency_cleanup_registry.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/executor.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/atomic_frame.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/buffer.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/buffer_basic.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/buffer_id.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/buffer_ipc_message.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/buffer_properties.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/cursor.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/cursor_image.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/display.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/display_buffer.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/display_configuration.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/display_configuration_policy.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/display_report.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/egl_error.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/egl_extensions.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/egl_resources.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/egl_wayland_allocator.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/event_handler_register.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/frame.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/gamma_curves.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/gl_config.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/gl_format.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/graphic_buffer_allocator.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/platform.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/platform_authentication.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/platform_ipc_operations.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/platform_ipc_package.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/platform_operation_message.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/program.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/program_factory.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/renderable.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/texture.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/transformation.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/virtual_output.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/graphics/wayland_allocator.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/event_builder.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/input_device.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/input_device_info.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/input_device_registry.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/input_report.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/input_sink.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/platform.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/pointer_settings.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/touchpad_settings.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/input/touchscreen_settings.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/mir_buffer.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/mir_buffer_stream.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/mir_render_surface.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/module_properties.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/options/option.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/options/program_option.h
Examining data/mir-1.8.0+dfsg1/include/platform/mir/renderer/sw/pixel_source.h
Examining data/mir-1.8.0+dfsg1/include/platforms/mesa/mir_toolkit/mesa/native_display.h
Examining data/mir-1.8.0+dfsg1/include/platforms/mesa/mir_toolkit/mesa/platform_operation.h
Examining data/mir-1.8.0+dfsg1/include/renderer/mir/renderer/renderer.h
Examining data/mir-1.8.0+dfsg1/include/renderer/mir/renderer/renderer_factory.h
Examining data/mir-1.8.0+dfsg1/include/renderers/gl/mir/renderer/gl/context.h
Examining data/mir-1.8.0+dfsg1/include/renderers/gl/mir/renderer/gl/context_source.h
Examining data/mir-1.8.0+dfsg1/include/renderers/gl/mir/renderer/gl/egl_platform.h
Examining data/mir-1.8.0+dfsg1/include/renderers/gl/mir/renderer/gl/render_target.h
Examining data/mir-1.8.0+dfsg1/include/renderers/gl/mir/renderer/gl/texture_source.h
Examining data/mir-1.8.0+dfsg1/include/renderers/gl/mir/renderer/gl/texture_target.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/compositor/compositor.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/compositor/compositor_id.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/compositor/compositor_report.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/compositor/display_buffer_compositor.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/compositor/display_buffer_compositor_factory.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/compositor/display_listener.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/compositor/scene.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/compositor/scene_element.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/frontend/buffer_sink.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/frontend/buffer_stream.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/frontend/prompt_session.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/frontend/session_authorizer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/frontend/session_credentials.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/frontend/session_mediator_observer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/frontend/surface.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/frontend/surface_stack.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/frontend/wayland.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/graphics/default_display_configuration_policy.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/graphics/display_configuration_observer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/composite_event_filter.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/cursor_images.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/cursor_listener.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/device.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/event_filter.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/input_device_hub.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/input_device_observer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/input_dispatcher.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/input_manager.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/input_reception_mode.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/seat_observer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/surface.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/input/touch_visualizer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/lockable_callback.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/main_loop.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/observer_registrar.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/report_exception.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/application_not_responding_detector.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/application_not_responding_detector_wrapper.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/buffer_stream_factory.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/coordinate_translator.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/null_session_listener.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/null_surface_observer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/observer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/prompt_session.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/prompt_session_creation_parameters.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/prompt_session_listener.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/prompt_session_manager.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/session.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/session_coordinator.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/session_listener.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/snapshot.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/surface.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/surface_creation_parameters.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/surface_factory.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/scene/surface_observer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/server.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/server_action_queue.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/server_status_listener.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/abstract_shell.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/display_configuration_controller.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/display_layout.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/focus_controller.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/host_lifecycle_event_listener.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/input_targeter.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/persistent_surface_store.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/shell.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/shell_report.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/shell_wrapper.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/surface_ready_observer.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/surface_specification.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/surface_stack.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/surface_stack_wrapper.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/system_compositor_window_manager.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/window_management_info.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/window_manager.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/shell/window_manager_builder.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/terminate_with_current_exception.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/time/alarm.h
Examining data/mir-1.8.0+dfsg1/include/server/mir/time/alarm_factory.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/auto_unblock_thread.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/cross_process_action.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/cross_process_sync.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/death.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/display_config_matchers.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/fake_display.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_client_buffer.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_client_context.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_display_configuration.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_display_configuration_observer.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_egl.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_egl_native_surface.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_gl.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_input_device_hub.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_input_device_observer.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_input_dispatcher.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_platform_authentication.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_prompt_session_listener.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_seat_report.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/mock_window_manager.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/nested_mock_egl.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/null_display.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/null_display_buffer.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/null_display_buffer_compositor_factory.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/null_display_configuration.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/null_display_sync_group.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/null_gl_context.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/null_logger.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/null_platform.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/null_platform_ipc_operations.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/stub_cursor.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/stub_cursor_image.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/stub_display_buffer.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/stub_display_configuration.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/stub_input_device.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/stub_session.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/stub_session_authorizer.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/stub_surface.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/doubles/wrap_shell_to_track_latest_surface.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/empty_deleter.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/event_factory.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/event_matchers.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/fake_shared.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/pipe.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/popen.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/signal.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/signal_actions.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/spin_wait.h
Examining data/mir-1.8.0+dfsg1/include/test/mir/test/validity_matchers.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/any_surface.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/async_server_runner.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/canonical_window_manager_policy.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/connected_client_headless_server.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/connected_client_with_a_window.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/declarative_placement_window_manage_policy.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/detect_server.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/executable_path.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/fake_input_device.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/headless_display_buffer_compositor_factory.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/headless_in_process_server.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/headless_nested_server_runner.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/headless_test.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/in_process_server.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/input_device_faker.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/interprocess_client_server_test.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/main.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/observant_shell.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/passthrough_tracker.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/placement_applying_shell.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/process.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/server_runner.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/stub_client_platform_options.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/stub_graphics_platform_operation.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/stub_platform_extension.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/stub_platform_helpers.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/stub_server_platform_factory.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/temporary_environment_value.h
Examining data/mir-1.8.0+dfsg1/include/test/mir_test_framework/visible_surface.h
Examining data/mir-1.8.0+dfsg1/include/test/miral/test_display_server.h
Examining data/mir-1.8.0+dfsg1/include/test/miral/test_server.h
Examining data/mir-1.8.0+dfsg1/include/test/miral/test_wlcs_display_server.h
Examining data/mir-1.8.0+dfsg1/include/wayland/mir/wayland/wayland_base.h
Examining data/mir-1.8.0+dfsg1/playground/diamond.c
Examining data/mir-1.8.0+dfsg1/playground/diamond.h
Examining data/mir-1.8.0+dfsg1/playground/egldiamond_render_surface.c
Examining data/mir-1.8.0+dfsg1/playground/mir_egl_platform_shim.c
Examining data/mir-1.8.0+dfsg1/playground/mir_egl_platform_shim.h
Examining data/mir-1.8.0+dfsg1/src/client/atomic_callback.h
Examining data/mir-1.8.0+dfsg1/src/client/buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/client/buffer.h
Examining data/mir-1.8.0+dfsg1/src/client/buffer_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/client/buffer_factory.h
Examining data/mir-1.8.0+dfsg1/src/client/buffer_stream.cpp
Examining data/mir-1.8.0+dfsg1/src/client/buffer_stream.h
Examining data/mir-1.8.0+dfsg1/src/client/buffer_stream_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/client/buffer_stream_configuration.h
Examining data/mir-1.8.0+dfsg1/src/client/buffer_vault.cpp
Examining data/mir-1.8.0+dfsg1/src/client/buffer_vault.h
Examining data/mir-1.8.0+dfsg1/src/client/connection_configuration.h
Examining data/mir-1.8.0+dfsg1/src/client/connection_surface_map.cpp
Examining data/mir-1.8.0+dfsg1/src/client/connection_surface_map.h
Examining data/mir-1.8.0+dfsg1/src/client/cursor_configuration.h
Examining data/mir-1.8.0+dfsg1/src/client/default_connection_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/client/default_connection_configuration.h
Examining data/mir-1.8.0+dfsg1/src/client/display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/client/display_configuration.h
Examining data/mir-1.8.0+dfsg1/src/client/display_configuration_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/drag_and_drop.cpp
Examining data/mir-1.8.0+dfsg1/src/client/drag_and_drop.h
Examining data/mir-1.8.0+dfsg1/src/client/error_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/client/error_buffer.h
Examining data/mir-1.8.0+dfsg1/src/client/error_connections.cpp
Examining data/mir-1.8.0+dfsg1/src/client/error_connections.h
Examining data/mir-1.8.0+dfsg1/src/client/error_handler.h
Examining data/mir-1.8.0+dfsg1/src/client/error_render_surface.cpp
Examining data/mir-1.8.0+dfsg1/src/client/error_render_surface.h
Examining data/mir-1.8.0+dfsg1/src/client/error_stream.cpp
Examining data/mir-1.8.0+dfsg1/src/client/error_stream.h
Examining data/mir-1.8.0+dfsg1/src/client/event.cpp
Examining data/mir-1.8.0+dfsg1/src/client/event_distributor.h
Examining data/mir-1.8.0+dfsg1/src/client/event_handler_register.h
Examining data/mir-1.8.0+dfsg1/src/client/event_printer.cpp
Examining data/mir-1.8.0+dfsg1/src/client/event_sink.h
Examining data/mir-1.8.0+dfsg1/src/client/events/event_builders.cpp
Examining data/mir-1.8.0+dfsg1/src/client/frame_clock.cpp
Examining data/mir-1.8.0+dfsg1/src/client/frame_clock.h
Examining data/mir-1.8.0+dfsg1/src/client/handle_event_exception.h
Examining data/mir-1.8.0+dfsg1/src/client/input/input_devices.cpp
Examining data/mir-1.8.0+dfsg1/src/client/input/input_event.cpp
Examining data/mir-1.8.0+dfsg1/src/client/input/xkb_mapper.cpp
Examining data/mir-1.8.0+dfsg1/src/client/lifecycle_control.h
Examining data/mir-1.8.0+dfsg1/src/client/logging/input_receiver_report.cpp
Examining data/mir-1.8.0+dfsg1/src/client/logging/input_receiver_report.h
Examining data/mir-1.8.0+dfsg1/src/client/logging/perf_report.cpp
Examining data/mir-1.8.0+dfsg1/src/client/logging/perf_report.h
Examining data/mir-1.8.0+dfsg1/src/client/logging/rpc_report.cpp
Examining data/mir-1.8.0+dfsg1/src/client/logging/rpc_report.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/client_tracepoint_provider.cpp
Examining data/mir-1.8.0+dfsg1/src/client/lttng/client_tracepoint_provider.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/input_receiver_report.cpp
Examining data/mir-1.8.0+dfsg1/src/client/lttng/input_receiver_report.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/input_receiver_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/perf_report.cpp
Examining data/mir-1.8.0+dfsg1/src/client/lttng/perf_report.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/perf_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/rpc_report.cpp
Examining data/mir-1.8.0+dfsg1/src/client/lttng/rpc_report.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/rpc_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/shared_library_prober_report.cpp
Examining data/mir-1.8.0+dfsg1/src/client/lttng/shared_library_prober_report.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/shared_library_prober_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/client/lttng/tracepoints.c
Examining data/mir-1.8.0+dfsg1/src/client/make_protobuf_object.h
Examining data/mir-1.8.0+dfsg1/src/client/mir_blob.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_buffer_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_buffer_stream_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_connection.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_connection.h
Examining data/mir-1.8.0+dfsg1/src/client/mir_connection_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_cookie.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_cookie.h
Examining data/mir-1.8.0+dfsg1/src/client/mir_cursor_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_error.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_error.h
Examining data/mir-1.8.0+dfsg1/src/client/mir_error_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_event_distributor.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_event_distributor.h
Examining data/mir-1.8.0+dfsg1/src/client/mir_extension_core.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_input_device_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_platform_message_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_presentation_chain.h
Examining data/mir-1.8.0+dfsg1/src/client/mir_presentation_chain_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_prompt_session.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_prompt_session.h
Examining data/mir-1.8.0+dfsg1/src/client/mir_prompt_session_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_render_surface_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_screencast.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_screencast.h
Examining data/mir-1.8.0+dfsg1/src/client/mir_screencast_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_surface.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_surface.h
Examining data/mir-1.8.0+dfsg1/src/client/mir_surface_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_wait_api.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_wait_handle.cpp
Examining data/mir-1.8.0+dfsg1/src/client/mir_wait_handle.h
Examining data/mir-1.8.0+dfsg1/src/client/no_tls_future-inl.h
Examining data/mir-1.8.0+dfsg1/src/client/perf_report.h
Examining data/mir-1.8.0+dfsg1/src/client/periodic_perf_report.cpp
Examining data/mir-1.8.0+dfsg1/src/client/periodic_perf_report.h
Examining data/mir-1.8.0+dfsg1/src/client/ping_handler.h
Examining data/mir-1.8.0+dfsg1/src/client/presentation_chain.cpp
Examining data/mir-1.8.0+dfsg1/src/client/presentation_chain.h
Examining data/mir-1.8.0+dfsg1/src/client/probing_client_platform_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/client/probing_client_platform_factory.h
Examining data/mir-1.8.0+dfsg1/src/client/protobuf_to_native_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/client/protobuf_to_native_buffer.h
Examining data/mir-1.8.0+dfsg1/src/client/render_surface.cpp
Examining data/mir-1.8.0+dfsg1/src/client/render_surface.h
Examining data/mir-1.8.0+dfsg1/src/client/rpc/make_rpc_channel.h
Examining data/mir-1.8.0+dfsg1/src/client/rpc/make_socket_rpc_channel.cpp
Examining data/mir-1.8.0+dfsg1/src/client/rpc/mir_basic_rpc_channel.cpp
Examining data/mir-1.8.0+dfsg1/src/client/rpc/mir_basic_rpc_channel.h
Examining data/mir-1.8.0+dfsg1/src/client/rpc/mir_display_server.cpp
Examining data/mir-1.8.0+dfsg1/src/client/rpc/mir_display_server.h
Examining data/mir-1.8.0+dfsg1/src/client/rpc/mir_display_server_debug.cpp
Examining data/mir-1.8.0+dfsg1/src/client/rpc/mir_display_server_debug.h
Examining data/mir-1.8.0+dfsg1/src/client/rpc/mir_protobuf_rpc_channel.cpp
Examining data/mir-1.8.0+dfsg1/src/client/rpc/mir_protobuf_rpc_channel.h
Examining data/mir-1.8.0+dfsg1/src/client/rpc/null_rpc_report.cpp
Examining data/mir-1.8.0+dfsg1/src/client/rpc/null_rpc_report.h
Examining data/mir-1.8.0+dfsg1/src/client/rpc/rpc_report.h
Examining data/mir-1.8.0+dfsg1/src/client/rpc/stream_socket_transport.cpp
Examining data/mir-1.8.0+dfsg1/src/client/rpc/stream_socket_transport.h
Examining data/mir-1.8.0+dfsg1/src/client/rpc/stream_transport.h
Examining data/mir-1.8.0+dfsg1/src/client/screencast_stream.cpp
Examining data/mir-1.8.0+dfsg1/src/client/screencast_stream.h
Examining data/mir-1.8.0+dfsg1/src/common/dispatch/action_queue.cpp
Examining data/mir-1.8.0+dfsg1/src/common/dispatch/multiplexing_dispatchable.cpp
Examining data/mir-1.8.0+dfsg1/src/common/dispatch/readable_fd.cpp
Examining data/mir-1.8.0+dfsg1/src/common/dispatch/threaded_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/src/common/dispatch/utils.cpp
Examining data/mir-1.8.0+dfsg1/src/common/dispatch/utils.h
Examining data/mir-1.8.0+dfsg1/src/common/edid.cpp
Examining data/mir-1.8.0+dfsg1/src/common/env/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/close_surface_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/input_configuration_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/input_device_state_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/input_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/keyboard_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/keymap_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/orientation_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/pointer_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/prompt_session_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/resize_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/surface_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/surface_output_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/surface_placement_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/events/touch_event.cpp
Examining data/mir-1.8.0+dfsg1/src/common/fd/fd_socket_transmission.cpp
Examining data/mir-1.8.0+dfsg1/src/common/input/mir_input_config.cpp
Examining data/mir-1.8.0+dfsg1/src/common/input/mir_input_config_serialization.cpp
Examining data/mir-1.8.0+dfsg1/src/common/input/mir_keyboard_config.cpp
Examining data/mir-1.8.0+dfsg1/src/common/input/mir_pointer_config.cpp
Examining data/mir-1.8.0+dfsg1/src/common/input/mir_touchpad_config.cpp
Examining data/mir-1.8.0+dfsg1/src/common/input/mir_touchscreen_config.cpp
Examining data/mir-1.8.0+dfsg1/src/common/libname.cpp
Examining data/mir-1.8.0+dfsg1/src/common/log.cpp
Examining data/mir-1.8.0+dfsg1/src/common/logging/dumb_console_logger.cpp
Examining data/mir-1.8.0+dfsg1/src/common/logging/input_timestamp.cpp
Examining data/mir-1.8.0+dfsg1/src/common/logging/logger.cpp
Examining data/mir-1.8.0+dfsg1/src/common/logging/shared_library_prober_report.cpp
Examining data/mir-1.8.0+dfsg1/src/common/output_type_names.cpp
Examining data/mir-1.8.0+dfsg1/src/common/posix_rw_mutex.cpp
Examining data/mir-1.8.0+dfsg1/src/common/report/lttng/tracepoint_provider.cpp
Examining data/mir-1.8.0+dfsg1/src/common/sharedlibrary/module_deleter.cpp
Examining data/mir-1.8.0+dfsg1/src/common/sharedlibrary/shared_library.cpp
Examining data/mir-1.8.0+dfsg1/src/common/sharedlibrary/shared_library_prober.cpp
Examining data/mir-1.8.0+dfsg1/src/common/thread/recursive_read_write_mutex.cpp
Examining data/mir-1.8.0+dfsg1/src/common/thread/signal_blocker.cpp
Examining data/mir-1.8.0+dfsg1/src/common/thread/thread_name.cpp
Examining data/mir-1.8.0+dfsg1/src/common/time/steady_clock.cpp
Examining data/mir-1.8.0+dfsg1/src/cookie/authority.cpp
Examining data/mir-1.8.0+dfsg1/src/cookie/const_memcmp.cpp
Examining data/mir-1.8.0+dfsg1/src/cookie/const_memcmp.h
Examining data/mir-1.8.0+dfsg1/src/cookie/format.h
Examining data/mir-1.8.0+dfsg1/src/cookie/hmac_cookie.cpp
Examining data/mir-1.8.0+dfsg1/src/cookie/hmac_cookie.h
Examining data/mir-1.8.0+dfsg1/src/core/anonymous_shm_file.cpp
Examining data/mir-1.8.0+dfsg1/src/core/depth_layer.cpp
Examining data/mir-1.8.0+dfsg1/src/core/fatal.cpp
Examining data/mir-1.8.0+dfsg1/src/core/fd.cpp
Examining data/mir-1.8.0+dfsg1/src/core/geometry/ostream.cpp
Examining data/mir-1.8.0+dfsg1/src/core/geometry/rectangle.cpp
Examining data/mir-1.8.0+dfsg1/src/core/geometry/rectangles.cpp
Examining data/mir-1.8.0+dfsg1/src/gl/default_program_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/gl/program.cpp
Examining data/mir-1.8.0+dfsg1/src/gl/recently_used_cache.cpp
Examining data/mir-1.8.0+dfsg1/src/gl/recently_used_cache.h
Examining data/mir-1.8.0+dfsg1/src/gl/tessellation_helpers.cpp
Examining data/mir-1.8.0+dfsg1/src/gl/texture.cpp
Examining data/mir-1.8.0+dfsg1/src/include/client/mir/client/surface_map.h
Examining data/mir-1.8.0+dfsg1/src/include/client/mir/event_type_to_string.h
Examining data/mir-1.8.0+dfsg1/src/include/client/mir/input/input_devices.h
Examining data/mir-1.8.0+dfsg1/src/include/client/mir/platform_message.h
Examining data/mir-1.8.0+dfsg1/src/include/client/mir_toolkit/mir_buffer_private.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/basic_observers.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/client_visible_error.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/default_configuration.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/close_surface_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/event_private.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/input_configuration_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/input_device_state_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/input_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/keyboard_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/keymap_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/orientation_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/pointer_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/prompt_session_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/resize_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/surface_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/surface_output_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/surface_placement_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/events/touch_event.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/fd_socket_transmission.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/frontend/client_constants.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/graphics/edid.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/input/input_receiver_report.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/input/key_mapper.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/input/null_input_receiver_report.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/input/xkb_mapper.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/logging/dumb_console_logger.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/logging/input_timestamp.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/logging/null_shared_library_prober_report.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/logging/shared_library_prober_report.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/output_type_names.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/protobuf/display_server.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/protobuf/display_server_debug.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/protobuf/protocol_version.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/recursive_read_write_mutex.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/report/lttng/mir_tracepoint.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/report/lttng/tracepoint_provider.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/require.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/shared_library_prober.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/shared_library_prober_report.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/signal_blocker.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/thread_name.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/thread_safe_list.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/time/clock.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/time/steady_clock.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/unwind_helpers.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir/variable_length_array.h
Examining data/mir-1.8.0+dfsg1/src/include/common/mir_blob.h
Examining data/mir-1.8.0+dfsg1/src/include/cookie/mir/cookie/blob.h
Examining data/mir-1.8.0+dfsg1/src/include/gl/mir/gl/default_program_factory.h
Examining data/mir-1.8.0+dfsg1/src/include/gl/mir/gl/primitive.h
Examining data/mir-1.8.0+dfsg1/src/include/gl/mir/gl/program.h
Examining data/mir-1.8.0+dfsg1/src/include/gl/mir/gl/program_factory.h
Examining data/mir-1.8.0+dfsg1/src/include/gl/mir/gl/tessellation_helpers.h
Examining data/mir-1.8.0+dfsg1/src/include/gl/mir/gl/texture.h
Examining data/mir-1.8.0+dfsg1/src/include/gl/mir/gl/texture_cache.h
Examining data/mir-1.8.0+dfsg1/src/include/platform/mir/graphics/overlapping_output_grouping.h
Examining data/mir-1.8.0+dfsg1/src/include/platform/mir/graphics/pixel_format_utils.h
Examining data/mir-1.8.0+dfsg1/src/include/platform/mir/graphics/platform_authentication_wrapper.h
Examining data/mir-1.8.0+dfsg1/src/include/platform/mir/options/configuration.h
Examining data/mir-1.8.0+dfsg1/src/include/platform/mir/options/default_configuration.h
Examining data/mir-1.8.0+dfsg1/src/include/platform/mir/udev/wrapper.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/basic_callback.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/compositor/buffer_stream.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/default_server_configuration.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/default_server_status_listener.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/display_changer.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/display_server.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/emergency_cleanup.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/basic_mir_client_session.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/connection_context.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/connection_creator.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/connections.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/connector.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/connector_report.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/display_changer.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/event_sink.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/fd_sets.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/input_configuration_changer.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/message_processor.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/message_processor_report.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/mir_client_session.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/protobuf_connection_creator.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/protobuf_message_sender.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/screencast.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/shell.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/frontend/template_protobuf_message_processor.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/glib_main_loop.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/glib_main_loop_sources.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/graphics/gl_extensions_base.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/graphics/surfaceless_egl_context.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/input/input_probe.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/input/legacy_input_dispatchable.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/input/scene.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/input/seat.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/input/validator.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/input/vt_filter.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/lockable_callback_wrapper.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/observer_multiplexer.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/run_mir.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/legacy_scene_change_notification.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/null_observer.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/null_prompt_session_listener.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/output_properties_cache.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/scene_report.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/session_container.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/session_event_handler_register.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/session_event_sink.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/surface_event_source.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/scene/surface_observers.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/server_configuration.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/synchronised.h
Examining data/mir-1.8.0+dfsg1/src/include/server/mir/thread/basic_thread_pool.h
Examining data/mir-1.8.0+dfsg1/src/miral/active_outputs.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/active_outputs.h
Examining data/mir-1.8.0+dfsg1/src/miral/add_init_callback.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/append_event_filter.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/application.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/application_authorizer.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/application_info.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/basic_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/basic_window_manager.h
Examining data/mir-1.8.0+dfsg1/src/miral/canonical_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/command_line_option.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/coordinate_translator.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/coordinate_translator.h
Examining data/mir-1.8.0+dfsg1/src/miral/cursor_theme.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/debug_extension.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/display_configuration_listeners.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/display_configuration_listeners.h
Examining data/mir-1.8.0+dfsg1/src/miral/display_configuration_option.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/external_client.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/internal_client.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/join_client_threads.h
Examining data/mir-1.8.0+dfsg1/src/miral/keymap.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/launch_app.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/launch_app.h
Examining data/mir-1.8.0+dfsg1/src/miral/minimal_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/mru_window_list.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/mru_window_list.h
Examining data/mir-1.8.0+dfsg1/src/miral/output.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/runner.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/set_command_line_handler.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/set_terminator.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/set_window_management_policy.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/static_display_config.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/static_display_config.h
Examining data/mir-1.8.0+dfsg1/src/miral/wayland_extensions.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/window.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/window_info.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/window_info_defaults.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/window_info_defaults.h
Examining data/mir-1.8.0+dfsg1/src/miral/window_management_options.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/window_management_policy.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/window_management_trace.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/window_management_trace.h
Examining data/mir-1.8.0+dfsg1/src/miral/window_manager_tools.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/window_manager_tools_implementation.h
Examining data/mir-1.8.0+dfsg1/src/miral/window_specification.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/x11_support.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/xcursor.c
Examining data/mir-1.8.0+dfsg1/src/miral/xcursor.h
Examining data/mir-1.8.0+dfsg1/src/miral/xcursor_loader.cpp
Examining data/mir-1.8.0+dfsg1/src/miral/xcursor_loader.h
Examining data/mir-1.8.0+dfsg1/src/miral/zone.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/atomic_frame.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/buffer_basic.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/egl_error.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/egl_extensions.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/egl_resources.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/egl_wayland_allocator.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/gamma_curves.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/overlapping_output_grouping.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/pixel_format_utils.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/program.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/program_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/texture.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/graphics/wayland_allocator.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/options/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/options/program_option.cpp
Examining data/mir-1.8.0+dfsg1/src/platform/udev/udev_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/common/client/mir/aging_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/common/client/mir/aging_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/common/client/mir/weak_egl.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/common/client/mir/weak_egl.h
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/buffer_from_wl_shm.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/buffer_texture_binder.h
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/kms-utils/drm_mode_resources.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/kms-utils/drm_mode_resources.h
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/kms-utils/kms_connector.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/kms-utils/kms_connector.h
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/one_shot_device_observer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/one_shot_device_observer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/platform_authentication_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/shm_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/common/server/shm_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/include/native_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/buffer_allocator.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/buffer_allocator.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/display.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/display.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/drm_event_handler.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/egl_output.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/egl_output.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/kms_display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/kms_display_configuration.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/platform_symbols.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/software_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/software_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/threaded_drm_event_handler.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/threaded_drm_event_handler.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/utils.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/utils.h
Examining data/mir-1.8.0+dfsg1/src/platforms/eglstream-kms/server/wayland-eglstream-controller.h
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/button_utils.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/button_utils.h
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/evdev_device_detection.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/evdev_device_detection.h
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/fd_store.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/fd_store.h
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/libinput_device.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/libinput_device.h
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/libinput_device_ptr.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/libinput_device_ptr.h
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/libinput_ptr.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/libinput_ptr.h
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/evdev/platform_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/buffer_file_ops.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_buffer_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_buffer_factory.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_platform_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/mesa_native_display_container.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/mesa_native_display_container.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/native_surface.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/client/native_surface.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/common/gbm_format_conversions.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/include/gbm_format_conversions.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/include/mesa_extensions.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/include/native_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/buffer_allocator.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/buffer_allocator.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/display_helpers.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/display_helpers.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/drm_authentication.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/drm_native_platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/drm_native_platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/gbm_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/gbm_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/gbm_platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/gbm_platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/ipc_operations.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/ipc_operations.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/bypass.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/bypass.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/cursor.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/cursor.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/display.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/display.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/display_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/display_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/egl_helper.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/egl_helper.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/kms_display_configuration.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/kms_output.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/kms_output_container.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/kms_page_flipper.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/kms_page_flipper.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/mutex.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/page_flipper.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/platform_symbols.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/real_kms_display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/real_kms_display_configuration.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/real_kms_output.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/real_kms_output.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/real_kms_output_container.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/real_kms_output_container.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/nested_authentication.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/nested_authentication.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/platform_common.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/software_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/software_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/X11_resources.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/X11_resources.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/display.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/display.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/display_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/display_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/display_configuration.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/egl_helper.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/egl_helper.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/graphics.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/input/input.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/input/input_device.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/input/input_device.h
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/input/input_platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/input/input_platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/buffer_allocator.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/buffer_allocator.h
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/display.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/display.h
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/display_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/display_buffer.h
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/display_platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/display_platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/platform_symbols.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/rendering_platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/rendering_platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/buffer_allocator.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/buffer_allocator.h
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/cursor.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/cursor.h
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/display.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/display.h
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/display_input.h
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/displayclient.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/displayclient.h
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/input.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/input_device.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/input_device.h
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/input_platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/input_platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/platform.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/platform.h
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/platform_symbols.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/wayland_display.cpp
Examining data/mir-1.8.0+dfsg1/src/platforms/wayland/wayland_display.h
Examining data/mir-1.8.0+dfsg1/src/protobuf/google_protobuf_guard.cpp
Examining data/mir-1.8.0+dfsg1/src/renderers/gl/program_family.cpp
Examining data/mir-1.8.0+dfsg1/src/renderers/gl/program_family.h
Examining data/mir-1.8.0+dfsg1/src/renderers/gl/renderer.cpp
Examining data/mir-1.8.0+dfsg1/src/renderers/gl/renderer.h
Examining data/mir-1.8.0+dfsg1/src/renderers/gl/renderer_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/renderers/gl/renderer_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/basic_callback.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/buffer_acquisition.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/buffer_stream_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/buffer_stream_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/compositing_screencast.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/compositing_screencast.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/default_display_buffer_compositor.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/default_display_buffer_compositor.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/default_display_buffer_compositor_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/default_display_buffer_compositor_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/dropping_schedule.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/dropping_schedule.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/multi_monitor_arbiter.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/multi_monitor_arbiter.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/multi_threaded_compositor.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/multi_threaded_compositor.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/occlusion.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/occlusion.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/queueing_schedule.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/queueing_schedule.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/schedule.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/screencast_display_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/screencast_display_buffer.h
Examining data/mir-1.8.0+dfsg1/src/server/compositor/stream.cpp
Examining data/mir-1.8.0+dfsg1/src/server/compositor/stream.h
Examining data/mir-1.8.0+dfsg1/src/server/console/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/console/ioctl_vt_switcher.cpp
Examining data/mir-1.8.0+dfsg1/src/server/console/ioctl_vt_switcher.h
Examining data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp
Examining data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.h
Examining data/mir-1.8.0+dfsg1/src/server/console/logind-seat.c
Examining data/mir-1.8.0+dfsg1/src/server/console/logind-seat.h
Examining data/mir-1.8.0+dfsg1/src/server/console/logind-session.c
Examining data/mir-1.8.0+dfsg1/src/server/console/logind-session.h
Examining data/mir-1.8.0+dfsg1/src/server/console/logind_console_services.cpp
Examining data/mir-1.8.0+dfsg1/src/server/console/logind_console_services.h
Examining data/mir-1.8.0+dfsg1/src/server/console/minimal_console_services.cpp
Examining data/mir-1.8.0+dfsg1/src/server/console/minimal_console_services.h
Examining data/mir-1.8.0+dfsg1/src/server/default_emergency_cleanup.cpp
Examining data/mir-1.8.0+dfsg1/src/server/default_emergency_cleanup.h
Examining data/mir-1.8.0+dfsg1/src/server/default_server_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/display_server.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/authorizing_display_changer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/authorizing_display_changer.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/authorizing_input_config_changer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/authorizing_input_config_changer.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/basic_mir_client_session.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/connection_context.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/default_ipc_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/default_ipc_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/display_server.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/event_sender.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/event_sender.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/event_sink_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/message_receiver.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/message_sender.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/no_prompt_shell.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/no_prompt_shell.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_buffer_packer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_buffer_packer.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_connection_creator.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_input_converter.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_input_converter.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_ipc_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_message_processor.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_message_processor.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_responder.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/protobuf_responder.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/published_socket_connector.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/published_socket_connector.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/reordering_message_sender.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/reordering_message_sender.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/resource_cache.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/resource_cache.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/screencast_buffer_tracker.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/screencast_buffer_tracker.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/session_credentials.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/session_mediator.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/session_mediator.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/session_mediator_observer_multiplexer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/session_mediator_observer_multiplexer.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/shell_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/shell_wrapper.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/socket_connection.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/socket_connection.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/socket_messenger.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/socket_messenger.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend/unauthorized_screencast.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend/unauthorized_screencast.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/data_device.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/data_device.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/deleted_for_resource.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/deleted_for_resource.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/layer_shell_v1.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/layer_shell_v1.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/mir_display.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/mir_display.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/null_event_sink.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/null_event_sink.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/output_manager.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/output_manager.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_connector.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_connector.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_executor.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_executor.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_input_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_input_dispatcher.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_surface_observer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_surface_observer.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_utils.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/window_wl_surface_role.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/window_wl_surface_role.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_keyboard.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_keyboard.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_pointer.cpp
Parsing failed to find end of parameter list; semicolon terminated it in ([this, buffer_size_bytes](unsigned char const* buffer_pixels)
            {
                memcpy(pixels.get(), buffer_pixels, buffer_size_bytes);
            });
        }
        else
        {
  
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_pointer.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_region.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_region.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_seat.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_seat.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_subcompositor.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_subcompositor.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_surface.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_surface.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_surface_role.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_touch.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_touch.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wlshmbuffer.cpp
Parsing failed to find end of parameter list; semicolon terminated it in (
            [this, format, type](unsigned char const *pixels)
            {
                auto const size = this->size();
                glTexImage2D(GL_TEXTURE_2D, 0, format,
                   
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wlshmbuffer.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/xdg_output_v1.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/xdg_output_v1.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/xdg_shell_stable.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/xdg_shell_stable.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/xdg_shell_v6.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_wayland/xdg_shell_v6.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xcb_connection.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xcb_connection.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_connector.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_connector.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_log.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_surface.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_surface.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_surface_observer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_surface_observer.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_surface_observer_surface.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_surface_role.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_surface_role.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_surface_role_surface.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_wm.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_wm.h
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_wm_shell.cpp
Examining data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_wm_shell.h
Examining data/mir-1.8.0+dfsg1/src/server/glib_main_loop.cpp
Examining data/mir-1.8.0+dfsg1/src/server/glib_main_loop_sources.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/default_display_configuration_policy.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/display_configuration_observer_multiplexer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/display_configuration_observer_multiplexer.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/gl_extensions_base.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/buffer.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/cursor.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/cursor.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/display.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/display.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/display_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/display_buffer.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_buffer.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_chain.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_connection.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_stream.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_surface.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_surface_spec.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/input_platform.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/input_platform.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/ipc_operations.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/ipc_operations.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/mir_client_host_connection.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/mir_client_host_connection.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/native_buffer.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/nested_display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/nested_display_configuration.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/passthrough_option.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/platform.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/nested/platform.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/null_cursor.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/offscreen/display.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/offscreen/display.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/offscreen/display_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/offscreen/display_buffer.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/offscreen/display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/offscreen/display_configuration.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/platform_probe.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/platform_probe.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/software_cursor.cpp
Examining data/mir-1.8.0+dfsg1/src/server/graphics/software_cursor.h
Examining data/mir-1.8.0+dfsg1/src/server/graphics/surfaceless_egl_context.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/basic_seat.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/basic_seat.h
Examining data/mir-1.8.0+dfsg1/src/server/input/builtin_cursor_images.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/builtin_cursor_images.h
Examining data/mir-1.8.0+dfsg1/src/server/input/config_changer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/config_changer.h
Examining data/mir-1.8.0+dfsg1/src/server/input/cursor_controller.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/cursor_controller.h
Examining data/mir-1.8.0+dfsg1/src/server/input/default-theme.h
Examining data/mir-1.8.0+dfsg1/src/server/input/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/default_device.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/default_device.h
Examining data/mir-1.8.0+dfsg1/src/server/input/default_event_builder.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/default_event_builder.h
Examining data/mir-1.8.0+dfsg1/src/server/input/default_input_device_hub.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/default_input_device_hub.h
Examining data/mir-1.8.0+dfsg1/src/server/input/default_input_manager.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/default_input_manager.h
Examining data/mir-1.8.0+dfsg1/src/server/input/event_filter_chain_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/event_filter_chain_dispatcher.h
Examining data/mir-1.8.0+dfsg1/src/server/input/input_modifier_utils.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/input_modifier_utils.h
Examining data/mir-1.8.0+dfsg1/src/server/input/input_probe.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/key_repeat_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/key_repeat_dispatcher.h
Examining data/mir-1.8.0+dfsg1/src/server/input/null_input_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/null_input_dispatcher.h
Examining data/mir-1.8.0+dfsg1/src/server/input/null_input_manager.h
Examining data/mir-1.8.0+dfsg1/src/server/input/null_input_targeter.h
Examining data/mir-1.8.0+dfsg1/src/server/input/seat_input_device_tracker.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/seat_input_device_tracker.h
Examining data/mir-1.8.0+dfsg1/src/server/input/seat_observer_multiplexer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/seat_observer_multiplexer.h
Examining data/mir-1.8.0+dfsg1/src/server/input/surface_input_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/surface_input_dispatcher.h
Examining data/mir-1.8.0+dfsg1/src/server/input/touchspot_controller.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/touchspot_controller.h
Examining data/mir-1.8.0+dfsg1/src/server/input/touchspot_image.c
Examining data/mir-1.8.0+dfsg1/src/server/input/validator.cpp
Examining data/mir-1.8.0+dfsg1/src/server/input/vt_filter.cpp
Examining data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.cpp
Examining data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.h
Examining data/mir-1.8.0+dfsg1/src/server/lockable_callback_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/default_server_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/compositor_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/compositor_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/connector_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/connector_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/display_configuration_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/display_configuration_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/display_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/display_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/input_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/input_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/logging_report_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/message_processor_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/message_processor_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/scene_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/scene_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/seat_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/seat_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/session_mediator_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/session_mediator_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/shell_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/logging/shell_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/logging_report_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/compositor_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/compositor_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/compositor_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/connector_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/connector_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/connector_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/display_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/display_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/display_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/input_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/input_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/input_report_tp.c
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/input_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/lttng_report_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/lttng_utils.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/message_processor_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/message_processor_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/message_processor_report_tp.c
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/message_processor_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/scene_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/scene_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/scene_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/server_tracepoint_provider.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/server_tracepoint_provider.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/session_mediator_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/session_mediator_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/session_mediator_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/shared_library_prober_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/shared_library_prober_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/shared_library_prober_report_tp.h
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng/tracepoints.c
Examining data/mir-1.8.0+dfsg1/src/server/report/lttng_report_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null/compositor_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/compositor_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null/connector_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/connector_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null/display_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/display_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null/input_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/input_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null/message_processor_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/message_processor_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null/null_report_factory.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/scene_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/scene_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null/seat_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/seat_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null/session_mediator_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/session_mediator_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null/shell_report.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/null/shell_report.h
Examining data/mir-1.8.0+dfsg1/src/server/report/null_report_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/report/report_factory.h
Examining data/mir-1.8.0+dfsg1/src/server/report/reports.cpp
Examining data/mir-1.8.0+dfsg1/src/server/report/reports.h
Examining data/mir-1.8.0+dfsg1/src/server/report_exception.cpp
Examining data/mir-1.8.0+dfsg1/src/server/run_mir.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/application_not_responding_detector_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/application_session.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/application_session.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/basic_surface.cpp
Parsing failed to find end of parameter list; semicolon terminated it in ([&](unsigned char const* buffer_pixels)
            {
                size_t buffer_size_bytes = buffer_size.width.as_int() * buffer_size.height.as_int()
                    * MIR_BYTES_PER_PIXEL(buf
Examining data/mir-1.8.0+dfsg1/src/server/scene/basic_surface.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/broadcasting_session_event_sink.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/broadcasting_session_event_sink.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/default_coordinate_translator.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/default_coordinate_translator.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/gl_pixel_buffer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/gl_pixel_buffer.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/legacy_scene_change_notification.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/legacy_surface_change_notification.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/legacy_surface_change_notification.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/mediating_display_changer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/mediating_display_changer.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/null_observer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/null_surface_observer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/output_properties_cache.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/pixel_buffer.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/prompt_session_container.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/prompt_session_container.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/prompt_session_impl.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/prompt_session_impl.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/prompt_session_manager_impl.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/prompt_session_manager_impl.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/rendering_tracker.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/rendering_tracker.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/session_container.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/session_manager.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/session_manager.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/snapshot_strategy.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/surface_allocator.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/surface_allocator.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/surface_creation_parameters.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/surface_event_source.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/surface_stack.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/surface_stack.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/threaded_snapshot_strategy.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/threaded_snapshot_strategy.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/timeout_application_not_responding_detector.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/timeout_application_not_responding_detector.h
Examining data/mir-1.8.0+dfsg1/src/server/scene/unsupported_coordinate_translator.cpp
Examining data/mir-1.8.0+dfsg1/src/server/scene/unsupported_coordinate_translator.h
Examining data/mir-1.8.0+dfsg1/src/server/server.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/abstract_shell.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/basic_decoration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/basic_decoration.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/basic_manager.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/basic_manager.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/decoration.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/input.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/input.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/manager.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/null_manager.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/renderer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/renderer.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/threadsafe_access.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/window.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/decoration/window.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/default_configuration.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/default_persistent_surface_store.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/default_persistent_surface_store.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/frontend_shell.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/frontend_shell.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/graphics_display_layout.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/graphics_display_layout.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/null_host_lifecycle_event_listener.h
Examining data/mir-1.8.0+dfsg1/src/server/shell/persistent_surface_store.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/shell_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/surface_ready_observer.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/surface_specification.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/surface_stack_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/system_compositor_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/src/server/shell/window_management_info.cpp
Examining data/mir-1.8.0+dfsg1/src/server/terminate_with_current_exception.cpp
Examining data/mir-1.8.0+dfsg1/src/server/thread/basic_thread_pool.cpp
Examining data/mir-1.8.0+dfsg1/src/utils/in.cpp
Examining data/mir-1.8.0+dfsg1/src/utils/out.c
Examining data/mir-1.8.0+dfsg1/src/utils/screencast.cpp
Examining data/mir-1.8.0+dfsg1/src/utils/vanity.c
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/wayland_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/wayland_wrapper.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/wlr-layer-shell-unstable-v1_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/wlr-layer-shell-unstable-v1_wrapper.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/xdg-output-unstable-v1_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/xdg-output-unstable-v1_wrapper.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/xdg-shell-unstable-v6_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/xdg-shell-unstable-v6_wrapper.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/xdg-shell_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generated/xdg-shell_wrapper.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/argument.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/argument.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/emitter.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/emitter.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/enum.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/enum.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/event.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/event.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/global.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/global.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/interface.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/interface.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/method.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/method.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/request.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/request.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/utils.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/utils.h
Examining data/mir-1.8.0+dfsg1/src/wayland/generator/wrapper_generator.cpp
Examining data/mir-1.8.0+dfsg1/src/wayland/wayland_base.cpp
Examining data/mir-1.8.0+dfsg1/src/wrapper.c
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/buffer_stream_arrangement.h
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/client_mediated_user_gestures.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/drag_and_drop.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/precompiled.hpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/server_configuration_options.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/server_configuration_wrapping.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/server_signal_handling.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/server_stop_callback.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/strict_close.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_application_not_responding_detection.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_buffer_stream_arrangement.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_buffer_stream_arrangement1.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_authorization.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_cookie.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_cursor_api.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_extensions.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_focus_notification.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_header_version.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_input.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_library.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_library_callbacks.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_library_errors.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_library_old.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_logging.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_platform_operation.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_scaling.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_screencast.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_surface_events.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_surface_swap_buffers.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_surface_visibility.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_surfaces.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_with_custom_display_config_deadlock.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_command_line_handling.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_confined_pointer.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_custom_input_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_custom_window_management.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_input_device_hub.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_mirblob.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_nested_input.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_nested_mir.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_new_display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_persistent_surface_store.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_presentation_chain.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_prompt_session_client_api.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_render_override.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_render_surface.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_seat_report.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_server_disconnect.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_server_shutdown.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_server_startup.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_server_without_active_outputs.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_session_mediator_report.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_surface_modifications.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_surface_morphing.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_surface_placement.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_surface_raise.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_surface_specification.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_surfaces_with_output_id.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_symbols_required_by_mesa.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_system_compositor_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_unresponsive_client.cpp
Examining data/mir-1.8.0+dfsg1/tests/acceptance-tests/wayland/miral_integration.cpp
Examining data/mir-1.8.0+dfsg1/tests/client-language/c99.c
Examining data/mir-1.8.0+dfsg1/tests/include/check_gtest_version.h
Examining data/mir-1.8.0+dfsg1/tests/include/gmock_set_arg.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/shell/basic_window_manager.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/shell/canonical_window_manager.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/as_render_target.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/barrier.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/current_thread_name.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/advanceable_clock.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/explicit_executor.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/fake_alarm_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/fake_ipc_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/fake_renderable.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/fd_matcher.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_buffer_ipc_message.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_buffer_stream.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_client_buffer_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_client_platform.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_compositor.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_compositor_report.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_console_services.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_coordinate_translator.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_cursor_listener.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_device.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_display.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_display_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_display_changer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_display_configuration_observer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_display_layout.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_display_report.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_drm.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_event_filter.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_event_handler_register.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_event_sink.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_event_sink_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_fb_hal_device.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_frontend_surface.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_gbm.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_gl_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_gl_config.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_gl_display_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_hwc_composer_device_1.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_input_config_changer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_input_device.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_input_device_registry.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_input_manager.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_input_platform.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_input_seat.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_input_sink.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_input_surface.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_input_targeter.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_key_mapper.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_libinput.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_lockable_callback.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_main_loop.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_mesa_auth_extensions.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_message_sender.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_mir_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_mir_buffer_stream.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_mir_client_session.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_option.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_platform_ipc_operations.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_protobuf_server.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_renderable.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_renderer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_rpc_report.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_scene.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_scene_session.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_screencast.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_server_status_listener.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_session_listener.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_surface.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_surface_stack.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_timer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_touch_visualizer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_udev.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_udev_device.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_x11.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_application_not_responding_detector.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_client_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_client_event_sink.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_console_services.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_device_observer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_display_changer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_display_configuration_policy.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_emergency_cleanup.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_event_sink.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_event_sink_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_gl_config.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_message_sender.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_pixel_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_prompt_session.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_prompt_session_manager.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_screencast.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_session_event_sink.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_snapshot_strategy.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/null_video_devices.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/simple_device_observer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_alarm.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_buffer_allocator.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_buffer_stream.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_buffer_stream_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_client_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_client_buffer_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_client_platform_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_connection_configuration.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_console_services.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_cursor_listener.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_display.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_display_server.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_gbm_native_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_gl_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_gl_buffer_allocator.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_gl_config.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_gl_display_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_gl_program.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_gl_program_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_host_connection.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_input_scene.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_input_surface.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_input_targeter.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_ipc_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_mir_client_session.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_observer_registrar.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_renderable.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_renderer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_scene.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_scene_element.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_shell.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_surface_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_touch_visualizer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/triggered_main_loop.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/fake_clock.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/fd_utils.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/gmock_fixes.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/input_config_matchers.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/input_devices_matcher.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/stub_server_tool.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/test_dispatchable.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/test_protobuf_client.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/test_protobuf_server.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir/test/wait_object.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/basic_client_server_fixture.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/client_platform_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/command_line_server_configuration.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/deferred_in_process_server.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/fake_input_server_configuration.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/input_testing_server_configuration.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/libinput_environment.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/open_wrapper.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/stub_client_connection_configuration.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/stub_client_platform_factory.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/stub_input_platform.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/stub_platform_native_buffer.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/stubbed_server_configuration.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/testing_server_configuration.h
Examining data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/udev_environment.h
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/compositor/multithread_harness.h
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/compositor/test_swapping_swappers.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/compositor/test_synchronizer.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/graphics/android/testdraw/mesa_graphics_region_factory.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/graphics/mesa/test_buffer_integration.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/input/test_configuring_input_manager.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/input/test_cursor_listener.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/input/test_single_seat_setup.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/precompiled.hpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/process/test_process.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/session_management.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/shell/test_session_lifecycle_event.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_client_screencast.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_display_info.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_display_server_main_loop_events.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_error_reporting.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_focus_selection.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_large_messages.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_server_client_types.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_server_shutdown.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_session.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_surface_first_frame_sync.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_surface_stack_with_compositor.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_surfaceloop.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_swapinterval.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_test_framework.cpp
Examining data/mir-1.8.0+dfsg1/tests/integration-tests/test_touchspot_visualization.cpp
Examining data/mir-1.8.0+dfsg1/tests/loader-tests/test_reload.c
Examining data/mir-1.8.0+dfsg1/tests/mir_test/cross_process_action.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/cross_process_sync.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/current_thread_name.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/display_config_matchers.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/event_factory.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/event_matchers.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/fake_clock.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/fd_utils.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/pipe.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/popen.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/signal.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/spin_wait.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/test_dispatchable.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/validity_matchers.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test/wait_object.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/fake_alarm_factory.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/fake_display.cpp
Parsing failed to find end of parameter list; semicolon terminated it in (begin(conf1.outputs), end(conf1.outputs),
                             begin(conf2.outputs),
                             [] (mg::DisplayConfigurationOutput const& output1, mg::DisplayConfigurationOu
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_drm.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_egl.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_event_sink_factory.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_gbm.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_gl.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_input_device.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_libinput.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_timer.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_udev.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_x11.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/nested_mock_egl.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/null_event_sink_factory.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/null_logger.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/simple_device_observer.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/stub_console_services.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/stub_display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/test_protobuf_client.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/test_protobuf_socket_server.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_doubles/triggered_main_loop.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/any_surface.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/async_server_runner.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/basic_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/canonical_window_manager.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/command_line_server_configuration.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/connected_client_headless_server.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/connected_client_with_a_window.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/declarative_placement_window_manage_policy.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/executable_path.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/fake_input_device_impl.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/fake_input_device_impl.h
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/fake_input_server_configuration.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/headless_display_buffer_compositor_factory.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/headless_in_process_server.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/headless_nested_server_runner.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/headless_test.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/input_device_faker.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/input_testing_server_options.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/interprocess_client_server_test.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/libinput_environment.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/main.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/observant_shell.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/open_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/passthrough_tracker.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/placement_applying_shell.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/platform_graphics_dummy.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/platform_graphics_throw.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/process.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/server_runner.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/socket_detect_server.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stub_client_platform_factory.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stub_client_platform_module.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stub_client_platform_options.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stub_input.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stub_input_platform.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stub_server_platform_factory.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stub_session.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stub_surface.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stubbed_graphics_platform.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stubbed_graphics_platform.h
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/stubbed_server_configuration.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/temporary_environment_value.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/test_display_server.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/test_server.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/test_wlcs_display_server.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/testing_client_options.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/testing_server_options.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/udev_environment.cpp
Examining data/mir-1.8.0+dfsg1/tests/mir_test_framework/visible_surface.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/active_outputs.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/active_window.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/application_zone.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/client_mediated_gestures.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/command_line_option.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/depth_layer.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/display_reconfiguration.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/drag_active_window.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/drag_and_drop.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/generated/server-decoration_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/generated/server-decoration_wrapper.h
Examining data/mir-1.8.0+dfsg1/tests/miral/ignored_requests.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/initial_window_placement.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/modify_window_specification.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/modify_window_state.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/mru_window_list.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/org_kde_kwin_server_decoration.c
Examining data/mir-1.8.0+dfsg1/tests/miral/org_kde_kwin_server_decoration.h
Examining data/mir-1.8.0+dfsg1/tests/miral/output_updates.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/popup_window_placement.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/raise_tree.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/runner.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/select_active_window.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/server_example_decoration.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/server_example_decoration.h
Examining data/mir-1.8.0+dfsg1/tests/miral/static_display_config.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/test_window_manager_tools.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/test_window_manager_tools.h
Examining data/mir-1.8.0+dfsg1/tests/miral/wayland_extensions.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/window_id.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/window_info.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/window_placement_anchors_to_parent.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/window_placement_attached.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/window_placement_client_api.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/window_placement_fullscreen.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/window_properties.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/workspaces.cpp
Examining data/mir-1.8.0+dfsg1/tests/miral/zone.cpp
Examining data/mir-1.8.0+dfsg1/tests/performance-tests/system_performance_test.cpp
Examining data/mir-1.8.0+dfsg1/tests/performance-tests/system_performance_test.h
Examining data/mir-1.8.0+dfsg1/tests/performance-tests/test_client_startup.cpp
Examining data/mir-1.8.0+dfsg1/tests/performance-tests/test_compositor.cpp
Examining data/mir-1.8.0+dfsg1/tests/performance-tests/test_glmark2-es2-mir.cpp
Examining data/mir-1.8.0+dfsg1/tests/platform_test_harness/graphics_platform_test_harness.cpp
Examining data/mir-1.8.0+dfsg1/tests/privileged-tests/test_input_events.cpp
Examining data/mir-1.8.0+dfsg1/tests/privileged-tests/ui_get_sysname_ioctl_override.cpp
Examining data/mir-1.8.0+dfsg1/tests/test-clients/impolite-shutdown/scroll.cpp
Examining data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/client.cpp
Examining data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/client.h
Examining data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/mir-stress.cpp
Examining data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/results.cpp
Examining data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/results.h
Examining data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/threading.cpp
Examining data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/threading.h
Examining data/mir-1.8.0+dfsg1/tests/umock-acceptance-tests/test_libinput.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/compositor/test_compositing_screencast.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/compositor/test_default_display_buffer_compositor.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/compositor/test_dropping_schedule.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/compositor/test_multi_monitor_arbiter.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/compositor/test_multi_threaded_compositor.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/compositor/test_occlusion.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/compositor/test_queueing_schedule.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/compositor/test_screencast_display_buffer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/compositor/test_stream.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/dispatch/test_action_queue.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/dispatch/test_dispatch_utils.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/dispatch/test_multiplexing_dispatchable.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/dispatch/test_readable_fd.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/dispatch/test_threaded_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/geometry/test-dimensions.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/geometry/test-displacement.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/geometry/test-length.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/geometry/test-point.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/geometry/test-rectangle.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/geometry/test-rectangles.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/geometry/test-size.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/gl/test_program_factory.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/gl/test_tessellation_helpers.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/egl_mock/egl_mock_test.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/offscreen/test_offscreen_display.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_anonymous_shm_file.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_buffer_id.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_buffer_properties.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_default_display_configuration_policy.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_egl_error.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_egl_extensions.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_gamma_curves.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_overlapping_output_grouping.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_pixel_format_utils.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_platform_prober.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_shm_buffer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_software_cursor.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_surfaceless_egl_context.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/evdev/test_evdev_device_detection.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/evdev/test_evdev_input_platform.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/evdev/test_libinput_device.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_config_changer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_cursor_controller.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_default_device.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_default_input_device_hub.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_default_input_manager.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_event_builders.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_event_filter_chain_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_external_input_device_hub.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_input_event.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_input_platform_probing.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_key_repeat_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_nested_input_platform.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_seat_input_device_tracker.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_surface_input_dispatcher.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_touchspot_controller.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_validator.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_x11_module.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/input/test_x11_platform.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/library_example.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/library_example.h
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/logging/message_processor_report.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/logging/test_compositor_report.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/logging/test_display_report.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/options/test_program_option.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/eglstream-kms/server/test_threaded_drm_event_handler.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/eglstream-kms/server/test_utils.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms-utils/test_connector_utils.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms-utils/test_drm_mode_resources.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/mock_kms_output.h
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_buffer_allocator.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_bypass.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_cursor.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display_buffer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display_generic.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display_multi_monitor.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_drm_helper.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_gbm_buffer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_graphics_platform.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_ipc_operations.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_kms_page_flipper.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_nested_authentication.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_platform.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_real_kms_output.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_software_buffer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/x11/test_display.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/x11/test_display_generic.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/x11/test_graphics_platform.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/x11/test_platform.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/nested/mir_display_configuration_builder.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/nested/mir_display_configuration_builder.h
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/nested/test_buffer.cpp
Parsing failed to find end of parameter list; semicolon terminated it in ([&] (auto pix) {
        read_data = *reinterpret_cast<decltype(data) const*>(pix);
    } );
    EXPECT_THAT(read_data, Eq(data));
}

TEST_F(NestedBuffer, binds_to_texture)
{
    ON_CALL(*client_buff
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/nested/test_ipc_operations.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/nested/test_nested_cursor.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/nested/test_nested_display.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/nested/test_nested_display_buffer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/nested/test_nested_display_configuration.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/test_display.h
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/test_graphics_platform.h
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/precompiled.hpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/renderers/gl/test_gl_renderer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_abstract_shell.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_application_session.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_basic_surface.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_broadcasting_session_event_sink.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_gl_pixel_buffer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_legacy_scene_change_notification.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_mediating_display_changer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_prompt_session_container.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_prompt_session_impl.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_prompt_session_manager.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_rendering_tracker.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_session_manager.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_surface.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_surface_impl.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_surface_stack.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_the_session_container_implementation.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_threaded_snapshot_strategy.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/scene/test_timeout_application_not_responding_detector.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/shared_library_test.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/shell/test_decoration_basic_decoration.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/shell/test_decoration_basic_manager.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/shell/test_default_persistent_surface_store.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/shell/test_graphics_display_layout.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/shell/test_persistent_surface_store_id.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_default_emergency_cleanup.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_edid.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_fatal.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_fd.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_flags.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_glib_main_loop.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_gmock_fixes.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_lockable_callback.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_mir_cookie.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_module_deleter.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_observer_multiplexer.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_posix_rw_mutex.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_posix_timestamp.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_raii.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_recursive_read_write_mutex.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_shared_library_prober.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_thread_name.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_thread_safe_list.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_udev_wrapper.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/test_variable_length_array.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/thread/test_basic_thread_pool.cpp
Examining data/mir-1.8.0+dfsg1/tests/unit-tests/wayland/test_wayland_executor.cpp

FINAL RESULTS:

data/mir-1.8.0+dfsg1/src/server/frontend/default_configuration.cpp:104:21:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
                    chmod(the_socket_file().c_str(), S_IRUSR|S_IWUSR| S_IRGRP|S_IWGRP | S_IROTH|S_IWOTH);
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_connector.cpp:733:13:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
            chmod((std::string{getenv("XDG_RUNTIME_DIR")} + "/" + wayland_display).c_str(),
data/mir-1.8.0+dfsg1/tests/mir_test_framework/executable_path.cpp:34:16:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    auto tmp = readlink("/proc/self/exe", buf, sizeof buf);
data/mir-1.8.0+dfsg1/tests/performance-tests/system_performance_test.cpp:35:16:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    auto len = readlink("/proc/self/exe", path, sizeof(path)-1);
data/mir-1.8.0+dfsg1/examples/example-server-lib/wallpaper_config.cpp:37:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            if (access(full_path.c_str(), R_OK) == 0)
data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example.cpp:104:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(command, sizeof(command), command_fmt, getpid());
data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example.cpp:109:29:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (auto const output = popen(command, options))
data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_test_client.cpp:69:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(buffer, sizeof buffer, format, exit_status);
data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_test_client.cpp:79:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(buffer, sizeof buffer, format, signal);
data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_test_client.cpp:140:17:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execlp(client.c_str(), client.c_str(), static_cast<char const*>(nullptr));
data/mir-1.8.0+dfsg1/examples/mirclient/eglapp.c:296:30:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
                        if (!sscanf(operand, arg->format, arg->variable))
data/mir-1.8.0+dfsg1/examples/mirclient/prompt_session.c:196:9:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execvp("mir_demo_client_basic", args);
data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/fenced_buffers.h:71:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    MirBufferAccess access);
data/mir-1.8.0+dfsg1/include/client/mir_toolkit/extensions/fenced_buffers.h:85:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    MirBufferAccess access,
data/mir-1.8.0+dfsg1/include/common/mir/logging/logger.h:56:34:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
         __attribute__ ((format (printf, 4, 5)));
data/mir-1.8.0+dfsg1/src/common/log.cpp:33:15:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    int len = vsnprintf(message, max, fmt, va);
data/mir-1.8.0+dfsg1/src/common/logging/logger.cpp:34:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(message, bufsize, format, va);
data/mir-1.8.0+dfsg1/src/common/sharedlibrary/shared_library_prober.cpp:29:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
std::error_code boost_to_std_error(boost::system::error_code const& ec)
data/mir-1.8.0+dfsg1/src/common/sharedlibrary/shared_library_prober.cpp:33:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (ec.category() != boost::system::system_category())
data/mir-1.8.0+dfsg1/src/common/sharedlibrary/shared_library_prober.cpp:73:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    boost::system::error_code ec;
data/mir-1.8.0+dfsg1/src/core/fatal.cpp:39:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, reason, args);
data/mir-1.8.0+dfsg1/src/core/fatal.cpp:52:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buffer, sizeof buffer, reason, args);
data/mir-1.8.0+dfsg1/src/miral/display_configuration.cpp:54:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            if (access(filename.c_str(), F_OK))
data/mir-1.8.0+dfsg1/src/miral/launch_app.cpp:155:9:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execvp(exec_args[0], const_cast<char*const*>(exec_args.data()));
data/mir-1.8.0+dfsg1/src/miral/launch_app.cpp:226:9:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execvp(exec_args[0], const_cast<char*const*>(exec_args.data()));
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:264:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy (new, name);
data/mir-1.8.0+dfsg1/src/server/frontend/message_receiver.h:36:39:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    typedef std::function<void(boost::system::error_code const&, size_t)> MirReadHandler;
data/mir-1.8.0+dfsg1/src/server/frontend/message_receiver.h:38:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    virtual boost::system::error_code receive_msg(boost::asio::mutable_buffers_1 const& buffer) = 0;
data/mir-1.8.0+dfsg1/src/server/frontend/published_socket_connector.cpp:157:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        ](boost::system::error_code const& ec)
data/mir-1.8.0+dfsg1/src/server/frontend/published_socket_connector.cpp:174:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    boost::system::error_code const& ec)
data/mir-1.8.0+dfsg1/src/server/frontend/published_socket_connector.h:92:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                           boost::system::error_code const& ec);
data/mir-1.8.0+dfsg1/src/server/frontend/socket_connection.cpp:38:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
namespace bs = boost::system;
data/mir-1.8.0+dfsg1/src/server/frontend/socket_connection.cpp:66:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void mfd::SocketConnection::on_read_size(const boost::system::error_code& error)
data/mir-1.8.0+dfsg1/src/server/frontend/socket_connection.cpp:92:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void mfd::SocketConnection::on_new_message(const boost::system::error_code& error)
data/mir-1.8.0+dfsg1/src/server/frontend/socket_connection.h:54:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    void on_response_sent(boost::system::error_code const& error, std::size_t);
data/mir-1.8.0+dfsg1/src/server/frontend/socket_connection.h:55:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    void on_new_message(const boost::system::error_code& ec);
data/mir-1.8.0+dfsg1/src/server/frontend/socket_connection.h:56:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    void on_read_size(const boost::system::error_code& ec);
data/mir-1.8.0+dfsg1/src/server/frontend/socket_messenger.cpp:34:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
namespace bs = boost::system;
data/mir-1.8.0+dfsg1/src/server/frontend/socket_messenger.h:41:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    boost::system::error_code receive_msg(boost::asio::mutable_buffers_1 const& buffer) override;
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:216:5:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execl(
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:366:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(lockfile, sizeof lockfile, x11_lock_fmt, xdisplay);
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:381:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(x11_socket, sizeof x11_socket, x11_socket_fmt, xdisplay);
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:383:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (!success_writing_to_lock_file || access(x11_socket, F_OK) == 0)
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:412:17:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    path_size = snprintf(addr.sun_path + 1, sizeof(addr.sun_path) - 1, x11_socket_fmt, xdisplay);
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:418:17:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    path_size = snprintf(addr.sun_path, sizeof(addr.sun_path), x11_socket_fmt, xdisplay);
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:430:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(path, sizeof path, x11_lock_fmt, xdisplay);
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:432:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(path, sizeof path, x11_socket_fmt, xdisplay);
data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_buffer.cpp:102:44:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
void mgn::HostBuffer::sync(MirBufferAccess access, std::chrono::nanoseconds ns)
data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_buffer.cpp:105:51:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        fence_extensions->wait_for_access(handle, access, ns.count());
data/mir-1.8.0+dfsg1/src/server/graphics/nested/host_buffer.h:50:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    void sync(MirBufferAccess access, std::chrono::nanoseconds ns) override;
data/mir-1.8.0+dfsg1/src/wrapper.c:71:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(pivot, pivot_max, EXECUTABLE_FORMAT, name);
data/mir-1.8.0+dfsg1/src/wrapper.c:76:5:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execv(argv[0], argv);
data/mir-1.8.0+dfsg1/tests/mir_test/popen.cpp:27:18:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    : raw_stream{popen(cmd.c_str(), "r"), [](FILE* f){ pclose(f); }}
data/mir-1.8.0+dfsg1/tests/performance-tests/system_performance_test.cpp:78:12:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    return execv(argv[0], argv);
data/mir-1.8.0+dfsg1/tests/privileged-tests/test_input_events.cpp:139:17:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execlp(
data/mir-1.8.0+dfsg1/tests/privileged-tests/test_input_events.cpp:152:17:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execlp(
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:766:22:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
MATCHER_P2(FlagsSet, access, flags, "")
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:770:34:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    return ((arg & O_ACCMODE) == access) &&
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:68:13:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            execlp(
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:504:17:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execlp(
data/mir-1.8.0+dfsg1/examples/example-server-lib/wayland_helpers.cpp:41:54:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            for (auto dir : {const_cast<const char*>(getenv("XDG_RUNTIME_DIR")), "/dev/shm", "/tmp" })
data/mir-1.8.0+dfsg1/examples/mirclient/basic.c:183:23:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        while ((arg = getopt (argc, argv, "c:hm:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/chain_jumping_buffers.c:97:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt (argc, argv, "m:s:h:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/eglsquare.cpp:265:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt (argc, argv, "nm:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/flicker.c:145:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt (argc, argv, "qhnm:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/input_shapes.cpp:140:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt (argc, argv, "m:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/multiwin.c:233:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt (argc, argv, "hm:a:p:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/prerendered_frames.c:131:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt (argc, argv, "m:s:h:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/prompt_session.c:229:23:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        while ((arg = getopt (argc, argv, "c:hm:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/release_at_exit.c:65:23:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        while ((arg = getopt (argc, argv, "hm:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/screencast.cpp:50:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt (argc, argv, "m:f:d:s:h:")) != -1)
data/mir-1.8.0+dfsg1/examples/mirclient/wayland_client.c:99:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (!shm_dir) shm_dir = getenv("XDG_RUNTIME_DIR");
data/mir-1.8.0+dfsg1/playground/egldiamond_render_surface.c:127:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt(argc, argv, "ehnm:")) != -1)
data/mir-1.8.0+dfsg1/src/client/buffer_stream.cpp:127:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (auto env = getenv("MIR_CLIENT_FORCE_SWAP_INTERVAL"))
data/mir-1.8.0+dfsg1/src/client/default_connection_configuration.cpp:100:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            if (auto const lib = getenv("MIR_CLIENT_PLATFORM_LIB"))
data/mir-1.8.0+dfsg1/src/client/default_connection_configuration.cpp:103:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            if (auto path = getenv("MIR_CLIENT_PLATFORM_PATH"))
data/mir-1.8.0+dfsg1/src/client/default_connection_configuration.cpp:139:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            auto val_raw = getenv("MIR_CLIENT_RPC_REPORT");
data/mir-1.8.0+dfsg1/src/client/default_connection_configuration.cpp:157:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            auto val_raw = getenv("MIR_CLIENT_INPUT_RECEIVER_REPORT");
data/mir-1.8.0+dfsg1/src/client/default_connection_configuration.cpp:219:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            auto val_raw = getenv("MIR_CLIENT_SHARED_LIBRARY_PROBER_REPORT");
data/mir-1.8.0+dfsg1/src/client/input/xkb_mapper.cpp:39:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char const* loc = getenv("LC_ALL");
data/mir-1.8.0+dfsg1/src/client/input/xkb_mapper.cpp:41:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        loc = getenv("LC_CTYPE");
data/mir-1.8.0+dfsg1/src/client/input/xkb_mapper.cpp:43:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        loc = getenv("LANG");
data/mir-1.8.0+dfsg1/src/client/mir_connection.cpp:86:33:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* report_target = getenv("MIR_CLIENT_PERF_REPORT");
data/mir-1.8.0+dfsg1/src/client/mir_connection.cpp:105:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* nbuffers_opt = getenv("MIR_CLIENT_NBUFFERS");
data/mir-1.8.0+dfsg1/src/client/mir_connection_api.cpp:64:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            auto socket_env = getenv("MIR_SOCKET");
data/mir-1.8.0+dfsg1/src/client/rpc/mir_basic_rpc_channel.cpp:44:48:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (auto const protocol_version_override = getenv("MIR_CLIENT_TEST_OVERRRIDE_PROTOCOL_VERSION"))
data/mir-1.8.0+dfsg1/src/common/env/default_configuration.cpp:30:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char const* dir = getenv("XDG_RUNTIME_DIR");
data/mir-1.8.0+dfsg1/src/miral/display_configuration.cpp:41:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (auto config_home = getenv("XDG_CONFIG_HOME"))
data/mir-1.8.0+dfsg1/src/miral/display_configuration.cpp:43:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        else if (auto home = getenv("HOME"))
data/mir-1.8.0+dfsg1/src/miral/display_configuration.cpp:73:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (auto config_home = getenv("XDG_CONFIG_HOME"))
data/mir-1.8.0+dfsg1/src/miral/display_configuration.cpp:75:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    else if (auto home = getenv("HOME"))
data/mir-1.8.0+dfsg1/src/miral/display_configuration.cpp:78:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (auto config_dirs = getenv("XDG_CONFIG_DIRS"))
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:621:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	path = getenv ("XCURSOR_PATH");
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:682:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	home = getenv ("HOME");
data/mir-1.8.0+dfsg1/src/platform/options/default_configuration.cpp:246:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        auto env_libname = ::getenv("MIR_SERVER_PLATFORM_GRAPHICS_LIB");
data/mir-1.8.0+dfsg1/src/platform/options/default_configuration.cpp:247:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        auto env_libpath = ::getenv("MIR_SERVER_PLATFORM_PATH");
data/mir-1.8.0+dfsg1/src/platform/options/program_option.cpp:94:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (auto config_home = getenv("XDG_CONFIG_HOME"))
data/mir-1.8.0+dfsg1/src/platform/options/program_option.cpp:96:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    else if (auto home = getenv("HOME"))
data/mir-1.8.0+dfsg1/src/platform/options/program_option.cpp:99:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (auto config_dirs = getenv("XDG_CONFIG_DIRS"))
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/display_helpers.cpp:120:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                if (getenv("MIR_MESA_KMS_DISABLE_MODESET_PROBE") == nullptr)
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/cursor.cpp:72:37:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    bool const force_64x64_cursor = getenv(mir_drm_cursor_64x64);
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/cursor.cpp:83:37:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    bool const force_64x64_cursor = getenv(mir_drm_cursor_64x64);
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/platform_symbols.cpp:205:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                        if (getenv("MIR_MESA_KMS_DISABLE_MODESET_PROBE") == nullptr)
data/mir-1.8.0+dfsg1/src/platforms/wayland/cursor.cpp:44:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        std::string{getenv("XDG_RUNTIME_DIR")} + "/wayland-cursor-shared-XXXXXX";
data/mir-1.8.0+dfsg1/src/server/console/default_configuration.cpp:163:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                    if (getenv("DISPLAY"))
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_connector.cpp:714:35:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (auto const display_name = getenv("WAYLAND_DISPLAY"))
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wayland_connector.cpp:733:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            chmod((std::string{getenv("XDG_RUNTIME_DIR")} + "/" + wayland_display).c_str(),
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_log.h:28:37:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    static bool const log_verbose = getenv("MIR_X11_VERBOSE_LOG");
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_wm.cpp:837:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    v = getenv("XCURSOR_SIZE");
data/mir-1.8.0+dfsg1/src/wrapper.c:28:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* old = getenv(varname);
data/mir-1.8.0+dfsg1/src/wrapper.c:69:36:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    printf("LD_LIBRARY_PATH=%s\n", getenv("LD_LIBRARY_PATH"));
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_surface_swap_buffers.cpp:112:43:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (auto server_nbuffers_switch = getenv("MIR_SERVER_NBUFFERS"))
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_surface_swap_buffers.cpp:118:47:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                auto client_nbuffers_switch = getenv("MIR_CLIENT_NBUFFERS");
data/mir-1.8.0+dfsg1/tests/mir_test_framework/platform_graphics_throw.cpp:47:48:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        : should_throw{parse_exception_request(getenv("MIR_TEST_FRAMEWORK_THROWING_PLATFORM_EXCEPTIONS"))}
data/mir-1.8.0+dfsg1/tests/mir_test_framework/server_runner.cpp:42:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (!getenv(env_no_file))
data/mir-1.8.0+dfsg1/tests/mir_test_framework/temporary_environment_value.cpp:27:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    has_old_value{getenv(name) != nullptr},
data/mir-1.8.0+dfsg1/tests/mir_test_framework/temporary_environment_value.cpp:28:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    old_value{has_old_value ? getenv(name) : ""}
data/mir-1.8.0+dfsg1/tests/mir_test_framework/test_wlcs_display_server.cpp:826:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/mir_test_framework/udev_environment.cpp:59:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (!getenv("LD_PRELOAD"))
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:50:32:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    std::string const output = tmpnam(nullptr);
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:82:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:96:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:112:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:123:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:136:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:150:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:164:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:178:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:195:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/external_client.cpp:212:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("XDG_RUNTIME_DIR") == nullptr)
data/mir-1.8.0+dfsg1/tests/miral/static_display_config.cpp:153:32:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
    miral::StaticDisplayConfig{tmpnam(nullptr)};
data/mir-1.8.0+dfsg1/tests/test-clients/impolite-shutdown/scroll.cpp:141:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt (argc, argv, "hm:w:")) != -1)
data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/mir-stress.cpp:53:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (auto const socket = getenv("MIR_SOCKET"))
data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/mir-stress.cpp:68:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt(argc, argv, option_str.c_str())) != -1)
data/mir-1.8.0+dfsg1/benchmarks/benchmark_multiplexing_dispatchable.cpp:93:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int const thread_count = std::atoi(argv[1]);
data/mir-1.8.0+dfsg1/cmake/src/mir/mir_test_fd_leak.cpp:5:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    open("/dev/zero", O_RDONLY);
data/mir-1.8.0+dfsg1/cmake/src/mir/mir_test_tmpfile.cpp:8:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int ret = open("/dev/shm", O_TMPFILE | O_RDWR | O_EXCL, S_IRWXU);
data/mir-1.8.0+dfsg1/examples/example-server-lib/decoration_provider.cpp:406:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pixel + i, pattern, sizeof pixel[i]);
data/mir-1.8.0+dfsg1/examples/example-server-lib/sw_splash.cpp:96:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pixel + i, ctx->pattern, sizeof pixel[i]);
data/mir-1.8.0+dfsg1/examples/example-server-lib/wayland_helpers.cpp:36:48:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            open_shm_file = []{ return mir::Fd{open(shm_dir, O_TMPFILE | O_RDWR | O_EXCL, S_IRWXU)}; };
data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example.cpp:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char command[sizeof(command_fmt)+32];
data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_host_lifecycle_event.cpp:43:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[128];
data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_test_client.cpp:68:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buffer[sizeof format + 10];
data/mir-1.8.0+dfsg1/examples/mir_demo_server/server_example_test_client.cpp:78:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[sizeof format];
data/mir-1.8.0+dfsg1/examples/mirclient/basic.c:188:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                buffer_swap_count = atoi(optarg);
data/mir-1.8.0+dfsg1/examples/mirclient/camera.c:109:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static void fourcc_string(__u32 x, char str[5])
data/mir-1.8.0+dfsg1/examples/mirclient/camera.c:141:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cam->fd = open(path, O_RDWR);
data/mir-1.8.0+dfsg1/examples/mirclient/camera.c:194:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[5];
data/mir-1.8.0+dfsg1/examples/mirclient/camera.c:545:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char str[5];
data/mir-1.8.0+dfsg1/examples/mirclient/eglapp.c:142:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char const* const form_factor_name[6] =
data/mir-1.8.0+dfsg1/examples/mirclient/fingerpaint.c:179:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(destrow, srcrow, copy);
data/mir-1.8.0+dfsg1/examples/mirclient/fingerpaint.c:402:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        force_radius = atoi(argv[i]);
data/mir-1.8.0+dfsg1/examples/mirclient/mir_image.h:29:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char        pixel_data[64 * 64 * 4 + 1];
data/mir-1.8.0+dfsg1/examples/mirclient/multiwin.c:238:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            alpha = atoi(optarg);
data/mir-1.8.0+dfsg1/examples/mirclient/multiwin.c:242:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            pixel_format = (MirPixelFormat)atoi(optarg);
data/mir-1.8.0+dfsg1/examples/mirclient/progressbar.c:208:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(destrow, srcrow, copy);
data/mir-1.8.0+dfsg1/examples/mirclient/progressbar.c:299:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[128];
data/mir-1.8.0+dfsg1/examples/mirclient/prompt_session.c:186:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[128] = {0};
data/mir-1.8.0+dfsg1/examples/mirclient/prompt_session.c:187:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buffer, "fd://%d", mcd.client_fds[0]);
data/mir-1.8.0+dfsg1/examples/mirclient/screencast.cpp:61:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            disp_id = atoi(optarg);
data/mir-1.8.0+dfsg1/examples/mirclient/wayland_client.c:101:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open(shm_dir, O_TMPFILE | O_RDWR | O_EXCL, S_IRWXU);
data/mir-1.8.0+dfsg1/src/client/buffer_stream.cpp:130:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        return {atoi(env)};
data/mir-1.8.0+dfsg1/src/client/display_configuration.cpp:58:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(
data/mir-1.8.0+dfsg1/src/client/input/xkb_mapper.cpp:358:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[7];
data/mir-1.8.0+dfsg1/src/client/input/xkb_mapper.cpp:437:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buffer[7];
data/mir-1.8.0+dfsg1/src/client/input/xkb_mapper.cpp:470:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buffer[7];
data/mir-1.8.0+dfsg1/src/client/logging/perf_report.cpp:43:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/mir-1.8.0+dfsg1/src/client/mir_cookie.cpp:28:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cookie_.data(), buffer, size);
data/mir-1.8.0+dfsg1/src/client/mir_cookie.cpp:39:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buffer, cookie_.data(), size);
data/mir-1.8.0+dfsg1/src/client/rpc/make_socket_rpc_channel.cpp:60:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        auto const fd = atoi(name.c_str()+fd_prefix.size);
data/mir-1.8.0+dfsg1/src/client/rpc/mir_protobuf_rpc_channel.cpp:273:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char header_bytes[2] =
data/mir-1.8.0+dfsg1/src/client/rpc/stream_socket_transport.cpp:226:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(socket_address.sun_path, path.data(), path.size());
data/mir-1.8.0+dfsg1/src/common/edid.cpp:52:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
size_t Edid::get_string(StringDescriptorType type, char str[14]) const
data/mir-1.8.0+dfsg1/src/common/edid.cpp:61:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, desc.other.text, len);
data/mir-1.8.0+dfsg1/src/common/log.cpp:31:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[1024];
data/mir-1.8.0+dfsg1/src/common/logging/dumb_console_logger.cpp:45:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char now[32];
data/mir-1.8.0+dfsg1/src/common/logging/input_timestamp.cpp:31:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[64];
data/mir-1.8.0+dfsg1/src/common/logging/logger.cpp:33:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[bufsize];
data/mir-1.8.0+dfsg1/src/cookie/authority.cpp:62:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open("/dev/urandom", O_RDONLY);
data/mir-1.8.0+dfsg1/src/cookie/authority.cpp:129:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&timestamp, ptr, sizeof(uint64_t));
data/mir-1.8.0+dfsg1/src/cookie/authority.cpp:133:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(mac.data(), ptr, mac.size());
data/mir-1.8.0+dfsg1/src/cookie/hmac_cookie.cpp:47:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cookie_ptr, timestamp_ptr, sizeof(timestamp_));
data/mir-1.8.0+dfsg1/src/cookie/hmac_cookie.cpp:50:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cookie_ptr, mac_.data(), mac_.size());
data/mir-1.8.0+dfsg1/src/core/anonymous_shm_file.cpp:59:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        raw_fd = open("/dev/shm", O_TMPFILE | O_RDWR | O_EXCL | O_CLOEXEC, S_IRWXU);
data/mir-1.8.0+dfsg1/src/core/fatal.cpp:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[1024];
data/mir-1.8.0+dfsg1/src/include/common/mir/graphics/edid.h:34:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef char MonitorName[14];  // up to 13 characters
data/mir-1.8.0+dfsg1/src/include/common/mir/graphics/edid.h:35:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef char Manufacturer[4];  // always 3 characters
data/mir-1.8.0+dfsg1/src/include/common/mir/graphics/edid.h:52:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    size_t get_string(StringDescriptorType type, char str[14]) const;
data/mir-1.8.0+dfsg1/src/include/common/mir/variable_length_array.h:57:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char builtin_buffer[BuiltInBufferSize];
data/mir-1.8.0+dfsg1/src/miral/internal_client.cpp:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char connect_string[64] = {0};
data/mir-1.8.0+dfsg1/src/miral/internal_client.cpp:135:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(connect_string, "fd://%d", fd.operator int());
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:273:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char   bytes[4];
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:747:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    line[8192];
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:754:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen (full, "r");
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:817:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		f = fopen(full, "r");
data/mir-1.8.0+dfsg1/src/platforms/common/server/shm_buffer.cpp:171:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pixels, data, data_size);
data/mir-1.8.0+dfsg1/src/platforms/evdev/evdev_device_detection.cpp:181:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    mir::Fd input_device(::open(device, O_RDONLY|O_NONBLOCK));
data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_platform.cpp:363:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&gbm_ptr, &gbm_dev, sizeof(gbm_dev));
data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_platform.cpp:377:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&set_gbm_device_request, msg->data.data(), msg->data.size());
data/mir-1.8.0+dfsg1/src/platforms/mesa/client/native_surface.cpp:107:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(surface_parameters, &params, sizeof(MirWindowParameters));
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/display_helpers.cpp:176:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        tmp_fd = mir::Fd{open(device.devnode(), O_RDWR | O_CLOEXEC)};
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/ipc_operations.cpp:104:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            std::memcpy(&auth_magic_request, request.data.data(), request.data.size());
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/ipc_operations.cpp:131:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(response_msg.data.data(), &auth_magic_response, sizeof(auth_magic_response));
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/cursor.cpp:223:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dest, src, 4*image_width);
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/cursor.cpp:239:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest+row*buffer_stride+4*col, src + ((image_height-1)-row)*image_stride + 4*((image_width-1)-col), 4);
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/cursor.cpp:253:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest+row*buffer_stride+4*col, src + ((image_width-1)-row)*4 + image_stride*col, 4);
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/cursor.cpp:267:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dest+row*buffer_stride+4*col, src + row*4 + image_stride*((image_height-1)-col), 4);
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/cursor.cpp:296:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(argb8888.data(), cursor_image.as_argb_8888(), argb8888.size());
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/X11_resources.cpp:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[80];
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/input/input_platform.cpp:180:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char str[STRMAX];
data/mir-1.8.0+dfsg1/src/platforms/rpi-dispmanx/platform_symbols.cpp:94:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    auto vchiq_dev_fd = mir::Fd{open("/dev/vchiq", O_RDWR)};
data/mir-1.8.0+dfsg1/src/platforms/wayland/cursor.cpp:100:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(data_buffer, cursor_image.as_argb_8888(), 4 * width * height);
data/mir-1.8.0+dfsg1/src/server/console/default_configuration.cpp:38:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int open(char const* pathname, int flags)
data/mir-1.8.0+dfsg1/src/server/console/default_configuration.cpp:40:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        return ::open(pathname, flags);
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp:153:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          device_fd{fops.open(device_node, O_RDWR | O_CLOEXEC)}
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp:238:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            fops->open(device_node.c_str(), O_RDWR | O_CLOEXEC | O_NONBLOCK)};
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp:532:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        auto fd = fops->open(p.c_str(), O_RDONLY);
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp:534:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            fd = fops->open(p.c_str(), O_WRONLY);
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp:598:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    auto vt_fd = fops->open(active_vt_path.c_str(), O_RDONLY | O_NDELAY);
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp:640:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    mir::Fd const fd{fops->open(filename.str().c_str(), O_RDONLY | O_CLOEXEC)};
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp:658:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char line_buffer[1024];
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.h:48:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    virtual int open(char const* pathname, int flags) = 0;
data/mir-1.8.0+dfsg1/src/server/console/minimal_console_services.cpp:103:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    mir::Fd fd{::open(filename, flags)};
data/mir-1.8.0+dfsg1/src/server/console/minimal_console_services.cpp:130:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char line_buffer[1024];
data/mir-1.8.0+dfsg1/src/server/frontend/socket_connection.h:64:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char header[header_size];
data/mir-1.8.0+dfsg1/src/server/frontend/socket_messenger.cpp:155:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char   control[CMSG_SPACE(sizeof(ucred))];
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_keyboard.cpp:130:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            std::memcpy(
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_keyboard.cpp:165:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(shm_buffer.base_ptr(), buffer, length);
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_keyboard.cpp:205:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(shm_buffer.base_ptr(), buffer.get(), length);
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_pointer.cpp:64:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(pixels.get(), buffer_pixels, buffer_size_bytes);
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wlshmbuffer.cpp:253:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    ::memcpy(data, pixels, size);
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wlshmbuffer.cpp:315:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(data.get(), wl_shm_buffer_get_data(wayland->buffer.value()), size_.height.as_int() * stride_.as_int());
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:364:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lockfile[256];
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:368:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    mir::Fd const fd{open(lockfile, O_WRONLY | O_CLOEXEC | O_CREAT | O_EXCL, 0444)};
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:380:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char x11_socket[256];
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_server.cpp:429:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char path[256];
data/mir-1.8.0+dfsg1/src/server/frontend_xwayland/xwayland_wm.cpp:839:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        size = atoi(v);
data/mir-1.8.0+dfsg1/src/server/graphics/nested/buffer.cpp:153:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(region->vaddr + line_offset_in_buffer, pixels + line_offset_in_source, region->width * bpp);
data/mir-1.8.0+dfsg1/src/server/graphics/nested/mir_client_host_connection.cpp:101:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(dest, src, image_stride);
data/mir-1.8.0+dfsg1/src/server/graphics/nested/mir_client_host_connection.cpp:301:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(buffer.data(), other.as_argb_8888(), buffer.size());
data/mir-1.8.0+dfsg1/src/server/graphics/nested/mir_client_host_connection.cpp:309:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(buffer.data(), other.as_argb_8888(), buffer.size());
data/mir-1.8.0+dfsg1/src/server/graphics/nested/mir_client_host_connection.cpp:446:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&magic_request, request.data.data(), request.data.size());
data/mir-1.8.0+dfsg1/src/server/graphics/nested/mir_client_host_connection.cpp:449:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(response_msg.data.data(), &magic_response, sizeof(magic_response));
data/mir-1.8.0+dfsg1/src/server/graphics/nested/mir_client_host_connection.cpp:470:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&device, request.data.data(), request.data.size());
data/mir-1.8.0+dfsg1/src/server/input/touchspot_image.c:7:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char	 pixel_data[64 * 64 * 4 + 1];
data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.cpp:206:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        auto fd = fops->open(p.c_str(), O_RDONLY);
data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.cpp:208:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            fd = fops->open(p.c_str(), O_WRONLY);
data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.cpp:272:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    auto vt_fd = fops->open(active_vt_path.c_str(), O_RDONLY | O_NDELAY);
data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.cpp:312:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    mir::Fd const fd{fops->open(filename.str().c_str(), O_RDONLY | O_CLOEXEC)};
data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.cpp:327:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char line_buffer[1024];
data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.cpp:340:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    auto dev_fd = mir::Fd{fops->open(devnode.c_str(), O_RDWR | O_CLOEXEC)};
data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.h:43:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    virtual int open(char const* pathname, int flags) = 0;
data/mir-1.8.0+dfsg1/src/server/report/logging/compositor_report.cpp:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[128];
data/mir-1.8.0+dfsg1/src/server/report/logging/compositor_report.cpp:106:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/mir-1.8.0+dfsg1/src/server/report/logging/compositor_report.cpp:161:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/mir-1.8.0+dfsg1/src/server/scene/basic_surface.cpp:684:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(pixels.get(), buffer_pixels, buffer_size_bytes);
data/mir-1.8.0+dfsg1/src/server/shell/persistent_surface_store.cpp:69:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[37];
data/mir-1.8.0+dfsg1/src/utils/out.c:103:48:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* file = !strcmp(path, "-") ? stdout : fopen(path, "wb");
data/mir-1.8.0+dfsg1/src/utils/out.c:125:47:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* file = !strcmp(path, "-") ? stdin : fopen(path, "rb");
data/mir-1.8.0+dfsg1/src/utils/out.c:322:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char target_hz[64] = "";
data/mir-1.8.0+dfsg1/src/utils/out.c:385:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char hz[64];
data/mir-1.8.0+dfsg1/src/utils/vanity.c:193:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static void fourcc_string(__u32 x, char str[5])
data/mir-1.8.0+dfsg1/src/utils/vanity.c:217:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char fmt[5];
data/mir-1.8.0+dfsg1/src/utils/vanity.c:284:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cam->fd = open(path, O_RDWR);
data/mir-1.8.0+dfsg1/src/utils/vanity.c:337:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[5];
data/mir-1.8.0+dfsg1/src/utils/vanity.c:839:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char str[5];
data/mir-1.8.0+dfsg1/src/wrapper.c:26:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2048] = "";
data/mir-1.8.0+dfsg1/src/wrapper.c:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char path[1024], *dest = path, *dest_max = path+sizeof(path)-1;
data/mir-1.8.0+dfsg1/tests/acceptance-tests/server_configuration_options.cpp:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char const* argv[argc] = {
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_library.cpp:855:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    canary_fd = open("/dev/null", O_RDONLY);
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_logging.cpp:98:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char name[256];
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_platform_operation.cpp:89:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(data.data(), msg_data.data, msg_data.size);
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_surface_swap_buffers.cpp:114:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            if (server_nbuffers_switch && atoi(server_nbuffers_switch) > 0)
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_surface_swap_buffers.cpp:115:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                return atoi(server_nbuffers_switch);
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_surface_swap_buffers.cpp:120:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    return atoi(client_nbuffers_switch);
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_mirblob.cpp:45:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buffer.data(), mir_blob_data(save_blob), buffer.size());
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_mirblob.cpp:73:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buffer.data(), mir_blob_data(save_blob), buffer.size());
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_prompt_session_client_api.cpp:54:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char client_connect_string[32] = {0};
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_prompt_session_client_api.cpp:56:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(client_connect_string, "fd://%d", fd);
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_prompt_session_client_api.cpp:247:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static constexpr char const* const provider_name[no_of_prompt_providers]
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_prompt_session_client_api.cpp:731:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char control[CMSG_SPACE(sizeof(ucred))];
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_server_startup.cpp:76:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open("/dev/random", O_RDONLY | O_NONBLOCK);
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_server_startup.cpp:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_drm.h:96:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    MOCK_METHOD3(open, int(char const* path, int flags, mode_t mode));
data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_gbm_native_buffer.h:52:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd[0] = open("/dev/null", 0);
data/mir-1.8.0+dfsg1/tests/include/mir_test_framework/stub_platform_native_buffer.h:33:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    mir::Fd const fd{open("/dev/zero", O_RDONLY)};
data/mir-1.8.0+dfsg1/tests/mir_test/current_thread_name.cpp:28:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char thread_name[max_thread_name_size];
data/mir-1.8.0+dfsg1/tests/mir_test/popen.cpp:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_drm.cpp:242:30:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                return this->open(path, flags, mode);
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_drm.cpp:254:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ON_CALL(*this, open(_,_,_))
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/stub_console_services.cpp:58:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    mir::Fd device_fd{::open(devnode, O_RDWR | O_CLOEXEC)};
data/mir-1.8.0+dfsg1/tests/mir_test_framework/async_server_runner.cpp:169:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char connect_string[64] = {0};
data/mir-1.8.0+dfsg1/tests/mir_test_framework/async_server_runner.cpp:173:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(connect_string, "fd://%d", dup(fd));
data/mir-1.8.0+dfsg1/tests/mir_test_framework/executable_path.cpp:33:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];
data/mir-1.8.0+dfsg1/tests/mir_test_framework/open_wrapper.cpp:92:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int open(char const* path, int flags, mode_t mode)
data/mir-1.8.0+dfsg1/tests/mir_test_framework/server_runner.cpp:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char connect_string[64] = {0};
data/mir-1.8.0+dfsg1/tests/mir_test_framework/server_runner.cpp:64:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(connect_string, "fd://%d", server_config().the_connector()->client_socket_fd());
data/mir-1.8.0+dfsg1/tests/mir_test_framework/server_runner.cpp:70:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char connect_string[64] = {0};
data/mir-1.8.0+dfsg1/tests/mir_test_framework/server_runner.cpp:71:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(connect_string, "fd://%d", server_config().the_prompt_connector()->client_socket_fd());
data/mir-1.8.0+dfsg1/tests/mir_test_framework/test_display_server.cpp:48:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char const* dummy_args[2] = { "TestServer", nullptr };
data/mir-1.8.0+dfsg1/tests/mir_test_framework/test_display_server.cpp:165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char connect_string[64] = {0};
data/mir-1.8.0+dfsg1/tests/mir_test_framework/test_display_server.cpp:166:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(connect_string, "fd://%d", dup(server_running->open_client_socket()));
data/mir-1.8.0+dfsg1/tests/mir_test_framework/test_wlcs_display_server.cpp:822:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[32];
data/mir-1.8.0+dfsg1/tests/performance-tests/system_performance_test.cpp:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char path[256];
data/mir-1.8.0+dfsg1/tests/performance-tests/test_compositor.cpp:36:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char line[256];
data/mir-1.8.0+dfsg1/tests/performance-tests/test_glmark2-es2-mir.cpp:61:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char output_filename[256];
data/mir-1.8.0+dfsg1/tests/performance-tests/test_glmark2-es2-mir.cpp:72:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        glmark2_output.open(output_filename);
data/mir-1.8.0+dfsg1/tests/test-clients/impolite-shutdown/scroll.cpp:149:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            num_windows = atoi(optarg);
data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/mir-stress.cpp:73:57:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            duration_to_run = std::chrono::seconds(std::atoi(optarg));
data/mir-1.8.0+dfsg1/tests/test-clients/mir-stress/src/mir-stress.cpp:78:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            num_threads = std::atoi(optarg);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:59:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    MOCK_METHOD2(open, int(char const*, int));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:144:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        EXPECT_CALL(mock_fops, open(StrEq("/dev/tty"), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:151:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        EXPECT_CALL(mock_fops, open(StrEq("/dev/tty0"), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:187:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        EXPECT_CALL(mock_fops, open(StrEq(ss.str()), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:333:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq("/dev/tty"), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:340:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq("/dev/tty0"), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:785:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    ::memcpy(uevent->base_ptr(), content, strlen(content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:787:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(fops, open(StrEq(expected_filename.str()), FlagsSet(O_RDONLY, O_CLOEXEC)))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:849:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:850:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq(device_node), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:909:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(*fops, open(StrEq(expected_filename), FlagsSet(O_RDONLY, O_CLOEXEC)))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:939:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    ::memcpy(uevent.base_ptr(), uevent_content, strlen(uevent_content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:941:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(*fops, open(StrEq(expected_filename), FlagsSet(O_RDONLY, O_CLOEXEC)))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:967:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(*fops, open(StrEq(device_node), FlagsSet(O_RDWR, O_CLOEXEC)))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:998:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    ::memcpy(fake_device_node.base_ptr(), device_content, sizeof(device_content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1000:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(*fops, open(StrEq(device_node), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1010:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[sizeof(device_content)];
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1037:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1038:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(*fops, open(StrEq(device_node), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1074:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1076:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(*fops, open(StrEq(device_node), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1110:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1114:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        open(StrEq(device_node), FlagsSet(O_RDWR, O_CLOEXEC | O_NONBLOCK)))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1143:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1144:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq(device_node), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1201:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1202:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq(device_node), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1252:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1253:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq(device_node), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1305:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1306:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq(device_node), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1367:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1368:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq(device_node_one), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1385:39:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const second_fake_device_fd = open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1386:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq(device_node_two), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1506:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq(device_node_one), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1510:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                return open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1512:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_fops, open(StrEq(device_node_two), _))
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1516:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                return open("/dev/null", O_RDONLY | O_CLOEXEC);
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:82:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[1024];
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:206:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buffer[1024];
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:1080:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        ::memcpy(fake_device_node.base_ptr(), device_content, sizeof(device_content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:1108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[sizeof(device_content)];
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:1206:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    ::memcpy(fake_device_node.base_ptr(), device_content, sizeof(device_content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:1215:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[sizeof(device_content)];
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:77:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        mir::Fd stub_fd{::open("/dev/null", O_RDWR | O_CLOEXEC)};
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:100:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        mir::Fd stub_fd{::open("/dev/null", O_RDWR | O_CLOEXEC)};
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:101:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ON_CALL(drm, open(StrEq(device_name), _, _)).WillByDefault(
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:114:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        ::memcpy(uevent->base_ptr(), sysfile_content, strlen(sysfile_content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:350:38:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        [device_path, fd = mir::Fd{::open("/dev/null", O_RDWR)}](
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:389:38:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        [device_path, fd = mir::Fd{::open("/dev/null", O_RDWR)}](
data/mir-1.8.0+dfsg1/tests/unit-tests/gl/test_program_factory.cpp:115:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(arg3, str, len);
data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_platform_prober.cpp:144:39:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        observer->activated(mir::Fd{::open(filename.str().c_str(), O_RDWR | O_CLOEXEC)});
data/mir-1.8.0+dfsg1/tests/unit-tests/options/test_program_option.cpp:58:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char const* argv[argc] = {
data/mir-1.8.0+dfsg1/tests/unit-tests/options/test_program_option.cpp:76:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char const* argv[argc] = {
data/mir-1.8.0+dfsg1/tests/unit-tests/options/test_program_option.cpp:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char const* argv[argc] = {
data/mir-1.8.0+dfsg1/tests/unit-tests/options/test_program_option.cpp:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char const* argv[argc] = {
data/mir-1.8.0+dfsg1/tests/unit-tests/options/test_program_option.cpp:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char const* argv[argc] = {
data/mir-1.8.0+dfsg1/tests/unit-tests/options/test_program_option.cpp:156:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char const* argv[argc] = {
data/mir-1.8.0+dfsg1/tests/unit-tests/options/test_program_option.cpp:172:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char const* argv[argc] = {
data/mir-1.8.0+dfsg1/tests/unit-tests/options/test_program_option.cpp:202:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char const* argv[argc] = {
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/eglstream-kms/server/test_threaded_drm_event_handler.cpp:48:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        : mock_drm_fd{mock_drm.open(device_node, 0, 0)}
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms-utils/test_connector_utils.cpp:104:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    auto const drm_fd = open(drm_device, 0, 0);
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms-utils/test_connector_utils.cpp:127:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const drm_fd = open(drm_device, 0, 0);
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms-utils/test_connector_utils.cpp:190:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int const drm_fd = open(drm_device, 0, 0);
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms-utils/test_drm_mode_resources.cpp:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[DRM_PROP_NAME_LEN];
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_cursor.cpp:279:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char const stub_data[128*128*4] = { 0 };
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display.cpp:85:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        drm_fd{open(drm_device, 0, 0)}
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display.cpp:344:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_drm, open(_,_,_))
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display.cpp:409:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_drm, open(StrEq("/dev/dri/card0"), _, _)).Times(AtLeast(1));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display.cpp:410:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_drm, open(StrEq("/dev/dri/card1"), _, _)).Times(AtLeast(1));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display_configuration.cpp:96:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        : drm_fd{open(drm_device, 0, 0)}
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display_generic.cpp:49:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        : drm_fd{open(drm_device, 0, 0)}
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display_multi_monitor.cpp:113:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        : drm_fd{open(drm_device, 0, 0)}
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_drm_helper.cpp:58:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_drm, open(_, FlagSet(O_CLOEXEC), _));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_ipc_operations.cpp:111:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(request_msg.data.data(), &request, sizeof(request));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_ipc_operations.cpp:118:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(&response, response_msg.data.data(), response_msg.data.size());
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_ipc_operations.cpp:126:28:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    mir::Fd stub_fd(fileno(tmpfile()));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_ipc_operations.cpp:142:28:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    mir::Fd stub_fd(fileno(tmpfile()));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_kms_page_flipper.cpp:49:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    : drm_fd{open(drm_device, 0, 0)},
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_platform.cpp:114:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_drm, open(StrEq("/dev/dri/card0"),_,_));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_platform.cpp:115:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_drm, open(StrEq("/dev/dri/card1"),_,_));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_platform.cpp:139:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_drm, open(_,_,_))
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_real_kms_output.cpp:63:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        : drm_fd{open(drm_device, 0, 0)},
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/x11/test_platform.cpp:104:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    EXPECT_CALL(mock_drm, open(_,_,_))
data/mir-1.8.0+dfsg1/tests/unit-tests/test_fd.cpp:37:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        raw_fd(::open("/dev/null", 0))
data/mir-1.8.0+dfsg1/tests/unit-tests/test_mir_cookie.cpp:33:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = open("/dev/random", O_RDONLY | O_NONBLOCK);
data/mir-1.8.0+dfsg1/tests/unit-tests/test_mir_cookie.cpp:35:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/mir-1.8.0+dfsg1/tests/unit-tests/test_thread_name.cpp:36:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char thread_name[max_thread_name_size];
data/mir-1.8.0+dfsg1/examples/mirclient/cursors_demo_client.c:70:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(100000);
data/mir-1.8.0+dfsg1/examples/mirclient/eglapp.c:223:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int len = indent + strlen(arg->syntax);
data/mir-1.8.0+dfsg1/examples/mirclient/eglapp.c:275:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                 : (int)strlen(arg->syntax);
data/mir-1.8.0+dfsg1/examples/mirclient/progressbar.c:342:17:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                usleep(1000000 / hz);
data/mir-1.8.0+dfsg1/include/platform/mir/renderer/sw/pixel_source.h:44:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(std::function<void(unsigned char const*)> const& do_with_pixels) = 0;
data/mir-1.8.0+dfsg1/include/test/mir/test/event_matchers.h:595:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!std::equal(it_keys, end_keys, std::begin(pressed_keys)))
data/mir-1.8.0+dfsg1/src/common/dispatch/action_queue.cpp:78:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(event_fd, &num_actions, sizeof num_actions) != sizeof num_actions)
data/mir-1.8.0+dfsg1/src/common/events/keymap_event.cpp:55:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ::capnp::Text::Reader capnp_text(buffer, strlen(buffer));
data/mir-1.8.0+dfsg1/src/cookie/authority.cpp:68:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    unsigned got = read(fd, buffer.data(), size);
data/mir-1.8.0+dfsg1/src/miral/display_configuration_option.cpp:113:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            else if (display_layout.compare(0, strlen(static_opt_val), static_opt_val) == 0)
data/mir-1.8.0+dfsg1/src/miral/display_configuration_option.cpp:114:95:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                layout_selector = std::make_shared<StaticDisplayConfig>(display_layout.substr(strlen(static_opt_val)));
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:183:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int	    (*read)  (XcursorFile *file, unsigned char *buf, int len);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:259:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    new = malloc (strlen (name) + 1);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:278:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((*file->read) (file, bytes, 4) != 4)
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:631:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int	    pathlen = strlen (path);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:636:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat (path, "/");
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:640:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (elt);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:647:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (path + pathlen, elt, len);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:668:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	colon = dir + strlen (dir);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:674:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	tcolon = theme + strlen (theme);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:685:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	homelen = strlen (home);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:721:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    full = malloc (padding + strlen (dir) + 1 + strlen (subdir) + 1 + strlen (file) + 1);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:721:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    full = malloc (padding + strlen (dir) + 1 + strlen (subdir) + 1 + strlen (file) + 1);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:721:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    full = malloc (padding + strlen (dir) + 1 + strlen (subdir) + 1 + strlen (file) + 1);
data/mir-1.8.0+dfsg1/src/miral/xcursor.c:767:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		result = malloc (strlen (l) + 1);
data/mir-1.8.0+dfsg1/src/platform/graphics/display_configuration.cpp:178:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal{(val1.id == val2.id) &&
data/mir-1.8.0+dfsg1/src/platform/graphics/display_configuration.cpp:193:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (equal)
data/mir-1.8.0+dfsg1/src/platform/graphics/display_configuration.cpp:197:21:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            equal = equal && (val1.modes[i] == val2.modes[i]);
data/mir-1.8.0+dfsg1/src/platform/graphics/display_configuration.cpp:198:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!equal) break;
data/mir-1.8.0+dfsg1/src/platform/graphics/display_configuration.cpp:202:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return equal;
data/mir-1.8.0+dfsg1/src/platform/options/program_option.cpp:70:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             auto const sizeof_prefix = strlen(prefix);
data/mir-1.8.0+dfsg1/src/platforms/common/server/shm_buffer.cpp:174:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void mgc::ShmBuffer::read(std::function<void(unsigned char const*)> const& do_with_pixels)
data/mir-1.8.0+dfsg1/src/platforms/common/server/shm_buffer.h:100:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(std::function<void(unsigned char const*)> const& do_with_pixels) override;
data/mir-1.8.0+dfsg1/src/platforms/evdev/platform.cpp:315:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        if (strncmp(workaround_device->sysname(), "event", strlen("event")) != 0)
data/mir-1.8.0+dfsg1/src/platforms/mesa/client/client_platform_factory.cpp:110:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return (strncmp("mir:mesa", server_graphics_module.name, strlen("mir:mesa")) == 0);
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/kms/platform_symbols.cpp:245:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    strlen("llvmpipe")) == 0)
data/mir-1.8.0+dfsg1/src/platforms/mesa/server/x11/graphics/display_buffer.cpp:79:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char end = found[strlen(extension)];
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp:663:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (strncmp(line_buffer, "DEVNAME=", strlen("DEVNAME=")) == 0)
data/mir-1.8.0+dfsg1/src/server/console/linux_virtual_terminal.cpp:665:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    return std::string{"/dev/"} + std::string{line_buffer + strlen("DEVNAME=")};
data/mir-1.8.0+dfsg1/src/server/console/logind_console_services.cpp:256:79:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      active{strncmp("active", logind_session_get_state(session_proxy.get()), strlen("active")) == 0}
data/mir-1.8.0+dfsg1/src/server/console/logind_console_services.cpp:764:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(g_dbus_message_get_member(message), "ResumeDevice", strlen("ResumeDevice")) != 0)
data/mir-1.8.0+dfsg1/src/server/console/minimal_console_services.cpp:135:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strncmp(line_buffer, "DEVNAME=", strlen("DEVNAME=")) == 0)
data/mir-1.8.0+dfsg1/src/server/console/minimal_console_services.cpp:137:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                return std::string{"/dev/"} + std::string{line_buffer + strlen("DEVNAME=")};
data/mir-1.8.0+dfsg1/src/server/frontend/socket_messenger.cpp:115:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        nread += boost::asio::read(
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_keyboard.cpp:202:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    auto length = strlen(buffer.get());
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wl_pointer.cpp:62:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            pixel_source->read([this, buffer_size_bytes](unsigned char const* buffer_pixels)
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wlshmbuffer.cpp:223:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wlshmbuffer.cpp:257:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void mf::WlShmBuffer::read(std::function<void(unsigned char const *)> const &do_with_pixels)
data/mir-1.8.0+dfsg1/src/server/frontend_wayland/wlshmbuffer.h:75:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(std::function<void(unsigned char const *)> const &do_with_pixels) override;
data/mir-1.8.0+dfsg1/src/server/glib_main_loop_sources.cpp:587:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        auto const nread = read(
data/mir-1.8.0+dfsg1/src/server/graphics/gl_extensions_base.cpp:41:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t const len = strlen(ext);
data/mir-1.8.0+dfsg1/src/server/graphics/nested/buffer.cpp:157:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(std::function<void(unsigned char const*)> const& do_with_pixels) override
data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.cpp:332:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (strncmp(line_buffer, "DEVNAME=", strlen("DEVNAME=")) == 0)
data/mir-1.8.0+dfsg1/src/server/linux_virtual_terminal.cpp:334:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    return std::string{"/dev/"} + std::string{line_buffer + strlen("DEVNAME=")};
data/mir-1.8.0+dfsg1/src/server/scene/basic_surface.cpp:677:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            pixel_source->read([&](unsigned char const* buffer_pixels)
data/mir-1.8.0+dfsg1/src/utils/out.c:349:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    size_t len = strlen(target_hz);
data/mir-1.8.0+dfsg1/src/wrapper.c:59:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(pivot, "../lib/client-modules/", pivot_max);
data/mir-1.8.0+dfsg1/src/wrapper.c:63:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(pivot+7, "server-modules/", pivot_max-7);
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_client_platform_operation.cpp:192:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    EXPECT_THAT(read(reply_fd, &reply_char, 1), Eq(1));
data/mir-1.8.0+dfsg1/tests/acceptance-tests/test_server_startup.cpp:79:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (read(fd, buf, sizeof buf) > 0) {}
data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/mock_buffer.h:75:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    MOCK_METHOD1(read, void(std::function<void(unsigned char const*)> const&));
data/mir-1.8.0+dfsg1/tests/include/mir/test/doubles/stub_buffer.h:132:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(std::function<void(unsigned char const*)> const& do_with_pixels) override
data/mir-1.8.0+dfsg1/tests/integration-tests/test_display_server_main_loop_events.cpp:115:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                if (read(fd, &c, 1) == 1)
data/mir-1.8.0+dfsg1/tests/mir_test/cross_process_sync.cpp:136:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (sizeof(value) != read(fds[read_fd], std::addressof(value), sizeof(value)))
data/mir-1.8.0+dfsg1/tests/mir_test/test_dispatchable.cpp:85:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int val = ::read(read_fd, &dummy, sizeof(dummy));
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/fake_display.cpp:41:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        std::equal(begin(conf1.outputs), end(conf1.outputs),
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_drm.cpp:240:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (!strncmp(path, drm_prefix, strlen(drm_prefix)))
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_drm.cpp:348:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        static_cast<int>(strlen("mock_driver")),
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_drm.cpp:350:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        static_cast<int>(strlen("1 Jan 1970")),
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_drm.cpp:352:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        static_cast<int>(strlen("Not really a driver")),
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_drm.cpp:409:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (::read(fd, &consume_buf, 1) != 1)
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_egl.cpp:381:72:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
EGLBoolean eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
data/mir-1.8.0+dfsg1/tests/mir_test_doubles/mock_egl.cpp:384:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return global_mock_egl->eglMakeCurrent(dpy, draw, read, ctx);
data/mir-1.8.0+dfsg1/tests/mir_test_framework/stubbed_graphics_platform.cpp:218:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (read(request_fd, &request_char, 1) != 1)
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:784:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    auto uevent = std::make_shared<mir::AnonymousShmFile>(strlen(content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:785:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ::memcpy(uevent->base_ptr(), content, strlen(content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:798:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(device_name, "/dev/", strlen("/dev/")) != 0)
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:806:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        << "DEVNAME=" << device_name + strlen ("/dev/") << "\n";
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:938:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mir::AnonymousShmFile uevent{strlen(uevent_content)};
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:939:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ::memcpy(uevent.base_ptr(), uevent_content, strlen(uevent_content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_linux_virtual_terminal.cpp:1012:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto read_bytes = read(device_fd, buffer, sizeof(device_content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:83:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto bytes_read = ::read(child_stdout.read_fd(), buffer, sizeof(buffer));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:213:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while ((bytes_read = ::read(mock_stdout, buffer, sizeof(buffer))) > 0)
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:1109:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto read_bytes = read(resolved_fd, buffer, sizeof(buffer));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_logind_console_services.cpp:1216:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto read_bytes = read(received_fd, buffer, sizeof(buffer));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:48:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(device_name, "/dev/", strlen("/dev/")) != 0)
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:56:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        << "DEVNAME=" << device_name + strlen ("/dev/") << "\n";
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:113:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        auto uevent = std::make_shared<mir::AnonymousShmFile>(strlen(sysfile_content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:114:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ::memcpy(uevent->base_ptr(), sysfile_content, strlen(sysfile_content));
data/mir-1.8.0+dfsg1/tests/unit-tests/console/test_minimal_console_services.cpp:303:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (!strncmp("/sys", path, strlen("/sys")))
data/mir-1.8.0+dfsg1/tests/unit-tests/graphics/test_anonymous_shm_file.cpp:59:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              read(shm_file.fd(), buffer.data(), file_size));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms-utils/test_drm_mode_resources.cpp:146:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(prop->name, property.c_str(), sizeof(prop->name) - 1);
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display.cpp:445:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT_EQ(1, read(arg0, &dummy, 1));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_display_multi_monitor.cpp:350:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT_EQ(1, read(arg0, &dummy, 1));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_kms_page_flipper.cpp:69:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT_EQ(1, read(arg0, &dummy, 1));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/mesa/kms/test_kms_page_flipper.cpp:514:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT_EQ(1, read(drm_fd, &dummy, 1));
data/mir-1.8.0+dfsg1/tests/unit-tests/platforms/nested/test_buffer.cpp:211:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    pixel_source->read([&] (auto pix) {
data/mir-1.8.0+dfsg1/tests/unit-tests/test_glib_main_loop.cpp:318:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            EXPECT_EQ(1, read(fd, &data_read, 1));
data/mir-1.8.0+dfsg1/tests/unit-tests/test_glib_main_loop.cpp:348:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      read(fd, &i, sizeof(i)));
data/mir-1.8.0+dfsg1/tests/unit-tests/test_glib_main_loop.cpp:392:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      read(fd, &elems_read[0], sizeof(elems_read[0])));
data/mir-1.8.0+dfsg1/tests/unit-tests/test_glib_main_loop.cpp:408:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      read(fd, &elems_read[1], sizeof(elems_read[1])));
data/mir-1.8.0+dfsg1/tests/unit-tests/test_glib_main_loop.cpp:424:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      read(fd, &elems_read[2], sizeof(elems_read[2])));
data/mir-1.8.0+dfsg1/tests/unit-tests/test_glib_main_loop.cpp:475:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            EXPECT_EQ(1, read(fd, &data_read, 1));
data/mir-1.8.0+dfsg1/tests/unit-tests/test_glib_main_loop.cpp:512:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            EXPECT_EQ(1, read(fd, &data_read, 1));
data/mir-1.8.0+dfsg1/tests/unit-tests/test_glib_main_loop.cpp:581:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                EXPECT_EQ(1, read(fd, &data_read, 1));
data/mir-1.8.0+dfsg1/tests/unit-tests/test_mir_cookie.cpp:36:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (read(fd, buf, sizeof buf) > 0) {}
data/mir-1.8.0+dfsg1/tests/unit-tests/test_posix_timestamp.cpp:25:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
TEST(PosixTimestamp, equal)

ANALYSIS SUMMARY:

Hits = 506
Lines analyzed = 318636 in approximately 7.08 seconds (44974 lines/second)
Physical Source Lines of Code (SLOC) = 219896
Hits@level = [0] 264 [1] 107 [2] 265 [3]  74 [4]  56 [5]   4
Hits@level+ = [0+] 770 [1+] 506 [2+] 399 [3+] 134 [4+]  60 [5+]   4
Hits/KSLOC@level+ = [0+] 3.50166 [1+] 2.30109 [2+] 1.81449 [3+] 0.609379 [4+] 0.272856 [5+] 0.0181904
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.