mirror of
https://github.com/x64dbg/x64dbg
synced 2026-08-11 18:23:06 -04:00
31 lines
664 B
Markdown
31 lines
664 B
Markdown
|
|
# DbgSetAutoCommentAt
|
||
|
|
|
||
|
|
Set an auto comment at the given address.
|
||
|
|
|
||
|
|
```c++
|
||
|
|
bool DbgSetAutoCommentAt(duint addr, const char* text)
|
||
|
|
```
|
||
|
|
|
||
|
|
## Parameters
|
||
|
|
|
||
|
|
`addr` The address to comment.
|
||
|
|
|
||
|
|
`text` The auto comment in UTF-8 encoding.
|
||
|
|
|
||
|
|
## Return Value
|
||
|
|
|
||
|
|
`true` if the function is successful, `false` otherwise.
|
||
|
|
|
||
|
|
## Example
|
||
|
|
|
||
|
|
```c++
|
||
|
|
DbgSetAutoCommentAt(DbgValFromString("dis.sel()"), "This is the currently selected instruction");
|
||
|
|
```
|
||
|
|
|
||
|
|
## Related functions
|
||
|
|
|
||
|
|
- [DbgSetCommentAt](./DbgSetCommentAt.md)
|
||
|
|
- [DbgSetAutoLabelAt](./DbgSetAutoLabelAt.md)
|
||
|
|
- [DbgSetAutoBookmarkAt](./DbgSetAutoBookmarkAt.md)
|
||
|
|
- [DbgSetLabelAt](./DbgSetLabelAt.md)
|
||
|
|
- [DbgSetBookmarkAt](./DbgSetBookmarkAt.md)
|