[CONC-618] Please annotate swapcontext for ASAN Created: 2022-11-14  Updated: 2023-12-06

Status: Open
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Trivial
Reporter: Ivan Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None


 Description   

For correctness of AddressSanitizer stack-use-after-return detection one has to annotate swapcontext calls with those when implementing their own fibers.

Since stack-use-after-return is enabled by default in recent clang-15 release (when compiling with -fsanitize=address that is), would be great to see this feature supported by mariadb-connector-c.


Generated at Thu Feb 08 03:06:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.