52 std::shared_ptr<SOCKADDR>
from();
59 void write(std::ostream& os = std::cout)
const override;
60 Json::Value
json()
const override;
Interface class for hypervisor events.
Definition Event.hh:43
Definition guest_ptr.hh:88
Helper class to transparently convert between guest size and a value.
Definition guest_size_t_ptr.hh:498
Definition WindowsFunctionCall.hh:31
Handler for ws2_32!recvfrom.
Definition recvfrom.hh:36
Json::Value json() const override
Get the function as Json.
const std::string & library_name() const override
Get the name of the library this call is for.
static const std::string FunctionName
Definition recvfrom.hh:74
const std::string & function_name() const override
Get the function name.
void pfrom(const guest_ptr< void > &pfrom)
void pbuf(const guest_ptr< uint8_t[]> &pbuf)
void flags(int32_t flags)
static const std::string LibraryName
Definition recvfrom.hh:73
void pfromlen(const guest_ptr< int32_t > &pfromlen)
static constexpr int ArgumentCount
Definition recvfrom.hh:72
guest_ptr< int32_t > pfromlen() const
void write(std::ostream &os=std::cout) const override
Write out a textual representation of the function for display.
void result(int32_t result)
guest_ptr< uint8_t[]> pbuf() const
std::shared_ptr< SOCKADDR > from()
static int32_t inject(SOCKET s, const guest_ptr< uint8_t[]> &pbuf, int32_t len, int32_t flags, const guest_ptr< void > &pfrom, const guest_ptr< int32_t > &pfromlen)
guest_ptr< void > pfrom() const
Type-safe guest virtual address pointer and guest_ptr template.
Core IntroVirt classes.
Definition Cr0.hh:20