klee
FileHandling.h
Go to the documentation of this file.
1//===-- FileHandling.h ------------------------------------------*- C++ -*-===//
2//
3// The KLEE Symbolic Virtual Machine
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef KLEE_FILEHANDLING_H
11#define KLEE_FILEHANDLING_H
12
13#include "llvm/Support/raw_ostream.h"
14#include <memory>
15#include <string>
16
17namespace klee {
18std::unique_ptr<llvm::raw_fd_ostream>
19klee_open_output_file(const std::string &path, std::string &error);
20
21#ifdef HAVE_ZLIB_H
22std::unique_ptr<llvm::raw_ostream>
23klee_open_compressed_output_file(const std::string &path, std::string &error);
24#endif
25} // namespace klee
26
27#endif /* KLEE_FILEHANDLING_H */
Definition: main.cpp:291
std::unique_ptr< llvm::raw_fd_ostream > klee_open_output_file(const std::string &path, std::string &error)