aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libsan/inject.c
blob: 7790db5f36ad6f2d5253e1b02a8dfda4b741839c (plain) (blame)
1
2
3
4
5
6
7
8
#include <unistd.h>

extern const char* ya_get_symbolizer_gen();

const char* ya_get_symbolizer() {
    const char* path = ya_get_symbolizer_gen();
    return access(path, X_OK) ? NULL : path;
}