Alexis Ehret
ecc94e34e9
Fix dead assignment librz/core/cmd_cmp.c
2021-02-07 12:15:10 -01:00
Khairul Azhar Kasmiran
e5a2f129f5
syscall.c: Redo openDatabase and rename it to load_sdb ( #532 )
...
* syscall.c: Redo openDatabase and rename it to load_sdb
* Add fix for FreeBSD
2021-02-07 12:44:22 +08:00
Paul I
88ffbbf1f6
Fix memleak in cmd_analysis_aaft() ( #528 )
2021-02-07 05:51:02 +08:00
Aswin C
17f5c3f247
Refactor to replace ecr and dc with the API, globally ##refactor ( #523 )
2021-02-06 23:18:00 +08:00
Khairul Azhar Kasmiran
1173a1fb66
Move rz_str_get/get2 into rz_str.h and rename them to rz_str_get_null/get ( #521 )
2021-02-06 20:40:36 +08:00
Florian Märkl
d93d3f3770
Move Serialization Helpers to Global API ( #522 )
2021-02-06 12:10:43 +01:00
yossizap
9ea2984174
Add gdbserver tests ##test ( #502 )
2021-02-06 12:09:53 +01:00
Paul I
176c117e49
Replace HtPP with more suitable types in bin_dyldcache.c ( #518 )
2021-02-04 12:49:53 +01:00
Khairul Azhar Kasmiran
169d7e5bce
Rename clang_format GHA to clang-format ( #520 )
2021-02-04 19:49:39 +08:00
Alexis Ehret
f2107767a4
Refacto function assemble librz/asm/arch/z80/z80asm.c ( #507 )
2021-02-04 11:45:40 +00:00
Florian Märkl
7408e30cba
Fix assert on base64 crypto final call without buf ( #517 )
2021-02-04 18:26:31 +08:00
Khairul Azhar Kasmiran
4b9e575cac
subprocess.c: Fix format ( #519 )
2021-02-04 18:25:52 +08:00
Khairul Azhar Kasmiran
f22b290279
Windows subprocess: Remove \r only if followed by \n or not part of esc seq ( #512 )
2021-02-04 18:00:48 +08:00
Alexis Ehret
5f91f2c527
Fix clang format errors
2021-02-04 07:19:19 -01:00
Alexis Ehret
81692416db
Add worflow clang-format
2021-02-04 07:19:19 -01:00
Alexis Ehret
1e7604f325
Add check option to sys/clang-format.py
2021-02-04 07:19:19 -01:00
Florian Märkl
ed6d93d4d2
Make rz_base64_encode use the right types
2021-02-03 15:40:29 -01:00
Aswin C
febfdd6598
Refactor some parts of vmenus to use more API ##refactor ( #503 )
...
* Replace rz_core_cmd0 calls of `ecn` and `ecp` with APIs.
* Create a new API `rz_core_help_vars_print` to handle command `?$`
* Rename `rz_core_get_help_vars` to `rz_core_help_vars_get`
2021-02-03 23:20:11 +08:00
Anton Kochkov
c5100c504e
Code deduplication in visual modes
2021-02-03 22:32:08 +08:00
Anton Kochkov
bd47248204
Refactor to use API in ASCII Graph mode
2021-02-03 22:32:08 +08:00
Anton Kochkov
2db5f66ff5
Use rz_config_get_b() API in visual panels
2021-02-03 22:32:08 +08:00
Anton Kochkov
337c310795
Use rz_config_get_b() API in disasm and visual
2021-02-03 22:32:08 +08:00
Anton Kochkov
cd84486c00
Use RZ_STR_ISNOTEMPTY vs IS_NULLSTR
2021-02-03 22:32:08 +08:00
Anton Kochkov
5b3a8aa3fe
Use analysis API for disasm.c
2021-02-03 22:32:08 +08:00
Anton Kochkov
b67bdfc7d4
Use RzConfig API in Panels mode
2021-02-03 22:32:08 +08:00
Anton Kochkov
20ad56d2e7
Use RzConfig API in Visual mode
2021-02-03 22:32:08 +08:00
Anton Kochkov
fe49561a6e
Refactor to use API in Visual mode
2021-02-03 22:32:08 +08:00
Anton Kochkov
48d34e1571
Add rz_config_* API for booleans
2021-02-03 22:32:08 +08:00
Riccardo Schirone
e7ebbb22ba
Create API for .ar*, .dr*, aei, ar <reg>=<val> ( #511 )
...
* Move rz_debug_reg_list from RzDebug to RzCore and directly use rz_cons_printf
* rz_reg_get_list returns always the same list, so make it const RzList *
2021-02-03 21:58:36 +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
Anton Kochkov
a8d4a8a9a9
Clang formatting fixes
2021-02-03 19:27:30 +08:00
pancake
8fee2899f4
Add tests for pf.write
2021-02-03 19:27:30 +08:00
ChD1
0e97b00ae2
Fix memory leaks and small logic bugs ( #18297 )
2021-02-03 19:27:30 +08:00
pancake
bc88e51fd7
Fix double free in RzBin.DEX.libs
2021-02-03 19:27:30 +08:00
pancake
8e26ff997e
Fix some of the last coverities related to UAF and OOBREAD
2021-02-03 19:27:30 +08:00
Fangrui Song
fa9db31b8c
rz-diff: drop MODE_DIST
...
MODE_DIST (-s) is the same as MODE_DIST_LENVENSHTEIN (-ss) but much slower.
Drop it. Make MODE_DIST_MYERS (-sss, faster than MODE_DIST_LENVENSHTEIN) take its place (-s).
The original comment was incorrect (-s is not Eugene W. Myer's algorithm). It is correct now.
Co-authored-by: eagleoflqj and Maskray
2021-02-03 19:27:30 +08:00
pancake
7192fc9821
Honor graph.font in more places
2021-02-03 19:27:30 +08:00
pancake
5fd5d8b82a
Fix invalid left shift on dalvik parser
2021-02-03 19:27:30 +08:00
Qijia Liu
50e7f54c70
Fix memleak in db/formats/mangling/mangling
2021-02-03 19:27:30 +08:00
GustavoLCR
154f34f8f1
Delete register flags if necessary after aaft
...
* Fix tests
2021-02-03 08:23:24 -01:00
GustavoLCR
d04e2a805c
Add rz_core_debug_(set/clear)_register_flags apis
2021-02-03 08:23:24 -01:00
GustavoLCR
4098a9aa78
Put registers in their own flagspace
2021-02-03 08:23:24 -01:00
GustavoLCR
0d24c503ba
Fix #39 - Do not initialize registers on initialization
2021-02-03 08:23:24 -01:00
Alexis Ehret
6f8b629be8
Fix dead nested assignment librz/util/print.c
2021-02-02 21:47:49 +00:00
Alexis Ehret
81d5e0be1d
Fix dead nested assignment librz/util/format.c
2021-02-02 21:47:49 +00:00
Alexis Ehret
7e377bfdcf
Fix dead nested assignment librz/util/file.c
2021-02-02 21:47:49 +00:00
Alexis Ehret
3e03b3c966
Fix dead nested assignment librz/socket/socket.c
2021-02-02 21:47:49 +00:00
Alexis Ehret
345c223f30
Fix dead nested assignment librz/main/rz_gg.c
2021-02-02 21:47:49 +00:00
Alexis Ehret
6ae8a8656a
Fix dead nested assignment librz/hash/sha2.c
2021-02-02 21:47:49 +00:00
Alexis Ehret
d6d8bb5727
Fix dead nested assignment librz/hash/hamdist.c
2021-02-02 21:47:49 +00:00