Skip to content

Conversation

@ferivoz
Copy link
Contributor

@ferivoz ferivoz commented Dec 24, 2024

I have to make local adjustments in the code to use ASAN and UBSAN. I think that it's a compiler issue, but both commits should be beneficial for squashfs-tools regardless.

Adding ASAN and UBSAN is simple now:

$ make USE_SANITIZERS=1

Fixes an issue when compiling with sanitizers which otherwise
prevents mksquashfs from successful linking.

Added bonus is that visibility is reduced from a C point of view
as well. Simplifies code auditing.

Signed-off-by: Samanta Navarro <[email protected]>
This simplifies the addition of sanitizers to executables for easier
debugging.

Signed-off-by: Samanta Navarro <[email protected]>
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.

1 participant