49d48
< struct LiveProcessParams;
52a52
> class ObjectFile;
173,175d172
< // provide program name for debug messages
< virtual const char *progName() const { return "<unknown>"; }
<
205d201
< virtual void syscall(int64_t callnum, ThreadContext *tc) = 0;
230a227,235
> protected:
> ObjectFile *objFile;
> std::vector<std::string> argv;
> std::vector<std::string> envp;
> std::string cwd;
> std::string executable;
>
> Process(ProcessParams *params, ObjectFile *obj_file);
>
242,258d246
< };
<
< //
< // "Live" process with system calls redirected to host system
< //
< class ObjectFile;
< class LiveProcess : public Process
< {
< protected:
< ObjectFile *objFile;
< std::vector<std::string> argv;
< std::vector<std::string> envp;
< std::string cwd;
< std::string executable;
<
< LiveProcess(LiveProcessParams *params, ObjectFile *objFile);
<
262,263d249
< public:
<
302c288
< virtual const char *progName() const { return executable.c_str(); }
---
> const char *progName() const { return executable.c_str(); }
320c306
< virtual void syscall(int64_t callnum, ThreadContext *tc);
---
> void syscall(int64_t callnum, ThreadContext *tc);
348,352d333
<
< // this function is used to create the LiveProcess object, since
< // we can't tell which subclass of LiveProcess to use until we
< // open and look at the object file.
< static LiveProcess *create(LiveProcessParams *params);
355d335
<