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

Sanitizer debug builds #35

Open
wants to merge 2 commits into
base: Agoric
Choose a base branch
from
Open

Sanitizer debug builds #35

wants to merge 2 commits into from

Conversation

raphdev
Copy link

@raphdev raphdev commented Mar 3, 2023

This PR enables provides the necessary flags to allow xsnap to build with sanitizers in debug mode. The settings reflect those used for XS fuzzing and complement the fuzzing we do for XS.

Note that these builds require Clang, particularly for memorysanitizer.

To use:

SANITIZER=address yarn build

The resulting debug build can be used with our tooling.

Example running xsnap tests under ASAN:

SANITIZER="address" yarn build
yarn test

@raphdev raphdev force-pushed the raphdev/san-debug branch from 8f68c56 to 997b103 Compare March 3, 2023 16:05
@raphdev raphdev force-pushed the raphdev/san-debug branch from 997b103 to b11c797 Compare March 13, 2023 20:21
@raphdev raphdev force-pushed the raphdev/san-debug branch from b11c797 to 9a2fb50 Compare August 1, 2023 16:41
@raphdev raphdev changed the base branch from master to Agoric August 1, 2023 16:41
@raphdev raphdev force-pushed the raphdev/san-debug branch from 9a2fb50 to ef596c0 Compare January 2, 2024 21:20
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