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


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 uint64_t | ZeroBits () const =0 |
| Getter for ZeroBits. | |
| virtual uint64_t | CommitSize () const =0 |
| Getter for CommitSize. | |
| virtual guest_ptr< void > | SectionOffsetPtr () const =0 |
| Getter for SectionOffsetPtr. | |
| virtual guest_ptr< void > | ViewSizePtr () const =0 |
| Getter for ViewSizePtr. | |
| virtual SECTION_INHERIT | InheritDisposition () const =0 |
| Getter for InheritDisposition. | |
| virtual MEMORY_ALLOCATION_TYPE | AllocationType () const =0 |
| Getter for AllocationType. | |
| virtual PAGE_PROTECTION | Win32Protect () const =0 |
| Getter for Win32Protect. | |
| 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 | ZeroBits (uint64_t ZeroBits)=0 |
| Setter for ZeroBits. | |
| virtual void | CommitSize (uint64_t CommitSize)=0 |
| Setter for CommitSize. | |
| 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 | InheritDisposition (SECTION_INHERIT InheritDisposition)=0 |
| Setter for InheritDisposition. | |
| virtual void | AllocationType (MEMORY_ALLOCATION_TYPE AllocationType)=0 |
| Setter for AllocationType. | |
| virtual void | Win32Protect (PAGE_PROTECTION Win32Protect)=0 |
| Setter for Win32Protect. | |
| 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 ZeroBits, uint64_t CommitSize, uint64_t *SectionOffset, size_t &ViewSize, SECTION_INHERIT InheritDisposition, MEMORY_ALLOCATION_TYPE AllocationType, PAGE_PROTECTION Win32Protect) |
Handler class for the NtMapViewOfSection system call.
|
pure virtual |
Getter for AllocationType.
|
pure virtual |
Setter for AllocationType.
| AllocationType | The value to set for the AllocationType parameter |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for BaseAddressPtr.
|
pure virtual |
Setter for BaseAddressPtr.
| pBaseAddress | The address to set for the BaseAddressPtr parameter |
|
pure virtual |
Getter for CommitSize.
|
pure virtual |
Setter for CommitSize.
| CommitSize | The value to set for the CommitSize parameter |
|
pure virtual |
Getter for InheritDisposition.
|
pure virtual |
Setter for InheritDisposition.
| InheritDisposition | The value to set for the InheritDisposition parameter |
|
static |
|
pure virtual |
Getter for ProcessHandle.
|
pure virtual |
Setter for ProcessHandle.
| ProcessHandle | The value to set for the ProcessHandle parameter |
|
pure virtual |
Getter for SectionHandle.
|
pure virtual |
Setter for SectionHandle.
| SectionHandle | The value to set for the SectionHandle parameter |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for SectionOffsetPtr.
|
pure virtual |
Setter for SectionOffsetPtr.
| pSectionOffset | The address to set for the SectionOffsetPtr parameter |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Getter for ViewSizePtr.
|
pure virtual |
Setter for ViewSizePtr.
| pViewSize | The address to set for the ViewSizePtr parameter |
|
pure virtual |
Getter for Win32Protect.
|
pure virtual |
Setter for Win32Protect.
| Win32Protect | The value to set for the Win32Protect parameter |
|
pure virtual |
Getter for ZeroBits.
|
pure virtual |
Setter for ZeroBits.
| ZeroBits | The value to set for the ZeroBits parameter |