1 //===-- scudo_interface_internal.h ------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 /// Private Scudo interface header.
11 //===----------------------------------------------------------------------===//
13 #ifndef SCUDO_INTERFACE_INTERNAL_H_
14 #define SCUDO_INTERFACE_INTERNAL_H_
16 #include "sanitizer_common/sanitizer_internal_defs.h"
18 using __sanitizer::uptr;
19 using __sanitizer::s32;
22 SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
23 const char* __scudo_default_options();
25 SANITIZER_INTERFACE_ATTRIBUTE
26 void __scudo_set_rss_limit(uptr LimitMb, s32 HardLimit);
28 SANITIZER_INTERFACE_ATTRIBUTE
29 void __scudo_print_stats();
32 #endif // SCUDO_INTERFACE_INTERNAL_H_