Skip to content

Conversation

@Cyan4973
Copy link
Contributor

allows recovering from pointer overflow.

allows recovering from pointer overflow
Copy link
Contributor

@terrelln terrelln left a comment

Choose a reason for hiding this comment

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

FYI this won't work with gcc versions older than 8.0.0, but that shouldn't be a problem.

@terrelln
Copy link
Contributor

I've fixed the LLVM fuzzers in #2503.

Makefile Outdated

uasan: clean
$(MAKE) test CC=clang MOREFLAGS="-g -fno-sanitize-recover=all -fsanitize-recover=signed-integer-overflow -fsanitize=address,undefined -Werror"
$(MAKE) test CC=clang MOREFLAGS="-g -fno-sanitize-recover=all -fsanitize-recover=signed-integer-overflow -fsanitize-recover=pointer-overflow -fsanitize=address,undefined -Werror"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove -fsanitize-recover=signed-integer-overflow?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.
At least on my local platform, it works fine.

@Cyan4973 Cyan4973 merged commit c79411a into dev Feb 20, 2021
@Cyan4973 Cyan4973 deleted the ubsanfix branch May 4, 2021 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants