blob: e9ce50c2ac8a9d419106d510948c5a6fbec1d636 [file] [log] [blame]
morehouse400262a2017-12-08 22:54:44 +00001//===- FuzzerShmemPosix.cpp - Posix shared memory ---------------*- 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// SharedMemoryRegion. For Fuchsia, this is just stubs as equivalence servers
10// are not currently supported.
11//===----------------------------------------------------------------------===//
12#include "FuzzerDefs.h"
13
14#if LIBFUZZER_FUCHSIA
15
16#include "FuzzerShmem.h"
17
18namespace fuzzer {
19
20bool SharedMemoryRegion::Create(const char *Name) {
21 return false;
22}
23
24bool SharedMemoryRegion::Open(const char *Name) {
25 return false;
26}
27
28bool SharedMemoryRegion::Destroy(const char *Name) {
29 return false;
30}
31
32void SharedMemoryRegion::Post(int Idx) {}
33
34void SharedMemoryRegion::Wait(int Idx) {}
35
36} // namespace fuzzer
37
38#endif // LIBFUZZER_FUCHSIA