State-of-the-art binary code analysis tools
Functions: set operand representation

Detailed Description

The following functions set operand representation. If they are applied to unexplored bytes, they convert them.

  • no segment : fail
  • 16bit segment : to 16bit word data
  • 32bit segment : to dword
    Parameters
    ealinear address
    nnumber of operand (0, 1, -1)
    Returns
    success

Functions

bool idaapi op_chr (ea_t ea, int n)
 set op type to char_flag()
 
bool idaapi op_num (ea_t ea, int n)
 set op type to num_flag()
 
bool idaapi op_hex (ea_t ea, int n)
 set op type to hex_flag()
 
bool idaapi op_dec (ea_t ea, int n)
 set op type to dec_flag()
 
bool idaapi op_oct (ea_t ea, int n)
 set op type to oct_flag()
 
bool idaapi op_bin (ea_t ea, int n)
 set op type to bin_flag()
 
bool idaapi op_flt (ea_t ea, int n)
 set op type to flt_flag()