12#ifndef CPROVER_ANSI_C_FILE_CONVERTER_H
13#define CPROVER_ANSI_C_FILE_CONVERTER_H
27 const unsigned char ch =
static_cast<unsigned char>(
c);
47 const std::string &file_name)
56 while(std::getline(in, line))
58 if(!line.empty() && line.back() ==
'\r')
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
void file_converter_append(std::istream &in, std::ostream &out, bool line_marker, const std::string &file_name)
Append the contents of in to out as the body of a C character-array initialiser; the enclosing braces...
void file_converter_emit_bytes(std::ostream &out, const std::string &s)
Emit the bytes of s to out as comma-separated decimal byte values (not character literals).