https://bugs.kde.org/show_bug.cgi?id=485778

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from Mark Wielaard <m...@klomp.org> ---
commit d68d584cead390c339b9575c5c9679e8ce50c37f
Author: Mark Wielaard <m...@klomp.org>
Date:   Fri Apr 19 22:46:11 2024 +0200

    core errors suppression support

    Add two new functions core_get_extra_suppression_info and
    core_get_error_name as alternatives for tool suppression callbacks.
    These functions are used in gen_suppression.

    Instead of a tool name, a core error component name is "CoreError".

    Two new suppression kinds FdBadCloseSupp and FdNotClosedSupp
    were added. Corresponding to the FdBadClose and FdNotClosed
    error kinds.

    core_error_matches_suppression matches these suppression kinds
    with error kinds.

    core_get_extra_suppression_info and core_print_extra_suppression_use
    are noops for core errors.

    is_suppressible_error, supp_matches_error, load_one_suppressions_file
    and show_used_suppressions have been adjusted to work with core
    error kinds.

    A new function VG_(found_or_suppressed_errs) helps to not output
    an empty error summary if only core errors are requested, but no
    errors were detected.

    VG_(clo_track_fds) has been moved from pub_core_options.h to
    pub_tool_options.h. And VG_(needs_core_errors) now takes a Bool
    that can be set to false in the tool post_clo_init handler. This
    is used in the none tool to request core errors, but disable all
    reporting if no option has been given that enables such errors.

    This make sure only the none/tests/fdleak_ipv4.stderr.exp needs
    adjustment. For all other tests the output is exactly as before.

    https://bugs.kde.org/show_bug.cgi?id=485778

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to