Handler for advapi32!CryptGenRandom.
More...
#include <CryptGenRandom.hh>
|
| HCRYPTPROV | hProv () const |
| |
| void | hProv (HCRYPTPROV hProv) |
| |
| uint32_t | dwLen () const |
| |
| void | dwLen (uint32_t dwLen) |
| |
| guest_ptr< uint8_t[]> | pbBuffer () const |
| |
| void | pbBuffer (const guest_ptr< uint8_t[]> &pbBuffer) |
| |
| 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) |
| |
| | CryptGenRandom (Event &event) |
| |
| | ~CryptGenRandom () override |
| |
| 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 () |
| |
| 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 |
| |
◆ CryptGenRandom()
| introvirt::windows::advapi32::CryptGenRandom::CryptGenRandom |
( |
Event & |
event | ) |
|
◆ ~CryptGenRandom()
| introvirt::windows::advapi32::CryptGenRandom::~CryptGenRandom |
( |
| ) |
|
|
override |
◆ dwLen() [1/2]
| uint32_t introvirt::windows::advapi32::CryptGenRandom::dwLen |
( |
| ) |
const |
◆ dwLen() [2/2]
| void introvirt::windows::advapi32::CryptGenRandom::dwLen |
( |
uint32_t |
dwLen | ) |
|
◆ function_name()
| const std::string & introvirt::windows::advapi32::CryptGenRandom::function_name |
( |
| ) |
const |
|
overridevirtual |
◆ hProv() [1/2]
| HCRYPTPROV introvirt::windows::advapi32::CryptGenRandom::hProv |
( |
| ) |
const |
◆ hProv() [2/2]
| void introvirt::windows::advapi32::CryptGenRandom::hProv |
( |
HCRYPTPROV |
hProv | ) |
|
◆ inject()
| static bool introvirt::windows::advapi32::CryptGenRandom::inject |
( |
HCRYPTPROV |
hProv, |
|
|
uint32_t |
dwLen, |
|
|
const guest_ptr< uint8_t[]> & |
pbBuffer |
|
) |
| |
|
static |
◆ json()
| Json::Value introvirt::windows::advapi32::CryptGenRandom::json |
( |
| ) |
const |
|
overridevirtual |
◆ library_name()
| const std::string & introvirt::windows::advapi32::CryptGenRandom::library_name |
( |
| ) |
const |
|
overridevirtual |
◆ pbBuffer() [1/2]
| guest_ptr< uint8_t[]> introvirt::windows::advapi32::CryptGenRandom::pbBuffer |
( |
| ) |
const |
◆ pbBuffer() [2/2]
| void introvirt::windows::advapi32::CryptGenRandom::pbBuffer |
( |
const guest_ptr< uint8_t[]> & |
pbBuffer | ) |
|
◆ result() [1/2]
| bool introvirt::windows::advapi32::CryptGenRandom::result |
( |
| ) |
const |
◆ result() [2/2]
| void introvirt::windows::advapi32::CryptGenRandom::result |
( |
bool |
result | ) |
|
◆ write()
| void introvirt::windows::advapi32::CryptGenRandom::write |
( |
std::ostream & |
os = std::cout | ) |
const |
|
overridevirtual |
◆ ArgumentCount
| constexpr int introvirt::windows::advapi32::CryptGenRandom::ArgumentCount = 3 |
|
staticconstexpr |
◆ FunctionName
| const std::string introvirt::windows::advapi32::CryptGenRandom::FunctionName = "CryptGenRandom" |
|
inlinestatic |
◆ LibraryName
| const std::string introvirt::windows::advapi32::CryptGenRandom::LibraryName = "advapi32" |
|
inlinestatic |
The documentation for this class was generated from the following file:
- /home/runner/work/IntroVirt/IntroVirt/include/introvirt/windows/libraries/advapi32/functions/CryptGenRandom.hh