Difference between revisions of "Lua:setComment"
Jump to navigation
Jump to search
m (Syntax Highlighting.) |
|||
| Line 21: | Line 21: | ||
== Examples == | == Examples == | ||
| − | + | <syntaxhighlight lang="lua" line> | |
| − | + | setComment( getAddress( 'Tutorial-x86_64.exe+2C5B' ) , '%s var' ) | |
| − | + | setComment( getAddress( 'Tutorial-x86_64.exe+2C6D' ) , 'ret=Return' ) | |
| − | + | </syntaxhighlight> | |
[[File:Lua GetCommentMemView.png]] | [[File:Lua GetCommentMemView.png]] | ||
Latest revision as of 19:41, 26 June 2026
function setComment(Address,Text) : nil
- Writes the given text to the given address. (%s shows the autoguess value).
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| Address | CEAddressString or Integer | The address of the target process to write to |
| Text | String | The text to write to the Address Comment |
Examples[edit]
1 setComment( getAddress( 'Tutorial-x86_64.exe+2C5B' ) , '%s var' )
2 setComment( getAddress( 'Tutorial-x86_64.exe+2C6D' ) , 'ret=Return' )
