-
Notifications
You must be signed in to change notification settings - Fork 152
Enable sanitizers for macOS, Linux #1559
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
base: master
Are you sure you want to change the base?
Conversation
|
something I ran into 5 years ago that's still a big challenge: getting ASan to run on Android simulator/device is very very finicky. If you manage to figure it out, it would be a huge help! :D if that's what you get stuck on, then I'd say that getting v8 integration coverage on a non-Android platform could be a good fallback that would likely give the effectively the same feedback loop. |
|
@matthargett I think you are referring to ASAN images not available and missing .so :) |
…nto ASAN # Conflicts: # Polyfills/Canvas/Source/Gradient.cpp
| void Clear() { stackElements.clear(); } | ||
| void Clear() | ||
| { | ||
| stackElements = std::vector<StackElement>(); // deallocate memory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a placement new of the existing stack allocation for the object? does it actually safely clear the heap-allocated internal members without introducing a leak?
Enable Address sanitizer as pointed by #1557