You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5846daa
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.
Perhaps it would make sense to have a
debug
ortest
target in the Makefile that is built with ASan?5846daa
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.
Good point. Currently, the whole Makefile is meant for debugging, perhaps we could include this suggestion in #35.
5846daa
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.
Adding ASan seems to have broken the Python bindings:
ImportError: /home/anmol/Trunk/cpslib/libpslib.so: undefined symbol: __asan_option_detect_stack_use_after_return
5846daa
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.
Thanks, @unmole, I should have verified
make test
before adding this change. Will need to revert it as we are using Valgrind anyway.Also, https://github.com/google/sanitizers/wiki/AddressSanitizer#faq suggests using ASAN is incompatible with the flags like
-Wl
that we use for our shared library.