1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-07-06 12:59:29 +03:00
Files
systemd-stable/src
Frantisek Sumsal b0561b51a9 coverage: add a wrapper for execveat()
gcov provides wrappers for the exec*() calls but there's none for execveat(),
which means we lose all coverage prior to the call. To mitigate this, let's
add a simple execveat() wrapper in gcov's style[0], which dumps and resets
the coverage data when needed.

This applies only when we're built with -Dfexecve=true.

[0] https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libgcc/libgcov-interface.c;h=b2ee930864183b78c8826255183ca86e15e21ded;hb=HEAD

(cherry picked from commit 4388541237)
(cherry picked from commit 5e3ac73017)
2023-04-28 16:29:56 +01:00
..
2023-02-10 20:28:11 +00:00
2023-02-10 20:28:11 +00:00
2022-07-22 22:34:20 +02:00
2023-04-28 16:29:56 +01:00
2022-09-13 08:13:27 +02:00
2022-06-28 13:10:05 +02:00
2022-06-02 07:53:14 +02:00