Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the value of the specified register.
Syntax
HRESULT put_registerValue(
DWORD index,
DWORD cbData,
const BYTE* pbData
);
Parameters
index
[in] A value from the CV_HREG_e enumeration specifying which register to modify. This parameter value is primarily intended for the ARM64 SVE registers.
cbData
[in] Size, in bytes, of the data pointed to by pbData.
pbData
[in] Buffer containing the new register value.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
Allows modifying register values during stack walking, for example, to support unwinding or simulating execution state.
Supports variable-sized registers, including large vector registers such as ARM64 SVE.
For registers 64-bits or less (for example, 1-8 bytes), use get_registerValue and put_registerValue in IDiaStackWalkHelper.