Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | rz_il_bool_t |
Typedefs | |
typedef struct rz_il_bool_t | RzILBool |
Functions | |
RZ_API RzILBool * | rz_il_bool_new (bool true_or_false) |
RZ_API RzILBool * | rz_il_bool_and (RZ_NONNULL RzILBool *a, RZ_NONNULL RzILBool *b) |
RZ_API RzILBool * | rz_il_bool_or (RZ_NONNULL RzILBool *a, RZ_NONNULL RzILBool *b) |
RZ_API RzILBool * | rz_il_bool_xor (RZ_NONNULL RzILBool *a, RZ_NONNULL RzILBool *b) |
RZ_API RzILBool * | rz_il_bool_not (RZ_NONNULL RzILBool *a) |
RZ_API void | rz_il_bool_free (RzILBool *bool_var) |
typedef struct rz_il_bool_t RzILBool |
RZ_API RzILBool* rz_il_bool_and | ( | RZ_NONNULL RzILBool * | a, |
RZ_NONNULL RzILBool * | b | ||
) |
result of a AND
b
a | RzILBool, operand of AND |
b | RzILBool, operand of AND |
Definition at line 26 of file bool.c.
References a, b, NULL, rz_il_bool_new(), and rz_return_val_if_fail.
Referenced by rz_il_handler_bool_and().
Free RzILBool instance
bool_var | RzILBool, pointer to the bool instance |
Definition at line 74 of file bool.c.
References free().
Referenced by rz_il_handler_bool_and(), rz_il_handler_bool_inv(), rz_il_handler_bool_or(), rz_il_handler_bool_xor(), rz_il_handler_branch(), rz_il_handler_cast(), rz_il_handler_ite(), rz_il_handler_repeat(), rz_il_handler_shiftl(), rz_il_handler_shiftr(), and rz_il_value_free().
Create a new RzILBool instance
true_or_false | bool, set bool as true or false |
Definition at line 11 of file bool.c.
References rz_il_bool_t::b, NULL, and RZ_NEW0.
Referenced by rz_core_analysis_il_vm_set(), rz_il_bool_and(), rz_il_bool_not(), rz_il_bool_or(), rz_il_bool_xor(), rz_il_handler_bool_false(), rz_il_handler_bool_true(), rz_il_handler_eq(), rz_il_handler_is_zero(), rz_il_handler_lsb(), rz_il_handler_msb(), rz_il_handler_sle(), rz_il_handler_ule(), rz_il_handler_var(), rz_il_value_dup(), rz_il_value_new_zero_of(), and rz_il_vm_sync_from_reg().
RZ_API RzILBool* rz_il_bool_not | ( | RZ_NONNULL RzILBool * | a | ) |
result of NOT
a
a | RzILBool, operand of AND |
Definition at line 63 of file bool.c.
References a, NULL, rz_il_bool_new(), and rz_return_val_if_fail.
Referenced by rz_il_handler_bool_inv().
RZ_API RzILBool* rz_il_bool_or | ( | RZ_NONNULL RzILBool * | a, |
RZ_NONNULL RzILBool * | b | ||
) |
result of a OR
b
a | RzILBool, operand of AND |
b | RzILBool, operand of AND |
Definition at line 39 of file bool.c.
References a, b, NULL, rz_il_bool_new(), and rz_return_val_if_fail.
Referenced by rz_il_handler_bool_or().
RZ_API RzILBool* rz_il_bool_xor | ( | RZ_NONNULL RzILBool * | a, |
RZ_NONNULL RzILBool * | b | ||
) |
result of a XOR
b
a | RzILBool, operand of AND |
b | RzILBool, operand of AND |
Definition at line 52 of file bool.c.
References a, b, NULL, rz_il_bool_new(), and rz_return_val_if_fail.
Referenced by rz_il_handler_bool_xor().