[gnutls-devel] GnuTLS | WIP Insertion usdt trace points for crypto auditing (!1340)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Oct 6 09:07:20 CEST 2020

Daiki Ueno commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/1340#note_424176707

If we pre-process using `.d` files, post-processing only adds a little extra sanity, because the code shall not directly use `DTRACE_PROBE*` but dedicated macros, and thus misuses are caught at the compile time. Although the user can still use those generic macros, such usage can be checked with [syntax-check](https://git.savannah.gnu.org/cgit/gnulib.git/tree/top/maint.mk#n203) rules (i.e., no git-controlled files directly include `<sys/sdt.h>` and no `DTRACE_PROBE*` macros are invoked).

If we really care about the final ELF output, we can add something similar (but not in Perl, maybe good to talk to the libabigail developers first).

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1340#note_424176707
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20201006/6193c52b/attachment.html>

More information about the Gnutls-devel mailing list