#include <WSABUF.hh>
|
| virtual uint32_t | len () const =0 |
| | Get the length of the buffer, in bytes.
|
| |
| virtual void | len (uint32_t len)=0 |
| | Set the length of the buffer, in bytes.
|
| |
| virtual guest_ptr< const uint8_t[]> | buf () const =0 |
| | Get the buffer.
|
| |
| virtual guest_ptr< uint8_t[]> | buf ()=0 |
| |
| virtual void | buf (const guest_ptr< uint8_t[]> &buf)=0 |
| | Set the buffer.
|
| |
|
| static std::shared_ptr< WSABUF > | make_shared (const guest_ptr< void > &ptr, bool x64) |
| | Parse a WSABUF instance from the guest.
|
| |
| static size_t | size (bool x64) |
| | Get the size of the structure.
|
| |
◆ buf() [1/3]
| virtual guest_ptr< const uint8_t[]> introvirt::windows::ws2_32::WSABUF::buf |
( |
| ) |
const |
|
pure virtual |
◆ buf() [2/3]
| virtual guest_ptr< uint8_t[]> introvirt::windows::ws2_32::WSABUF::buf |
( |
| ) |
|
|
pure virtual |
◆ buf() [3/3]
| virtual void introvirt::windows::ws2_32::WSABUF::buf |
( |
const guest_ptr< uint8_t[]> & |
buf | ) |
|
|
pure virtual |
◆ len() [1/2]
| virtual uint32_t introvirt::windows::ws2_32::WSABUF::len |
( |
| ) |
const |
|
pure virtual |
Get the length of the buffer, in bytes.
◆ len() [2/2]
| virtual void introvirt::windows::ws2_32::WSABUF::len |
( |
uint32_t |
len | ) |
|
|
pure virtual |
Set the length of the buffer, in bytes.
◆ make_shared()
| static std::shared_ptr< WSABUF > introvirt::windows::ws2_32::WSABUF::make_shared |
( |
const guest_ptr< void > & |
ptr, |
|
|
bool |
x64 |
|
) |
| |
|
static |
Parse a WSABUF instance from the guest.
- Parameters
-
| ptr | The address of the instance |
| x64 | If the structure is 64-bit or not |
- Returns
- std::shared_ptr<WSABUF>
◆ size()
| static size_t introvirt::windows::ws2_32::WSABUF::size |
( |
bool |
x64 | ) |
|
|
static |
Get the size of the structure.
The documentation for this class was generated from the following file:
- /home/runner/work/IntroVirt/IntroVirt/include/introvirt/windows/libraries/ws2_32/types/WSABUF.hh