x64dbg/docs/developers/functions/debug/DbgValFromString.md

26 lines
No EOL
420 B
Markdown

# DbgValFromString
Evaluate the expression.
```c++
duint DbgValFromString(const char* string);
```
## Parameters
`string` The [expression](../../../introduction/Expressions.md) to evaluate in UTF-8 encoding.
## Return Value
The value of the expression.
## Example
```c++
eip = DbgValFromString("cip");
```
## Related functions
- [DbgValSetScalar](./DbgValSetScalar.md)
- [DbgValSetBuffer](./DbgValSetBuffer.md)