Commit graph

556 commits

Author SHA1 Message Date
Dhruv Maroo
19ec6ba298
Use SoftFloat 3e for implementing arithmetic operations in RzFloat (#4535)
* Add a new test for checking 80-bit floating point operations

    * New test `f80_ieee_div_test` tests the division of two 80-bit
      floats

* Add SoftFloat 2c as a meson subproject

* Add softfloat code to make the failing test case pass

* Update the hash for the latest softfloat revision

* Implement `rz_float_sqrt` using SoftFloat

* Run the `f80_ieee_div_test` only for x86

* Replace SoftFloat version 2c with 3e

    * 3e has less bugs and more features
    * Modify the implementation in accordance

* Update SoftFloat revision and add a guard around the 80-bit div test

* Use SoftFloat for add, sub, mul operations as well

* Make rem and mod also use SoftFloat functions

    * Also add test for mod and rem, and fix behavior of rem

* Add comment about behavior of mod and rem

* Add comments for tests which have different results for mod and rem

* Simplify usage of loop variable as suggested in review

* Remove unused macro from float.c

* Implement `FMA` and `ROUND` using SoftFloat API

* Add more tests for 80-bit floats

* Change remote to a repository under rizinorg

* Add info about the rounding mode in the Doxygen for rem and mod

* Add comments in tests for rem and mod in `test_float.c`

* Use bitvectors to initialize 80-bit soft floats

    * This makes the tests more portable and hence they can be run on
      any platform

* Remove guards for f80 tests since they are portable now
2024-06-25 22:06:24 +05:30
Khairul Azhar Kasmiran
8b21371b8d
doc/rzshell: Update w? example (#4295) 2024-02-25 10:34:08 +08:00
Rui Chen
3db7f8b598
docs(PACKAGERS): fix meson option names (#4294)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-02-24 23:18:18 +08:00
Anton Kochkov
e60e17818a
doc: fix packagers.md formatting (#4265) 2024-02-19 09:16:21 +08:00
Anton Kochkov
1b53c5c8f6
Update PACKAGERS.md (#4201) 2024-02-10 17:50:57 +08:00
Anton Kochkov
de126ff0db
PACKAGERS.md - use more up-to-date PKGBUILD example (#3883) 2023-09-25 17:00:02 +08:00
Khairul Azhar Kasmiran
729edc8919
Edit w? (#3884) 2023-09-25 10:34:12 +08:00
Khairul Azhar Kasmiran
a6b62525e5
Update last section of rzshell.md (#3881) 2023-09-23 11:38:11 +08:00
Riccardo Schirone
9d68e9614f
Fix old math commands (#3828)
* core/cmd: Adjust math commands

* shell: make `?x` commands a parsing failure

We have moved the `?x` commands to `%x`, thus now no command should
start with `?`. This patch makes the parser fail to parse `?x`
strings.

* core/tui: use APIs in panels

* There's no `%q` anymore, use `%=`
2023-09-14 08:53:25 +08:00
sohail1734
c9b16eaab9
Rename some of the environment variables (#3812) 2023-09-02 16:34:59 +08:00
Rot127
a3eefea988
Asm token documentation (#3711)
* Move compile_token_patterns to asm module.
* Simplify rz_asm_tokenize_asm_regex().
* Implement custom token parsing for bf.
* Add docs about asm token parsing and example implementation.
2023-08-02 11:00:18 +08:00
yossizap
d235371abc Update capstone versions in the docs 2023-07-16 13:22:47 +08:00
Anton Kochkov
f29171ceb1
Remove rzk and gprobe IO plugins (#3654) 2023-07-12 00:21:43 +08:00
Riccardo Schirone
e7eae14ea1
Remove leftovers from radare2 codebase (#3423) 2023-03-14 11:02:12 +08:00
Riccardo Schirone
fb71f36859
doc: add release issue template (#3386) 2023-03-10 08:39:55 +00:00
Giovanni
125f0333aa
Set perm to 644 to multiple text files (#3418)
Co-authored-by: Giovanni Grazioli <giovanni.grazioli@ubisoft.com>
2023-03-10 13:42:42 +08:00
Riccardo Schirone
497c2b2e05
Remove old bash-based rz-pm (#3360) 2023-02-07 18:26:38 +08:00
Anton Kochkov
a3885e8f99
Remove legacy unit tests (#3088) 2023-01-23 17:46:21 +08:00
Giovanni
907e0981c5
Fix English in docs files and updated/removed some tips (#3299) 2023-01-17 19:49:38 +01:00
Riccardo Schirone
c1e1d581c0 doc: add release process documentation 2022-06-02 10:55:51 +02:00
Dhruva Gole
64740dd2d3
Add power/exponent to math operations (#2220) 2022-01-27 14:49:19 +01:00
Florian Märkl
f9e01ba07d [RzIL] Rewrite RzAnalysisRzil as RzAnalysisILVM with config
RzAnalysisILVM wraps around the low-level RzILVM and enables emulation
of real code from disassembly, rather than raw IL.
Analysis plugins now don't actively initialize the vm anymore, but
return a fully declarative description RzAnalysisILConfig of how to set
up the vm and optionally its initial state.
This also enables multiple IL vms to exist at the same time as plugins
can not mess with the global vm anymore. See the added integration test
for an example.
2022-01-17 16:50:40 +01:00
Florian Märkl
880201d556
Add Documentation for RzIL (#2178) 2022-01-08 16:46:03 +01:00
Riccardo Schirone
ae081043d9
Update rzshell.md (#2150) 2021-12-30 10:11:32 +08:00
Khairul Azhar Kasmiran
a906ce20d8
Use sys/rzshell_which.py instead in rzshell doc (#2138) 2021-12-25 20:52:44 +08:00
Riccardo Schirone
6f40dfe493
Move remaining things from shlr/ to meson subprojects (#2126)
* Move binrz meson directives to binrz/ dir

* Move rizin-shell-parser to a subproject

* Move bochs to a meson subproject

* Move rzqnx to meson subproject

* Move winkd to a meson subproject

* Move rzar to a meson subproject

* Move rzw32dbg_wrap to a meson subproject

* Move ptrace-wrap to a meson subproject

* Move rzgdb to a meson subproject

* Rename w32dbg_wrap to rzw32dbg_wrap

* Update CODEOWNERS

* Remove old references to shlr

* Move shlr/heap stuff in core and remove shlr/arm

* Move spp to a meson subproject

* Remove last references to shlr

* Remove use_webui option

* Move include files directives to librz/include/meson.build

* Move librz meson directives into librz/meson.build

* Handle d/ directories inside the specific module meson.build

* Move plugins listing to specific module meson.build

* Move rzheap to its own subproject

* Fix js linter and licenses

* Use meson.override_dependency for all rz_ modules
2021-12-22 09:20:39 +08:00
Giovanni
c979ab76a9
Fix weird message on fortune (#2095) 2021-12-12 09:56:23 +08:00
Riccardo Schirone
86f6fec835
Add rzshell_which script to look for the handler of a rzshell cmd (#1839)
* remove isort linter on CI
2021-10-19 15:43:11 +02:00
Dhruv Maroo
6da244eca7 Update db commands according to the new syntax after newshell port 2021-10-19 14:20:29 +08:00
Riccardo Schirone
af65352aa1
Move files to generate windows installer under dist/windows (#1765) 2021-10-02 13:53:13 +02:00
DMaroo
ee0a0f5557 Add tips for storing project in compressed format and global variables 2021-09-07 16:43:57 +02:00
Anton Kochkov
f982acb610
Remove make leftovers (#1598) 2021-09-06 01:41:51 +02:00
Anton Kochkov
b9cb29ac90
Rename RNum to the RzNum (#1539) 2021-08-29 21:06:29 +02:00
Giovanni
8fe4d0b0a5
Convert ! commands to newshell (#1235)
* Updated core_plugin_example.c
* Removed RZ_BYTES and RZ_BLOCK
Co-authored-by: Riccardo Schirone <sirmy15@gmail.com>
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2021-07-28 10:33:33 +02:00
Anton Kochkov
8aa5cca203
Rename newshell doc to rzshell doc (#1293) 2021-07-12 13:59:34 +08:00
Riccardo Schirone
cad4e0ae0f
Rename newshell to rzshell and parser commands to statements 2021-04-22 19:45:14 +08:00
Riccardo Schirone
db04bed503
Fix autocompletion of rz- commands in rizin shell and rename wrong rz_ (#944) 2021-03-31 16:10:54 +02:00
Riccardo Schirone
53bf5c497f SPDX Copyright text for all files based on history
- Add LICENSES directory
- Download additional licenses used
- Add .reuse directory
- Add doc about SPDX/reuse

Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2021-03-05 19:39:15 +08:00
Aswin C
2c23eb63e2
Update doc/newshell with the information about the splitted command descriptions ##doc 2021-02-26 01:21:22 +08:00
Riccardo Schirone
9349b2f3ed Move libzip to meson subproject wrap
* optionally depend on lzma, bzip2 and openssl for additional zip support
* add use_sys_libzip_openssl meson option to choose if openssl should be
  used in libzip or not
* avoid optional dependencies on windows to avoid troubles
2021-02-12 11:08:51 +08:00
Riccardo Schirone
43e4269d34 Make use_sys_* meson option features instead of boolean
* Use the features directly as argument of `dependency`.
* Remove doc/capstone.md doc file because already in PACKAGERS.md
2021-02-12 11:08:51 +08:00
Riccardo Schirone
f8291ee3c1
Switch to meson subprojects and wraps
* Remove tree-sitter/sdb git submodules and move them to meson subprojects/wraps
* Use meson subprojects/wraps to get capstone
* Remove capstone patches as they are already applied to rizinorg/capstone repository
* Use meson from master branch to create the release tarball, as all released versions so far have a bug that prevent wrap-git to be patched correctly when creating the tarball with meson dist
* Add check_meson_subproject script to do a quick check if the currently downloaded subprojects are updated
* Add subprojects_check meson option to skip the check_meson_subproject script
* Update documentation to remove references to git submodules.
2021-02-03 14:31:11 +01:00
Riccardo Schirone
bf71eca270
Provide an example of how packager/packager_version are shown (#488) 2021-01-29 15:31:02 +01:00
Maijin
821fb02638 Remove obsolete iphone.md 2021-01-28 16:26:31 +01:00
Riccardo Schirone
018c0eaa53
Change how version is reported in -v command flag 2021-01-27 16:42:47 +08:00
Aswin C
27655b3488
Remove the extra spaces next to evars on the fortunes (#359) 2021-01-15 09:20:57 +01:00
Riccardo Schirone
6f41360178
MacOS improvements (#322)
* Ad-hoc sign rizin binary with debugger entitlements on MacOS
* Use re.rizin.rizin and move OSX pkg files in dist/osx
* Use dist/osx/build_osx_package.sh to create OSX pkg with meson
* Mention how to create OSX pkg in doc/PACKAGERS.md
* Remove doc/macos.md
2021-01-11 14:45:38 +01:00
Anton Kochkov
fb7d7df1ec Remove Mingw and Cygwin from ACR build 2021-01-09 08:46:31 +08:00
Anton Kochkov
ad6a580a1c Fix tests 2021-01-05 23:33:32 -06:00
Troy Patrick
d92f6ef8ef
Add packagers.md (#229)
* Add packagers.md
* Add information about PACKAGERS.md in BUILDING.md
* Updates based based on feedback.

Co-authored-by: Aswin C <realc@protonmail.com>
2020-12-23 12:22:41 +08:00