31 lines · c
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-exception6//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_H15#define MSAN_DL_H16 17#include "msan.h"18#include "sanitizer_common/sanitizer_common.h"19 20namespace __msan {21 22void UnpoisonDllAddrInfo(void *info);23 24#if SANITIZER_GLIBC25void UnpoisonDllAddr1ExtraInfo(void **extra_info, int flags);26#endif27 28} // namespace __msan29 30#endif // MSAN_DL_H31