llvm/compiler-rt/lib/msan/msan_dl.cpp

//===-- msan_dl.cpp -------------------------------------------------------===//
//
// 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.
//===----------------------------------------------------------------------===//

#include "msan_dl.h"

#include <dlfcn.h>
#include <elf.h>
#include <link.h>

#include "msan_poisoning.h"

namespace __msan {

void UnpoisonDllAddrInfo(void *info) {}

#if SANITIZER_GLIBC
void UnpoisonDllAddr1ExtraInfo(void **extra_info, int flags) {}
#endif

}  // namespace __msan