52 std::shared_ptr<SOCKADDR>
to();
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!sendto.
Definition sendto.hh:36
const std::string & library_name() const override
Get the name of the library this call is for.
const std::string & function_name() const override
Get the function name.
void write(std::ostream &os=std::cout) const override
Write out a textual representation of the function for display.
void flags(int32_t flags)
void result(int32_t result)
static constexpr int ArgumentCount
Definition sendto.hh:72
void pbuf(const guest_ptr< uint8_t[]> &pbuf)
static const std::string FunctionName
Definition sendto.hh:74
static int32_t inject(SOCKET s, const guest_ptr< uint8_t[]> &pbuf, int32_t len, int32_t flags, const guest_ptr< void > &pto, int32_t tolen)
Json::Value json() const override
Get the function as Json.
void pto(const guest_ptr< void > &pto)
guest_ptr< uint8_t[]> pbuf() const
static const std::string LibraryName
Definition sendto.hh:73
std::shared_ptr< SOCKADDR > to()
guest_ptr< void > pto() const
void tolen(int32_t tolen)
Type-safe guest virtual address pointer and guest_ptr template.
Core IntroVirt classes.
Definition Cr0.hh:20