Skip to content

Conversation

NickeZ
Copy link
Collaborator

@NickeZ NickeZ commented Sep 10, 2025

The recommended way to enable sanitizers nowadays is to add -fsanitize=* as a compiler and linking flags.

@NickeZ NickeZ requested a review from benma September 10, 2025 10:20
@NickeZ NickeZ force-pushed the maint/sanitizers branch 2 times, most recently from 8a718ec to 56189d5 Compare September 10, 2025 10:52
The recommended way to enable sanitizers nowadays is to add
`-fsanitize=*` as a compiler and linking flags.

Also fix some warnings and remove some targets from "all" to speed up
builds.

Bumping macosx version to 11 since that seems to be necessary for asan
to work.

Add CI check to verify that address santizier is turned on for unit
tests
Copy link
Collaborator

@benma benma left a comment

Choose a reason for hiding this comment

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

utACK, but do we even use make all anywhere, or in what case does EXCLUDE_FROM_ALL apply?

@NickeZ
Copy link
Collaborator Author

NickeZ commented Sep 12, 2025

utACK, but do we even use make all anywhere, or in what case does EXCLUDE_FROM_ALL apply?

yeah, when building the unit tests.

@NickeZ NickeZ merged commit da0aa9c into BitBoxSwiss:master Sep 12, 2025
32 checks passed
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