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


Public Member Functions | |
| virtual uint64_t | TokenHandle () const =0 |
| Getter for TokenHandle. | |
| virtual TOKEN_INFORMATION_CLASS | TokenInformationClass () const =0 |
| Getter for TokenInformationClass. | |
| virtual guest_ptr< void > | TokenInformationPtr () const =0 |
| Getter for TokenInformationPtr. | |
| virtual uint32_t | TokenInformationLength () const =0 |
| Getter for TokenInformationLength. | |
| virtual guest_ptr< void > | ResultLengthPtr () const =0 |
| Getter for ResultLengthPtr. | |
| virtual void | TokenHandle (uint64_t TokenHandle)=0 |
| Setter for TokenHandle. | |
| virtual void | TokenInformationClass (TOKEN_INFORMATION_CLASS TokenInformationClass)=0 |
| Setter for TokenInformationClass. | |
| virtual void | TokenInformationPtr (const guest_ptr< void > &pTokenInformation)=0 |
| Setter for TokenInformationPtr. | |
| virtual void | TokenInformationLength (uint32_t TokenInformationLength)=0 |
| Setter for TokenInformationLength. | |
| virtual void | ResultLengthPtr (const guest_ptr< void > &pResultLength)=0 |
| Setter for ResultLengthPtr. | |
| virtual const TOKEN_INFORMATION * | TokenInformation () const =0 |
| virtual TOKEN_INFORMATION * | TokenInformation ()=0 |
| virtual uint32_t | ResultLength () const =0 |
| virtual void | ResultLength (uint32_t ResultLength)=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 TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, const guest_ptr< void > &pTokenInformation, uint32_t TokenInformationLength, uint32_t &ResultLength) |
Handler class for the NtQueryInformationToken system call.
|
static |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for ResultLengthPtr.
|
pure virtual |
Setter for ResultLengthPtr.
| pResultLength | The address to set for the ResultLengthPtr parameter |
|
pure virtual |
Getter for TokenHandle.
|
pure virtual |
Setter for TokenHandle.
| TokenHandle | The value to set for the TokenHandle parameter |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for TokenInformationClass.
|
pure virtual |
Setter for TokenInformationClass.
| TokenInformationClass | The value to set for the TokenInformationClass parameter |
|
pure virtual |
Getter for TokenInformationLength.
|
pure virtual |
Setter for TokenInformationLength.
| TokenInformationLength | The value to set for the TokenInformationLength parameter |
|
pure virtual |
Getter for TokenInformationPtr.
|
pure virtual |
Setter for TokenInformationPtr.
| pTokenInformation | The address to set for the TokenInformationPtr parameter |