]> git.ipfire.org Git - thirdparty/bind9.git/commit
add access attribute
authorAydın Mercan <aydin@isc.org>
Thu, 26 Feb 2026 06:07:52 +0000 (09:07 +0300)
committerAydın Mercan <aydin@isc.org>
Thu, 12 Mar 2026 11:34:46 +0000 (14:34 +0300)
commitee6237056327661fd399079526391cb035438ff4
treed1e9a755cb5111777302208e7817d4751c9d1b1a
parentb218e7d5216e000e4b45d9f879054a268c1f0b65
add access attribute

The `access` attribute annotates functions if it will read from or write
to pointers with an optional byte size specifier if applicable. [1]

This attribute can prove useful to catch uninitialized reads or suppress
false warnings.

[1]: https://gcc.gnu.org/onlinedocs/gcc/Common-Attributes.html#index-access
lib/isc/include/isc/attributes.h