1 //===-- scudo_interface_internal.h ------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 /// Private Scudo interface header.
12 //===----------------------------------------------------------------------===//
14 #ifndef SCUDO_INTERFACE_INTERNAL_H_
15 #define SCUDO_INTERFACE_INTERNAL_H_
17 #include "sanitizer_common/sanitizer_internal_defs.h"
19 using __sanitizer::uptr;
20 using __sanitizer::s32;
23 SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
24 const char* __scudo_default_options();
26 SANITIZER_INTERFACE_ATTRIBUTE
27 void __scudo_set_rss_limit(uptr LimitMb, s32 HardLimit);
29 SANITIZER_INTERFACE_ATTRIBUTE
30 void __scudo_print_stats();
33 #endif // SCUDO_INTERFACE_INTERNAL_H_