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

Any way to make ASAN work on macOS? #3

Closed
Kixunil opened this issue May 29, 2017 · 3 comments
Closed

Any way to make ASAN work on macOS? #3

Kixunil opened this issue May 29, 2017 · 3 comments

Comments

@Kixunil
Copy link

Kixunil commented May 29, 2017

According to https://clang.llvm.org/docs/AddressSanitizer.html ASAN works on macOS and I've successfully tried it with C. It doesn't work with Rust though. Is there any way to make it work? What'd need to be done to port it?

@japaric
Copy link
Owner

japaric commented May 29, 2017

Someone already did the work (rust-lang/rust#41352) but I don't know if the usage is the same. I have no macOS to test it.

@Kixunil
Copy link
Author

Kixunil commented May 29, 2017

Thank you! I guess I forgot to update the compiler. I'll look at it tomorrow (I have macOS only at work) and I'll let you know.

@Kixunil
Copy link
Author

Kixunil commented May 30, 2017

It works, thank you!

@Kixunil Kixunil closed this as completed May 30, 2017
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

No branches or pull requests

2 participants