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


Public Member Functions | |
| guest_ptr< void > | pDataIn () const |
| void | pDataIn (const guest_ptr< void > &pDataIn) |
| std::shared_ptr< CRYPTOAPI_BLOB > | DataIn () |
| guest_ptr< char[]> | pszDataDescr () const |
| void | pszDataDescr (const guest_ptr< char[]> &pszDataDescr) |
| guest_ptr< void > | pOptionalEntropy () const |
| void | pOptionalEntropy (const guest_ptr< void > &pOptionalEntropy) |
| std::shared_ptr< CRYPTOAPI_BLOB > | OptionalEntropy () |
| guest_ptr< void > | pvReserved () const |
| void | pvReserved (const guest_ptr< void > &pvReserved) |
| guest_ptr< void > | pPromptStruct () const |
| void | pPromptStruct (const guest_ptr< void > &pPromptStruct) |
| std::shared_ptr< CRYPTPROTECT_PROMPTSTRUCT > | PromptStruct () |
| uint32_t | dwFlags () const |
| void | dwFlags (uint32_t dwFlags) |
| guest_ptr< void > | pDataOut () const |
| void | pDataOut (const guest_ptr< void > &pDataOut) |
| std::shared_ptr< CRYPTOAPI_BLOB > | DataOut () |
| 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. | |
| bool | result () const |
| void | result (bool result) |
| CryptProtectData (Event &event) | |
| ~CryptProtectData () 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 bool | inject (const guest_ptr< void > &pDataIn, const guest_ptr< char[]> &pszDataDescr, const guest_ptr< void > &pOptionalEntropy, const guest_ptr< void > &pvReserved, const guest_ptr< void > &pPromptStruct, uint32_t dwFlags, const guest_ptr< void > &pDataOut) |
Static Public Attributes | |
| static constexpr int | ArgumentCount = 7 |
| static const std::string | LibraryName = "crypt32" |
| static const std::string | FunctionName = "CryptProtectData" |
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 crypt32!CryptProtectData.
| introvirt::windows::crypt32::CryptProtectData::CryptProtectData | ( | Event & | event | ) |
|
override |
| std::shared_ptr< CRYPTOAPI_BLOB > introvirt::windows::crypt32::CryptProtectData::DataIn | ( | ) |
| std::shared_ptr< CRYPTOAPI_BLOB > introvirt::windows::crypt32::CryptProtectData::DataOut | ( | ) |
| uint32_t introvirt::windows::crypt32::CryptProtectData::dwFlags | ( | ) | const |
| void introvirt::windows::crypt32::CryptProtectData::dwFlags | ( | uint32_t | dwFlags | ) |
|
overridevirtual |
|
static |
|
overridevirtual |
|
overridevirtual |
Get the name of the library this call is for.
Implements introvirt::FunctionCall.
| std::shared_ptr< CRYPTOAPI_BLOB > introvirt::windows::crypt32::CryptProtectData::OptionalEntropy | ( | ) |
| guest_ptr< void > introvirt::windows::crypt32::CryptProtectData::pDataIn | ( | ) | const |
| void introvirt::windows::crypt32::CryptProtectData::pDataIn | ( | const guest_ptr< void > & | pDataIn | ) |
| guest_ptr< void > introvirt::windows::crypt32::CryptProtectData::pDataOut | ( | ) | const |
| void introvirt::windows::crypt32::CryptProtectData::pDataOut | ( | const guest_ptr< void > & | pDataOut | ) |
| guest_ptr< void > introvirt::windows::crypt32::CryptProtectData::pOptionalEntropy | ( | ) | const |
| void introvirt::windows::crypt32::CryptProtectData::pOptionalEntropy | ( | const guest_ptr< void > & | pOptionalEntropy | ) |
| guest_ptr< void > introvirt::windows::crypt32::CryptProtectData::pPromptStruct | ( | ) | const |
| void introvirt::windows::crypt32::CryptProtectData::pPromptStruct | ( | const guest_ptr< void > & | pPromptStruct | ) |
| std::shared_ptr< CRYPTPROTECT_PROMPTSTRUCT > introvirt::windows::crypt32::CryptProtectData::PromptStruct | ( | ) |
| guest_ptr< char[]> introvirt::windows::crypt32::CryptProtectData::pszDataDescr | ( | ) | const |
| void introvirt::windows::crypt32::CryptProtectData::pszDataDescr | ( | const guest_ptr< char[]> & | pszDataDescr | ) |
| guest_ptr< void > introvirt::windows::crypt32::CryptProtectData::pvReserved | ( | ) | const |
| void introvirt::windows::crypt32::CryptProtectData::pvReserved | ( | const guest_ptr< void > & | pvReserved | ) |
| bool introvirt::windows::crypt32::CryptProtectData::result | ( | ) | const |
| void introvirt::windows::crypt32::CryptProtectData::result | ( | bool | result | ) |
|
overridevirtual |
Write out a textual representation of the function for display.
| os |
Implements introvirt::FunctionCall.
|
staticconstexpr |
|
inlinestatic |
|
inlinestatic |