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

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

#include <NtMapViewOfSectionEx.hh>

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

Public Member Functions

virtual uint64_t SectionHandle () const =0
 Getter for SectionHandle.
 
virtual uint64_t ProcessHandle () const =0
 Getter for ProcessHandle.
 
virtual guest_ptr< void > BaseAddressPtr () const =0
 Getter for BaseAddressPtr.
 
virtual guest_ptr< void > SectionOffsetPtr () const =0
 Getter for SectionOffsetPtr.
 
virtual guest_ptr< void > ViewSizePtr () const =0
 Getter for ViewSizePtr.
 
virtual MEMORY_ALLOCATION_TYPE AllocationType () const =0
 Getter for AllocationType.
 
virtual PAGE_PROTECTION Win32Protect () const =0
 Getter for Win32Protect.
 
virtual guest_ptr< void > ParametersPtr () const =0
 Getter for ParametersPtr.
 
virtual uint32_t ParameterCount () const =0
 Getter for ParameterCount.
 
virtual void SectionHandle (uint64_t SectionHandle)=0
 Setter for SectionHandle.
 
virtual void ProcessHandle (uint64_t ProcessHandle)=0
 Setter for ProcessHandle.
 
virtual void BaseAddressPtr (const guest_ptr< void > &pBaseAddress)=0
 Setter for BaseAddressPtr.
 
virtual void SectionOffsetPtr (const guest_ptr< void > &pSectionOffset)=0
 Setter for SectionOffsetPtr.
 
virtual void ViewSizePtr (const guest_ptr< void > &pViewSize)=0
 Setter for ViewSizePtr.
 
virtual void AllocationType (MEMORY_ALLOCATION_TYPE AllocationType)=0
 Setter for AllocationType.
 
virtual void Win32Protect (PAGE_PROTECTION Win32Protect)=0
 Setter for Win32Protect.
 
virtual void ParametersPtr (const guest_ptr< void > &pParameters)=0
 Setter for ParametersPtr.
 
virtual void ParameterCount (uint32_t ParameterCount)=0
 Setter for ParameterCount.
 
virtual size_t BaseAddress () const =0
 
virtual void BaseAddress (size_t BaseAddress)=0
 
virtual uint64_t SectionOffset () const =0
 
virtual void SectionOffset (uint64_t SectionOffset)=0
 
virtual size_t ViewSize () const =0
 
virtual void ViewSize (size_t ViewSize)=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 SectionHandle, uint64_t ProcessHandle, size_t *BaseAddress, uint64_t *SectionOffset, size_t &ViewSize, MEMORY_ALLOCATION_TYPE AllocationType, PAGE_PROTECTION Win32Protect, const guest_ptr< void > &pParameters, uint32_t ParameterCount)
 

Detailed Description

Handler class for the NtMapViewOfSectionEx system call.

Member Function Documentation

◆ AllocationType() [1/2]

virtual MEMORY_ALLOCATION_TYPE introvirt::windows::nt::NtMapViewOfSectionEx::AllocationType ( ) const
pure virtual

Getter for AllocationType.

Returns
The value of the AllocationType parameter

◆ AllocationType() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::AllocationType ( MEMORY_ALLOCATION_TYPE  AllocationType)
pure virtual

Setter for AllocationType.

Parameters
AllocationTypeThe value to set for the AllocationType parameter

◆ BaseAddress() [1/2]

virtual size_t introvirt::windows::nt::NtMapViewOfSectionEx::BaseAddress ( ) const
pure virtual

◆ BaseAddress() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::BaseAddress ( size_t  BaseAddress)
pure virtual

◆ BaseAddressPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtMapViewOfSectionEx::BaseAddressPtr ( ) const
pure virtual

Getter for BaseAddressPtr.

Returns
The address pointed to by the the BaseAddressPtr parameter

◆ BaseAddressPtr() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::BaseAddressPtr ( const guest_ptr< void > &  pBaseAddress)
pure virtual

Setter for BaseAddressPtr.

Parameters
pBaseAddressThe address to set for the BaseAddressPtr parameter

◆ inject()

static NTSTATUS introvirt::windows::nt::NtMapViewOfSectionEx::inject ( uint64_t  SectionHandle,
uint64_t  ProcessHandle,
size_t *  BaseAddress,
uint64_t *  SectionOffset,
size_t &  ViewSize,
MEMORY_ALLOCATION_TYPE  AllocationType,
PAGE_PROTECTION  Win32Protect,
const guest_ptr< void > &  pParameters,
uint32_t  ParameterCount 
)
static

◆ ParameterCount() [1/2]

virtual uint32_t introvirt::windows::nt::NtMapViewOfSectionEx::ParameterCount ( ) const
pure virtual

Getter for ParameterCount.

Returns
The value of the ParameterCount parameter

◆ ParameterCount() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::ParameterCount ( uint32_t  ParameterCount)
pure virtual

Setter for ParameterCount.

Parameters
ParameterCountThe value to set for the ParameterCount parameter

◆ ParametersPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtMapViewOfSectionEx::ParametersPtr ( ) const
pure virtual

Getter for ParametersPtr.

Returns
The address pointed to by the the ParametersPtr parameter

◆ ParametersPtr() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::ParametersPtr ( const guest_ptr< void > &  pParameters)
pure virtual

Setter for ParametersPtr.

Parameters
pParametersThe address to set for the ParametersPtr parameter

◆ ProcessHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtMapViewOfSectionEx::ProcessHandle ( ) const
pure virtual

Getter for ProcessHandle.

Returns
The value of the ProcessHandle parameter

◆ ProcessHandle() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::ProcessHandle ( uint64_t  ProcessHandle)
pure virtual

Setter for ProcessHandle.

Parameters
ProcessHandleThe value to set for the ProcessHandle parameter

◆ SectionHandle() [1/2]

virtual uint64_t introvirt::windows::nt::NtMapViewOfSectionEx::SectionHandle ( ) const
pure virtual

Getter for SectionHandle.

Returns
The value of the SectionHandle parameter

◆ SectionHandle() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::SectionHandle ( uint64_t  SectionHandle)
pure virtual

Setter for SectionHandle.

Parameters
SectionHandleThe value to set for the SectionHandle parameter

◆ SectionOffset() [1/2]

virtual uint64_t introvirt::windows::nt::NtMapViewOfSectionEx::SectionOffset ( ) const
pure virtual

◆ SectionOffset() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::SectionOffset ( uint64_t  SectionOffset)
pure virtual

◆ SectionOffsetPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtMapViewOfSectionEx::SectionOffsetPtr ( ) const
pure virtual

Getter for SectionOffsetPtr.

Returns
The address pointed to by the the SectionOffsetPtr parameter

◆ SectionOffsetPtr() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::SectionOffsetPtr ( const guest_ptr< void > &  pSectionOffset)
pure virtual

Setter for SectionOffsetPtr.

Parameters
pSectionOffsetThe address to set for the SectionOffsetPtr parameter

◆ ViewSize() [1/2]

virtual size_t introvirt::windows::nt::NtMapViewOfSectionEx::ViewSize ( ) const
pure virtual

◆ ViewSize() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::ViewSize ( size_t  ViewSize)
pure virtual

◆ ViewSizePtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtMapViewOfSectionEx::ViewSizePtr ( ) const
pure virtual

Getter for ViewSizePtr.

Returns
The address pointed to by the the ViewSizePtr parameter

◆ ViewSizePtr() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::ViewSizePtr ( const guest_ptr< void > &  pViewSize)
pure virtual

Setter for ViewSizePtr.

Parameters
pViewSizeThe address to set for the ViewSizePtr parameter

◆ Win32Protect() [1/2]

virtual PAGE_PROTECTION introvirt::windows::nt::NtMapViewOfSectionEx::Win32Protect ( ) const
pure virtual

Getter for Win32Protect.

Returns
The value of the Win32Protect parameter

◆ Win32Protect() [2/2]

virtual void introvirt::windows::nt::NtMapViewOfSectionEx::Win32Protect ( PAGE_PROTECTION  Win32Protect)
pure virtual

Setter for Win32Protect.

Parameters
Win32ProtectThe value to set for the Win32Protect parameter

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