summaryrefslogtreecommitdiff
path: root/lib/imsg-buffer.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-03-05 13:20:22 -0500
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-03-05 13:28:34 -0500
commita9d0a90fe8835c8a0c085d2e605bfd673fd6a2f3 (patch)
treef1eb19be4898dc7df0a710bf20a16fcfd5f0d88a /lib/imsg-buffer.c
parentc98f4d81aa5d4113ceea58ce6db4bebab5c99735 (diff)
tools: add LeakSanitizer suppressions list
Building FRR with AddressSanitizer is kind of annoying since libpython3.5 leaks memory, clippy links libpython3.5 and clippy runs as part of the build process. LeakSanitizer has a way to suppress leaks at runtime by setting the LSAN_OPTIONS environment variable to contain a file path to a suppression list: LSAN_OPTIONS=suppressions=path/to/suppr.txt This commit provides the file. Setting this environment variable to LSAN_OPTIONS=suppressions=../tools/lsan-suppressions.txt before building should allow a clean build with ASAN enabled. The relative path is there because LeakSanitizer looks at paths relative to the binary it is sanitizing; clippy is in lib/ so the path is set relative to lib/. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions