summaryrefslogtreecommitdiff
path: root/lib/fuzzer/FuzzerShmemFuchsia.cpp
blob: e9ce50c2ac8a9d419106d510948c5a6fbec1d636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//===- FuzzerShmemPosix.cpp - Posix shared memory ---------------*- C++ -* ===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// SharedMemoryRegion.  For Fuchsia, this is just stubs as equivalence servers
// are not currently supported.
//===----------------------------------------------------------------------===//
#include "FuzzerDefs.h"

#if LIBFUZZER_FUCHSIA

#include "FuzzerShmem.h"

namespace fuzzer {

bool SharedMemoryRegion::Create(const char *Name) {
  return false;
}

bool SharedMemoryRegion::Open(const char *Name) {
  return false;
}

bool SharedMemoryRegion::Destroy(const char *Name) {
  return false;
}

void SharedMemoryRegion::Post(int Idx) {}

void SharedMemoryRegion::Wait(int Idx) {}

}  // namespace fuzzer

#endif  // LIBFUZZER_FUCHSIA