add_comment
Add comments to binary code addresses in IDA Pro to document analysis, with options for regular, repeatable, anterior, posterior, or function comments.
Instructions
Add a comment at the specified address.
Comment types:
- regular: Standard comment shown at the address
- repeatable: Comment that appears at all references to this address
- anterior: Comment line(s) shown before the address
- posterior: Comment line(s) shown after the address
- function: Comment for the entire function (address must be within a function)Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to add comment to | |
| comment | Yes | Comment text to add | |
| comment_type | No | Type of comment: 'regular', 'repeatable', 'anterior', 'posterior', or 'function' | regular |