1//===-- msan_dl.h ---------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file is a part of MemorySanitizer.
10//
11// Helper functions for unpoisoning results of dladdr and dladdr1.
12//===----------------------------------------------------------------------===//
13
14#ifndef MSAN_DL_H
15#define MSAN_DL_H
16
17#include "msan.h"
18#include "sanitizer_common/sanitizer_common.h"
19
20namespace __msan {
21
22void UnpoisonDllAddrInfo(void *info);
23
24#if SANITIZER_GLIBC
25void UnpoisonDllAddr1ExtraInfo(void **extra_info, int flags);
26#endif
27
28} // namespace __msan
29
30#endif // MSAN_DL_H
31