mirror of
https://github.com/x64dbg/x64dbg
synced 2026-08-11 18:23:06 -04:00
576 B
576 B
DbgValSetBuffer
Set a value from a raw buffer.
bool DbgValSetBuffer(const char* string, const void* data, size_t size);
Parameters
string The name of the thing to set in UTF-8 encoding.
data Pointer to the raw bytes to write.
size Size of data in bytes.
Return Value
true if the value was set successfully, false otherwise.
Example
unsigned long long opmask = 1;
DbgValSetBuffer("_K0", &opmask, sizeof(opmask));