You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling an extern C function with a specific signature, -Zsanitize=address reports a false positive error.
I included a C version of calling the same function in the same way, which reports no error.
Seems to only trigger with opt-level=0. If the Rust version is built with opt-level=1 or above, no error gets reported.
When calling an extern C function with a specific signature, -Zsanitize=address reports a false positive error.
I included a C version of calling the same function in the same way, which reports no error.
Seems to only trigger with opt-level=0. If the Rust version is built with opt-level=1 or above, no error gets reported.
mytestlib.h:
mytestlib.c:
cver.c:
rustver.rs:
Sanitizer output of Rust version:
Meta:
rustc 1.55.0-nightly (74ef0c3 2021-07-16)
Linux 5.13.1-arch1-1 #1 SMP PREEMPT Fri, 09 Jul 2021 23:42:24 +0000 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: