Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ubsan for test_libnimbus_lc #5258

Merged
merged 2 commits into from
Aug 7, 2023
Merged

fix ubsan for test_libnimbus_lc #5258

merged 2 commits into from
Aug 7, 2023

Conversation

etan-status
Copy link
Contributor

Pass -fsanitize=undefined flag when compiling test_libnimbus_lc when building in ubsan mode.

Pass `-fsanitize=undefined` flag when compiling `test_libnimbus_lc`
when building in ubsan mode.
@@ -755,18 +755,29 @@ libnimbus_lc.a: | build deps
echo -e $(BUILD_END_MSG) "build/$@"

# `-Wno-maybe-uninitialized` in Linux: https://github.com/nim-lang/Nim/issues/22246
# `-fsanitize=undefined` in Windows: https://github.com/msys2/MINGW-packages/issues/3163
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is one reason it's avoided by make test, etc.

@etan-status etan-status enabled auto-merge (squash) August 5, 2023 09:25
@github-actions
Copy link

github-actions bot commented Aug 5, 2023

Unit Test Results

         9 files    1 077 suites   40m 5s ⏱️
  3 723 tests   3 444 ✔️ 279 💤 0
15 874 runs  15 569 ✔️ 305 💤 0

Results for commit 67dcd79.

♻️ This comment has been updated with latest results.

@etan-status etan-status merged commit c26e813 into unstable Aug 7, 2023
9 checks passed
@etan-status etan-status deleted the dev/etan/lc-ubsan branch August 7, 2023 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants