|
libintrovirt v0.57.4
IntroVirt introspection library
|
Handler for ws2_32!WSARecvFrom. More...
#include <WSARecvFrom.hh>


Public Member Functions | |
| SOCKET | s () const |
| void | s (SOCKET s) |
| guest_ptr< void > | pBuffers () const |
| void | pBuffers (const guest_ptr< void > &pBuffers) |
| std::vector< std::shared_ptr< WSABUF > > | Buffers () |
| uint32_t | dwBufferCount () const |
| void | dwBufferCount (uint32_t dwBufferCount) |
| guest_ptr< uint32_t > | pNumberOfBytesRecvd () const |
| void | pNumberOfBytesRecvd (const guest_ptr< uint32_t > &pNumberOfBytesRecvd) |
| guest_ptr< uint32_t > | pFlags () const |
| void | pFlags (const guest_ptr< uint32_t > &pFlags) |
| guest_ptr< void > | pFrom () const |
| void | pFrom (const guest_ptr< void > &pFrom) |
| std::shared_ptr< SOCKADDR > | From () |
| guest_ptr< int32_t > | pFromlen () const |
| void | pFromlen (const guest_ptr< int32_t > &pFromlen) |
| guest_ptr< void > | pOverlapped () const |
| void | pOverlapped (const guest_ptr< void > &pOverlapped) |
| std::shared_ptr< WSAOVERLAPPED > | Overlapped () |
| guest_ptr< void > | pCompletionRoutine () const |
| void | pCompletionRoutine (const guest_ptr< void > &pCompletionRoutine) |
| const std::string & | function_name () const override |
| Get the function name. | |
| const std::string & | library_name () const override |
| Get the name of the library this call is for. | |
| void | write (std::ostream &os=std::cout) const override |
| Write out a textual representation of the function for display. | |
| Json::Value | json () const override |
| Get the function as Json. | |
| int32_t | result () const |
| void | result (int32_t result) |
| WSARecvFrom (Event &event) | |
| ~WSARecvFrom () override | |
Public Member Functions inherited from introvirt::windows::WindowsFunctionCall | |
| guest_ptr< void > | return_address () const override |
| Get the return address for this function call. | |
| void | return_address (const guest_ptr< void > &value) override |
| Set the return address for this function call. | |
| bool | is_return_event (Event &event) const override |
| Check if the given event is a return event for this function call. | |
| void | handle_return (Event &event) override |
| Handle the return event. | |
| bool | returned () const override |
| Check if the call has returned. | |
| bool | x64 () const |
| Check if the call is from x64 mode.hh> | |
| virtual | ~WindowsFunctionCall () |
Public Member Functions inherited from introvirt::FunctionCall | |
| bool | hook_return () const |
| Check if the user is requesting that the return be intercepted. | |
| void | hook_return (bool val) |
| Configure if the return should be intercepted. | |
| void | data (const std::string &key, const std::shared_ptr< void > &value) |
| Store arbitrary data with the FunctionCall. | |
| void | data (const std::string &key, std::shared_ptr< void > &&value) |
| Store arbitrary data with the FunctionCall. | |
| std::shared_ptr< void > | data (const std::string &key) |
| Retrieve arbitrary data stored with the FunctionCall. | |
| std::shared_ptr< const void > | data (const std::string &key) const |
| Retrieve arbitrary data stored with the FunctionCall. | |
| virtual | ~FunctionCall ()=default |
Static Public Member Functions | |
| static int32_t | inject (SOCKET s, const guest_ptr< void > &pBuffers, uint32_t dwBufferCount, const guest_ptr< uint32_t > &pNumberOfBytesRecvd, const guest_ptr< uint32_t > &pFlags, const guest_ptr< void > &pFrom, const guest_ptr< int32_t > &pFromlen, const guest_ptr< void > &pOverlapped, const guest_ptr< void > &pCompletionRoutine) |
Static Public Attributes | |
| static constexpr int | ArgumentCount = 9 |
| static const std::string | LibraryName = "ws2_32" |
| static const std::string | FunctionName = "WSARecvFrom" |
Additional Inherited Members | |
Protected Member Functions inherited from introvirt::windows::WindowsFunctionCall | |
| uint64_t | raw_return_value () const |
| void | raw_return_value (uint64_t value) |
| uint64_t | get_argument (unsigned int index) const |
| void | set_argument (unsigned int index, uint64_t value) |
| guest_ptr< void > | get_address_argument (unsigned int index) const |
| void | set_address_argument (unsigned int index, const guest_ptr< void > &address) |
| Vcpu & | vcpu () |
| const Vcpu & | vcpu () const |
| WindowsFunctionCall (Event &event, unsigned int argument_count, WindowsCallType type=WindowsCallType::AUTO) | |
Handler for ws2_32!WSARecvFrom.
| introvirt::windows::ws2_32::WSARecvFrom::WSARecvFrom | ( | Event & | event | ) |
|
override |
| std::vector< std::shared_ptr< WSABUF > > introvirt::windows::ws2_32::WSARecvFrom::Buffers | ( | ) |
| uint32_t introvirt::windows::ws2_32::WSARecvFrom::dwBufferCount | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::dwBufferCount | ( | uint32_t | dwBufferCount | ) |
| std::shared_ptr< SOCKADDR > introvirt::windows::ws2_32::WSARecvFrom::From | ( | ) |
|
overridevirtual |
|
static |
|
overridevirtual |
|
overridevirtual |
Get the name of the library this call is for.
Implements introvirt::FunctionCall.
| std::shared_ptr< WSAOVERLAPPED > introvirt::windows::ws2_32::WSARecvFrom::Overlapped | ( | ) |
| guest_ptr< void > introvirt::windows::ws2_32::WSARecvFrom::pBuffers | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::pBuffers | ( | const guest_ptr< void > & | pBuffers | ) |
| guest_ptr< void > introvirt::windows::ws2_32::WSARecvFrom::pCompletionRoutine | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::pCompletionRoutine | ( | const guest_ptr< void > & | pCompletionRoutine | ) |
| guest_ptr< uint32_t > introvirt::windows::ws2_32::WSARecvFrom::pFlags | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::pFlags | ( | const guest_ptr< uint32_t > & | pFlags | ) |
| guest_ptr< void > introvirt::windows::ws2_32::WSARecvFrom::pFrom | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::pFrom | ( | const guest_ptr< void > & | pFrom | ) |
| guest_ptr< int32_t > introvirt::windows::ws2_32::WSARecvFrom::pFromlen | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::pFromlen | ( | const guest_ptr< int32_t > & | pFromlen | ) |
| guest_ptr< uint32_t > introvirt::windows::ws2_32::WSARecvFrom::pNumberOfBytesRecvd | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::pNumberOfBytesRecvd | ( | const guest_ptr< uint32_t > & | pNumberOfBytesRecvd | ) |
| guest_ptr< void > introvirt::windows::ws2_32::WSARecvFrom::pOverlapped | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::pOverlapped | ( | const guest_ptr< void > & | pOverlapped | ) |
| int32_t introvirt::windows::ws2_32::WSARecvFrom::result | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::result | ( | int32_t | result | ) |
| SOCKET introvirt::windows::ws2_32::WSARecvFrom::s | ( | ) | const |
| void introvirt::windows::ws2_32::WSARecvFrom::s | ( | SOCKET | s | ) |
|
overridevirtual |
Write out a textual representation of the function for display.
| os |
Implements introvirt::FunctionCall.
|
staticconstexpr |
|
inlinestatic |
|
inlinestatic |