libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::windows::nt::NtCompareTokens Class Referenceabstract

Handler class for the NtCompareTokens system call. More...

#include <NtCompareTokens.hh>

Inheritance diagram for introvirt::windows::nt::NtCompareTokens:
Collaboration diagram for introvirt::windows::nt::NtCompareTokens:

Public Member Functions

virtual uint64_t FirstTokenHandle () const =0
 Getter for FirstTokenHandle.
 
virtual uint64_t SecondTokenHandle () const =0
 Getter for SecondTokenHandle.
 
virtual guest_ptr< void > EqualPtr () const =0
 Getter for EqualPtr.
 
virtual void FirstTokenHandle (uint64_t FirstTokenHandle)=0
 Setter for FirstTokenHandle.
 
virtual void SecondTokenHandle (uint64_t SecondTokenHandle)=0
 Setter for SecondTokenHandle.
 
virtual void EqualPtr (const guest_ptr< void > &pEqual)=0
 Setter for EqualPtr.
 
virtual bool Equal () const =0
 
virtual void Equal (bool Equal)=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 FirstTokenHandle, uint64_t SecondTokenHandle, bool &Equal)
 

Detailed Description

Handler class for the NtCompareTokens system call.

Member Function Documentation

◆ Equal() [1/2]

virtual bool introvirt::windows::nt::NtCompareTokens::Equal ( ) const
pure virtual

◆ Equal() [2/2]

virtual void introvirt::windows::nt::NtCompareTokens::Equal ( bool  Equal)
pure virtual

◆ EqualPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtCompareTokens::EqualPtr ( ) const
pure virtual

Getter for EqualPtr.

Returns
The address pointed to by the the EqualPtr parameter

◆ EqualPtr() [2/2]

virtual void introvirt::windows::nt::NtCompareTokens::EqualPtr ( const guest_ptr< void > &  pEqual)
pure virtual

Setter for EqualPtr.

Parameters
pEqualThe address to set for the EqualPtr parameter

◆ FirstTokenHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtCompareTokens::FirstTokenHandle ( ) const
pure virtual

Getter for FirstTokenHandle.

Returns
The value of the FirstTokenHandle parameter

◆ FirstTokenHandle() [2/2]

virtual void introvirt::windows::nt::NtCompareTokens::FirstTokenHandle ( uint64_t  FirstTokenHandle)
pure virtual

Setter for FirstTokenHandle.

Parameters
FirstTokenHandleThe value to set for the FirstTokenHandle parameter

◆ inject()

static NTSTATUS introvirt::windows::nt::NtCompareTokens::inject ( uint64_t  FirstTokenHandle,
uint64_t  SecondTokenHandle,
bool &  Equal 
)
static

◆ SecondTokenHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtCompareTokens::SecondTokenHandle ( ) const
pure virtual

Getter for SecondTokenHandle.

Returns
The value of the SecondTokenHandle parameter

◆ SecondTokenHandle() [2/2]

virtual void introvirt::windows::nt::NtCompareTokens::SecondTokenHandle ( uint64_t  SecondTokenHandle)
pure virtual

Setter for SecondTokenHandle.

Parameters
SecondTokenHandleThe value to set for the SecondTokenHandle parameter

The documentation for this class was generated from the following file: