LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
lib
Fuzzer
FuzzerUtilLinux.cpp
Go to the documentation of this file.
1
//===- FuzzerUtilLinux.cpp - Misc utils for Linux. ------------------------===//
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
// Misc utils for Linux.
10
//===----------------------------------------------------------------------===//
11
#include "
FuzzerDefs.h
"
12
#if LIBFUZZER_LINUX
13
14
#include <stdlib.h>
15
16
namespace
fuzzer {
17
18
int
ExecuteCommand
(
const
std::string &Command) {
19
return
system(Command.c_str());
20
}
21
22
}
// namespace fuzzer
23
24
#endif // LIBFUZZER_LINUX
fuzzer::ExecuteCommand
int ExecuteCommand(const std::string &Command)
FuzzerDefs.h
Generated on Wed Mar 8 2017 17:08:49 for LLVM by
1.8.6