Module index

Module ida_ieee

IDA Plugin SDK API wrapper: ieee

Global variables

var E_SPECIAL_EXP
Exponent in 'fpvalue_t' for NaN and Inf.
var FPVAL_NWORDS
FPVAL_NWORDS = 6
var FPV_BADARG
FPV_BADARG = 0
var FPV_NAN
FPV_NAN = 2
var FPV_NINF
FPV_NINF = 4
var FPV_NORM
FPV_NORM = 1
var FPV_PINF
FPV_PINF = 3
var IEEE_E
IEEE_E = 1
var IEEE_EXONE
The exponent of 1.0.
var IEEE_M
IEEE_M = 2
var IEEE_NI
IEEE_NI = 9
var MAXEXP_DOUBLE
MAXEXP_DOUBLE = 1024
var MAXEXP_FLOAT
MAXEXP_FLOAT = 128
var MAXEXP_LNGDBL
MAXEXP_LNGDBL = 16384
var REAL_ERROR_BADDATA
REAL_ERROR_BADDATA = -3
var REAL_ERROR_BADSTR
REAL_ERROR_BADSTR = 2
var REAL_ERROR_FORMAT
REAL_ERROR_FORMAT = -1
var REAL_ERROR_FPOVER
REAL_ERROR_FPOVER = 1
var REAL_ERROR_INTOVER
REAL_ERROR_INTOVER = 4
var REAL_ERROR_OK
REAL_ERROR_OK = 0
var REAL_ERROR_RANGE
REAL_ERROR_RANGE = -2
var REAL_ERROR_ZERODIV
REAL_ERROR_ZERODIV = 3

Functions

def ecleaz(*args) ‑> void
ecleaz(x)
x (C++: eNI)

Classes

class fpvalue_shorts_array_t (*args)
Proxy of C++ wrapped_array_t< uint16,FPVAL_NWORDS > class.
__init__(self, data) -> fpvalue_shorts_array_t
data: unsigned short (&)[FPVAL_NWORDS]

Instance variables

var bytes : bytevec_t
_get_bytes(self) -> bytevec_t
var data
fpvalue_shorts_array_t_data_get(self) -> unsigned short (&)[FPVAL_NWORDS]
class fpvalue_t (*args)
Proxy of C++ fpvalue_t class.
__init__(self) -> fpvalue_t
in: bytevec12_t const &

Instance variables

var bytes : void
_get_bytes(self)
var float : double
_get_float(self) -> double
var int64
var shorts : wrapped_array_t< uint16,FPVAL_NWORDS >
_get_shorts(self) -> fpvalue_shorts_array_t
var sval
var uint64
var w
fpvalue_t_w_get(self) -> uint16 [6]

Methods

def assign(self, *args) ‑> void
assign(self, r)
r: fpvalue_t const &
def clear(self, *args) ‑> void
clear(self)
def compare(self, *args) ‑> int
compare(self, r) -> int
r: fpvalue_t const &
def eabs(self, *args) ‑> void
Calculate absolute value.
def fadd(self, *args) ‑> fpvalue_error_t
Arithmetic operations.
fadd(self, y) -> fpvalue_error_t
y (C++: const fpvalue_t &)
def fdiv(self, *args) ‑> fpvalue_error_t
fdiv(self, y) -> fpvalue_error_t
y (C++: const fpvalue_t &)
def fmul(self, *args) ‑> fpvalue_error_t
fmul(self, y) -> fpvalue_error_t
y (C++: const fpvalue_t &)
def from_10bytes(self, *args) ‑> fpvalue_error_t
Conversions for 10-byte floating point values.
from_10bytes(self, fpval) -> fpvalue_error_t
fpval (C++: const void *)
def from_12bytes(self, *args) ‑> fpvalue_error_t
Conversions for 12-byte floating point values.
from_12bytes(self, fpval) -> fpvalue_error_t
fpval (C++: const void *)
def from_int64(self, *args) ‑> void
from_int64(self, x)
x (C++: int64)
def from_str(self, *args) ‑> fpvalue_error_t
Convert string to IEEE.
from_str(self, p) -> fpvalue_error_t
p: char const *
def from_sval(self, *args) ‑> void
Convert integer to IEEE.
from_sval(self, x)
x (C++: sval_t)
def from_uint64(self, *args) ‑> void
from_uint64(self, x)
x (C++: uint64)
def fsub(self, *args) ‑> fpvalue_error_t
fsub(self, y) -> fpvalue_error_t
y (C++: const fpvalue_t &)
def get_kind(self, *args) ‑> fpvalue_kind_t
Get value kind.
def is_negative(self, *args) ‑> bool
Is negative value?
def mul_pow2(self, *args) ‑> fpvalue_error_t
Multiply by a power of 2.
mul_pow2(self, power_of_2) -> fpvalue_error_t
power_of_2 (C++: int32)
def negate(self, *args) ‑> void
Negate.
def to_10bytes(self, *args) ‑> fpvalue_error_t
to_10bytes(self, fpval) -> fpvalue_error_t
fpval (C++: void *)
def to_12bytes(self, *args) ‑> fpvalue_error_t
to_12bytes(self, fpval) -> fpvalue_error_t
fpval (C++: void *)
def to_int64(self, *args) ‑> fpvalue_error_t
to_int64(self, round=False) -> fpvalue_error_t
round (C++: bool)
def to_str(self, *args) ‑> void
Convert IEEE to string.
to_str(self, mode)
mode: broken down into: low byte: number of digits after '.'
second byte: FPNUM_LENGTH third byte: FPNUM_DIGITS (C++: uint)
def to_sval(self, *args) ‑> fpvalue_error_t
Convert IEEE to integer (+-0.5 if round)
to_sval(self, round=False) -> fpvalue_error_t
round (C++: bool)
def to_uint64(self, *args) ‑> fpvalue_error_t
to_uint64(self, round=False) -> fpvalue_error_t
round (C++: bool)