rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.71k stars 363 forks source link

Expose floating arithmetics in RzNum/`rz-ax` tool #3035

Open XVilka opened 2 years ago

XVilka commented 2 years ago

Blocked by https://github.com/rizinorg/rizin/issues/3455

Currently, we have RzFloat bitvector API that will be used in RzIL. It would be nice to have it exposed also in the Rizin's calculator - rz-ax, and some of the RzNum APIs.

Heersin commented 1 year ago

Expose both bitv and float API, and assign new options for them would be nice. For example

XVilka commented 1 year ago

Also 0b literals should be treated as bitvectors by default, to solve this problem: https://github.com/rizinorg/rizin/issues/3331