diff options
Diffstat (limited to 'plugins/Process.h')
-rw-r--r-- | plugins/Process.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Process.h b/plugins/Process.h index 5ca184bd7..8e1db93ab 100644 --- a/plugins/Process.h +++ b/plugins/Process.h @@ -21,6 +21,7 @@ using Host = HostLinux; /// Only defines stuff that can be used with both Linux and Windows processes. class Process : public Host { protected: + bool m_ok; std::string m_name; uint8_t m_pointerSize; @@ -28,6 +29,8 @@ public: using Host::module; using Host::peek; + inline bool isOk() const { return m_ok; } + template< typename T > inline bool peek(const procptr_t address, T &dst) const { return peek(address, &dst, sizeof(T)); } |