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