blob: e2c63db23546430c73eb7f4f3298047cbefdcd0e [file] [log] [blame]
Kostya Kortchinskyf22f5fe2017-12-13 20:41:35 +00001//===-- scudo_interface_internal.h ------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9///
10/// Private Scudo interface header.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef SCUDO_INTERFACE_INTERNAL_H_
15#define SCUDO_INTERFACE_INTERNAL_H_
16
Kostya Kortchinsky541c5a02018-01-04 17:05:04 +000017#include "sanitizer_common/sanitizer_internal_defs.h"
18
19using __sanitizer::uptr;
20using __sanitizer::s32;
21
Kostya Kortchinskyf22f5fe2017-12-13 20:41:35 +000022extern "C" {
Kostya Kortchinsky4223af42018-01-30 17:59:49 +000023SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
24const char* __scudo_default_options();
25
Kostya Kortchinskyf22f5fe2017-12-13 20:41:35 +000026SANITIZER_INTERFACE_ATTRIBUTE
Kostya Kortchinsky541c5a02018-01-04 17:05:04 +000027void __scudo_set_rss_limit(uptr LimitMb, s32 HardLimit);
Kostya Kortchinskyf22f5fe2017-12-13 20:41:35 +000028} // extern "C"
29
30#endif // SCUDO_INTERFACE_INTERNAL_H_