IDA SDK

- Main Page
- Header Files
- Classes
- Modules

- File List
- File Members

Functions
ints.hpp File Reference

## Detailed Description

Functions that deal with the predefined comments.

## Functions
idaman ssize_t ida_export | get_predef_insn_cmt (const insn_t &ins, char *buf, size_t bufsize)
| Get predefined comment. More...
idaman ssize_t ida_export | get_predef_cmt (const char *info, int wrktyp, char *buf, size_t bufsize)
| Get predefined comment. More...

## Function Documentation

idaman ssize_t ida_export get_predef_insn_cmt | ( | const insn_t & | ins,
|  | char * | buf,
|  | size_t | bufsize
| ) |  |

Get predefined comment.

Parameters

  cmd | current instruction information
  buf | buffer for the comment
  bufsize | size of the output buffer

Returns
  size of comment or -1

idaman ssize_t ida_export get_predef_cmt | ( | const char * | info,
|  | int | wrktyp,
|  | char * | buf,
|  | size_t | bufsize
| ) |  |

Get predefined comment.

Parameters

  info | text string with description of operand and register values. This string consists of equations: reg=value ... where reg may be any word register name, or Op1,Op2 - for first or second operands
  wrktyp | icode of instruction to get comment about
  buf | buffer for the comment
  bufsize | size of the output buffer

Returns
  size of comment or -1