|
IDA C++ SDK 9.2
|
Number representation. More...
#include <hexrays.hpp>
Public Member Functions | |
| number_format_t (int _opnum=0) | |
| Contructor. | |
| int | get_radix () const |
| Get number radix. | |
| bool | is_fixed () const |
| Is number representation fixed? | |
| bool | is_hex () const |
| Is a hexadecimal number? | |
| bool | is_dec () const |
| Is a decimal number? | |
| bool | is_oct () const |
| Is a octal number? | |
| bool | is_enum () const |
| Is a symbolic constant? | |
| bool | is_char () const |
| Is a character constant? | |
| bool | is_stroff () const |
| Is a structure field offset? | |
| bool | is_numop () const |
| Is a number? | |
| bool | needs_to_be_inverted () const |
| Does the number need to be negated or bitwise negated? | |
| bool | has_unmutable_type () const |
Public Attributes | |
| flags_t | flags32 = 0 |
| low 32bit of flags (for compatibility) | |
| char | opnum |
| operand number: 0..UA_MAXOP | |
| char | props = 0 |
| properties: combination of NF_ bits (Number format property bits) | |
| uchar | serial = 0 |
| for enums: constant serial number | |
| char | org_nbytes = 0 |
| original number size in bytes | |
| qstring | type_name |
| for stroffs: structure for offsetof() for enums: enum name | |
| flags64_t | flags = 0 |
| ida flags, which describe number radix, enum, etc | |
Number representation.
This structure holds information about a number format.
|
inline |
Contructor.
|
inline |
Get number radix.
|
inline |
Is number representation fixed?
Fixed representation cannot be modified by the decompiler
|
inline |
Is a hexadecimal number?
|
inline |
Is a decimal number?
|
inline |
Is a octal number?
|
inline |
Is a symbolic constant?
|
inline |
Is a character constant?
|
inline |
Is a structure field offset?
|
inline |
Is a number?
|
inline |
Does the number need to be negated or bitwise negated?
Returns true if the user requested a negation but it is not done yet
|
inline |
| flags_t number_format_t::flags32 = 0 |
low 32bit of flags (for compatibility)
| char number_format_t::opnum |
operand number: 0..UA_MAXOP
| char number_format_t::props = 0 |
properties: combination of NF_ bits (Number format property bits)
| uchar number_format_t::serial = 0 |
for enums: constant serial number
| char number_format_t::org_nbytes = 0 |
original number size in bytes
| qstring number_format_t::type_name |
for stroffs: structure for offsetof()
for enums: enum name
| flags64_t number_format_t::flags = 0 |
ida flags, which describe number radix, enum, etc