1 //===- 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 18 namespace fuzzer { 19 Create(const char * Name)20bool SharedMemoryRegion::Create(const char *Name) { 21 return false; 22 } 23 Open(const char * Name)24bool SharedMemoryRegion::Open(const char *Name) { 25 return false; 26 } 27 Destroy(const char * Name)28bool SharedMemoryRegion::Destroy(const char *Name) { 29 return false; 30 } 31 Post(int Idx)32void SharedMemoryRegion::Post(int Idx) {} 33 Wait(int Idx)34void SharedMemoryRegion::Wait(int Idx) {} 35 36 } // namespace fuzzer 37 38 #endif // LIBFUZZER_FUCHSIA 39