[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. |