Repository navigation
Fix ASan runtime ordering in test harness - #1785
Open
chipitsine wants to merge 1 commit into
Open
chipitsine wants to merge 1 commit into
chipitsine wants to merge 1 commit into
Conversation
michaelrsweet
requested changes
Oct 24, 2026
| fi | ||
|
|
||
| LD_PRELOAD="$root/cups/libcups.so.2:$root/cups/libcupsimage.so.2" | ||
| if ldd "$root/cups/libcups.so.2" | $GREP -q asan; then |
Member
There was a problem hiding this comment.
Not portable... You need to confirm the existence of the ldd program first.
Also, you need LD_PRELOAD in order to override a system-installed shared library.
Finally, if you want this to work within ASAN you need to set the ASAN_OPTIONS environment variable to "leak_check_at_exit=false" and include a PassEnv directive for it as well...
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.