|
libintrovirt v0.57.4
IntroVirt introspection library
|
Handler class for the NtDuplicateToken system call. More...
#include <NtDuplicateToken.hh>


Public Member Functions | |
| virtual uint64_t | ExistingToken () const =0 |
| Getter for ExistingToken. | |
| virtual TOKEN_ACCESS_MASK | DesiredAccess () const =0 |
| Getter for DesiredAccess. | |
| virtual guest_ptr< void > | ObjectAttributesPtr () const =0 |
| Getter for ObjectAttributesPtr. | |
| virtual bool | EffectiveOnly () const =0 |
| Getter for EffectiveOnly. | |
| virtual TOKEN_TYPE | TokenType () const =0 |
| Getter for TokenType. | |
| virtual guest_ptr< void > | NewTokenHandlePtr () const =0 |
| Getter for NewTokenHandlePtr. | |
| virtual void | ExistingToken (uint64_t ExistingToken)=0 |
| Setter for ExistingToken. | |
| virtual void | DesiredAccess (TOKEN_ACCESS_MASK DesiredAccess)=0 |
| Setter for DesiredAccess. | |
| virtual void | ObjectAttributesPtr (const guest_ptr< void > &pObjectAttributes)=0 |
| Setter for ObjectAttributesPtr. | |
| virtual void | EffectiveOnly (bool EffectiveOnly)=0 |
| Setter for EffectiveOnly. | |
| virtual void | TokenType (TOKEN_TYPE TokenType)=0 |
| Setter for TokenType. | |
| virtual void | NewTokenHandlePtr (const guest_ptr< void > &pNewTokenHandle)=0 |
| Setter for NewTokenHandlePtr. | |
| virtual const OBJECT_ATTRIBUTES * | ObjectAttributes () const =0 |
| virtual OBJECT_ATTRIBUTES * | ObjectAttributes ()=0 |
| virtual uint64_t | NewTokenHandle () const =0 |
| virtual void | NewTokenHandle (uint64_t NewTokenHandle)=0 |
Public Member Functions inherited from introvirt::windows::nt::NtSystemCall | |
| virtual NTSTATUS | result () const =0 |
| Get the result code. | |
| virtual void | result (NTSTATUS_CODE code)=0 |
| Set the result code. | |
Public Member Functions inherited from introvirt::windows::WindowsSystemCall | |
| virtual SystemCallIndex | index () const =0 |
| Get the system call number. | |
Public Member Functions inherited from introvirt::SystemCall | |
| virtual const std::string & | name () const =0 |
| Get the name of the system call. | |
| virtual void | write (std::ostream &os=std::cout) const =0 |
| Write a human-readable description of this system call. | |
| virtual Json::Value | json () const =0 |
| virtual bool | will_return () const =0 |
| virtual void | data (const std::string &key, const std::shared_ptr< void > &value)=0 |
| Store arbitrary data with the SystemCall. | |
| virtual void | data (const std::string &key, std::shared_ptr< void > &&value)=0 |
| Store arbitrary data with the SystemCall. | |
| virtual std::shared_ptr< void > | data (const std::string &key)=0 |
| Retrieve arbitrary data stored with the SystemCall. | |
| virtual std::shared_ptr< const void > | data (const std::string &key) const =0 |
| Retrieve arbitrary data stored with the SystemCall. | |
| virtual bool | supported () const =0 |
| Check if this system call is supported by a more specific handler. | |
| virtual void | handle_return_event (Event &event)=0 |
| Handle a system call return event. | |
| virtual | ~SystemCall ()=default |
| Destroy the instance. | |
Static Public Member Functions | |
| static NTSTATUS | inject (uint64_t ExistingToken, TOKEN_ACCESS_MASK DesiredAccess, const guest_ptr< void > &pObjectAttributes, bool EffectiveOnly, TOKEN_TYPE TokenType, uint64_t &NewTokenHandle) |
Handler class for the NtDuplicateToken system call.
|
pure virtual |
Getter for DesiredAccess.
|
pure virtual |
Setter for DesiredAccess.
| DesiredAccess | The value to set for the DesiredAccess parameter |
|
pure virtual |
Getter for EffectiveOnly.
|
pure virtual |
Setter for EffectiveOnly.
| EffectiveOnly | The value to set for the EffectiveOnly parameter |
|
pure virtual |
Getter for ExistingToken.
|
pure virtual |
Setter for ExistingToken.
| ExistingToken | The value to set for the ExistingToken parameter |
|
static |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for NewTokenHandlePtr.
|
pure virtual |
Setter for NewTokenHandlePtr.
| pNewTokenHandle | The address to set for the NewTokenHandlePtr parameter |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for ObjectAttributesPtr.
|
pure virtual |
Setter for ObjectAttributesPtr.
| pObjectAttributes | The address to set for the ObjectAttributesPtr parameter |
|
pure virtual |
Getter for TokenType.
|
pure virtual |
Setter for TokenType.
| TokenType | The value to set for the TokenType parameter |