1#ifndef ROSE_BinaryAnalysis_Concolic_I386Linux_ExitStatusResult_H
2#define ROSE_BinaryAnalysis_Concolic_I386Linux_ExitStatusResult_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_CONCOLIC_TESTING
5#include <Rose/BinaryAnalysis/Concolic/BasicTypes.h>
7#include <Rose/BinaryAnalysis/Concolic/ConcreteResult.h>
9#include <boost/serialization/access.hpp>
10#include <boost/serialization/nvp.hpp>
15namespace BinaryAnalysis {
20class ExitStatusResult:
public Concolic::ConcreteResult {
21 using Super = Concolic::ConcreteResult;
25 using Ptr = ExitStatusResultPtr;
29 std::string exitKind_;
30 std::string capturedOut_;
31 std::string capturedErr_;
34 friend class boost::serialization::access;
38 s & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Super);
39 s & BOOST_SERIALIZATION_NVP(exitStatus_);
40 s & BOOST_SERIALIZATION_NVP(exitKind_);
41 s & BOOST_SERIALIZATION_NVP(capturedOut_);
42 s & BOOST_SERIALIZATION_NVP(capturedErr_);
46 ExitStatusResult(
double rank,
int exitStatus);
56 static Ptr instance(
double rank,
int exitStatus);
65 int exitStatus()
const;
72 std::string out()
const;
73 void out(
const std::string&);
75 std::string err()
const;
76 void err(
const std::string&);
82 std::string exitKind()
const;
Sawyer::SharedPointer< Node > Ptr
Reference counting pointer.
void serialize(std::ostream &output, Graph &graph)
Serialize a graph into a stream of bytes.