Giovanni
b943e1d05f
Ensure the concurrency job group is unique ( #3538 )
2023-05-30 17:55:08 +08:00
billow
c0154a26a0
Fix function arguments augmentation with DWARF ( #3530 )
...
* Add `VariableKind` to Dwarf `Variable`
* Refactor `rz_analysis_dwarf_integrate_functions`
* Add `RzAnalysisVarKind` to `RzAnalysisVar`
* Add function parameters tests for x86, ARM, Tricore
2023-05-30 16:40:09 +08:00
Anton Kochkov
163fd3bfec
Remove dead code from DWARF parser
2023-05-30 12:31:39 +08:00
Florian Märkl
ea04e76d1b
Add support for dyldcache headers up to dyld-1042.1 ( #3536 )
...
Newer dyldcaches have more fields in the header. This change adds
heuristics for determining the version and reading and displaying the
newer fields if available.
2023-05-29 19:27:45 +02:00
Florian Märkl
c5978e158c
Fix oob write in dyldcache accel loading ( #3534 )
2023-05-28 22:17:20 +02:00
dvertx
86511a16c9
fix pointer casting to integer ( #3532 )
2023-05-28 19:22:29 +08:00
dvertx
d1a3f9333e
Fix unregistered comiss type ( #3533 )
2023-05-28 19:21:45 +08:00
Anton Kochkov
e924ea7f11
Remove incomplete ESIL support for RSP ( #3531 )
2023-05-26 14:36:00 +08:00
Florian Märkl
4c077e341a
Fix oob read from corrupt dyldcache dependents ( #3527 )
...
k < dep_array_count check was missing, so without 0xffff termination or
an invalid .dependentsStartArrayIndex, the loop would read out of
bounds.
2023-05-25 16:10:49 +02:00
billow
abfa59c1a1
Fix rz_core_file_reopen_debug
2023-05-24 08:49:05 +08:00
billow
ac326f23b2
Fix rz_core_theme_load
2023-05-24 08:49:05 +08:00
billow
73c546ddc0
Fix compile warnings ( #3522 )
2023-05-23 09:52:47 +08:00
Siddharth Mishra
5960cf6527
Add Float Operation Builder Macros in RzIL OpBuilder ( #3516 )
2023-05-22 00:00:59 +08:00
Florian Märkl
daffe8bbbb
Fix arm64 adrp assembler ( #3519 )
...
Fixed the calculation of the immediate value and more spaces, e.g.
"adrp x0, 0x1234000" are allowed now.
2023-05-21 11:16:37 +08:00
Giovanni
105bc0ed50
Revert "Add float to raw bitvector conversion. ( #3509 )" ( #3517 )
...
This reverts commit 74c044ad63 .
2023-05-20 15:39:31 +08:00
Giovanni
f03e1d5114
Automatically cancel any previous workflow on new push. ( #3510 )
2023-05-20 13:10:50 +08:00
Riccardo Schirone
8d4c12cf9a
Add CI job for testing EXTRA_PREFIX
2023-05-19 16:42:35 +02:00
Riccardo Schirone
478f74a95e
build: Introduce EXTRA_PREFIX for loading plugins/resources from another path
2023-05-19 16:42:35 +02:00
billow
9497f711eb
Add project migrate v12 ( #3515 )
...
* Revert rzdb change in 59f32b6db8
* Add `rz_project_migrate_v11_v12` and integration test
* Add v12 rzdb
2023-05-17 06:28:39 +08:00
billow
59f32b6db8
Rename asm.dwarf* to asm.debuginfo* ( #3513 )
...
* Rename `asm.dwarf` to `asm.debuginfo`
* Rename members in `RzDisasmState`
* Improve `asm.debuginfo.*` descriptions
* Rename `ds_print_dwarf` -> `ds_print_debug` and refactor
* Fix tests
2023-05-16 10:55:18 +08:00
billow
da84bb0029
Refactor disasm.c color ( #3514 )
...
* Refactor `disasm.c` color
* Fix `ds_print_dwarf`
* Fix `ds_show_functions`
* Fix `ds_init_theme`
* Flush cons when `DEBUGGER`
* Fix tests
2023-05-16 10:27:06 +08:00
billow
224b577195
Fix Infinite loop in rz_core_search_value_in_range ( #3512 )
2023-05-15 18:07:02 +08:00
billow
c7b77ce8e8
Show source lines when asm.dwarf.lines set ( #3511 )
...
Co-authored-by: Sidhub723 <sidbhat.211ee151@nitk.edu.in>
2023-05-15 12:11:40 +08:00
Giovanni
74c044ad63
Add float to raw bitvector conversion. ( #3509 )
2023-05-14 13:14:11 +08:00
Riccardo Schirone
ac3134f4e5
librz: fix UAF in plugin deletion
...
Some libraries have a global "plugin_data" that is initialized only for
the current plugin, thus the fini method should only be called for the
current plugin as well and not for the others.
2023-05-12 10:38:29 +08:00
wargio
cc08a23d03
Fix return types and args
2023-05-09 15:42:21 +08:00
wargio
4c51c0077f
Add io.h to sdb_private.h
2023-05-09 15:42:21 +08:00
wargio
fadc066ae4
Fix Clang thread issue
2023-05-09 15:42:21 +08:00
Riccardo Schirone
29623e19a6
subprojects/libzip: patch zip_win32_file_operations
2023-05-09 09:31:56 +08:00
Riccardo Schirone
71c9a7f07b
subprojects/xz: update to 5.4.3
...
Recently builds on Windows are failing due to intrin.h being required
for some functions. This has been fixed in the new 5.4.3 release.
2023-05-09 09:31:56 +08:00
Khairul Azhar Kasmiran
20081eba44
Fix dbg_step test on Ubuntu 20.04 ( #3503 )
...
* Fix dbg_step test on Ubuntu 20.04
* Move r13 to separate line
2023-05-08 10:00:13 +08:00
Florian Märkl
5aa1d70db7
Correct help for %% command
...
The term "positive" is less meaningful for %% as it is dealing only with
unsigned values. It belongs to $! and uses the exact opposite condition,
which is the value being non-zero.
2023-05-07 08:36:29 +08:00
Florian Märkl
cdaaf1a273
Fix visual debug view
...
Regression from 16e722cffc :
Visual debug (Vpp) was empty because of broken commands.
2023-05-07 08:36:29 +08:00
Khairul Azhar Kasmiran
344b460f6e
dbg.follow: Follow when pc >= core->offset + dbg.follow ( #3499 )
2023-05-06 07:18:47 +08:00
Anton Kochkov
c7c42afb61
Remove incomplete ESIL support for WASM ( #3497 )
2023-05-04 16:33:39 +08:00
Giovanni
14c29cc472
Add thread-safe hash tables ( #3491 )
2023-05-02 22:11:53 +08:00
Gilad Reti
466c54fdbc
RzEgg: return error codes on failures ( #3484 )
...
* Return error codes on failures
Many rz_egg_* APIs can fail, but failures were previously ignored by rz-gg (or just logged).
Exit on failure, and attempt to detect more possible failures.
* Fix rz_egg_padding error format
* Mark failing tests as broken
This is not a perfect solution. the problem is that in big-endian environments, immediates
are encoded according to the host endianness for some reason.
In any case, add a test that the compilation does not fail completely.
2023-04-27 00:03:44 +08:00
Giovanni
9339ad128f
Bump rz-libdemangle version to fix windows build ( #3490 )
2023-04-26 22:19:36 +08:00
Anton Kochkov
8ef2d9a6ad
Fix Debian Stretch builds
2023-04-26 20:01:47 +08:00
Anton Kochkov
d2de771c3d
Use meson setup <dir> instead of meson <dir>
2023-04-26 20:01:47 +08:00
Giovanni
59080758fb
Split bin field from class fields and fix demangling on java ( #3479 )
...
* Split Bin Field from Class fields.
* Fix tests and plugins
2023-04-26 15:25:42 +08:00
Giovanni
ca547fc6fb
Add threaded iterators ( #3480 )
2023-04-26 13:23:15 +08:00
Giovanni
616c63e4cc
Bump libdemangle version ( #3487 )
2023-04-26 12:49:37 +08:00
Gilad Reti
40bd977533
Update i386 argument constraints ( #3482 )
2023-04-26 10:24:22 +08:00
Giovanni
29c1aa8187
Demangle rust and add classes/methods and bump lib version ( #3481 )
2023-04-24 23:55:50 +08:00
Riccardo Schirone
99213043de
cons: enable VI mode with ESC only, no alt-ESC ( #3464 )
2023-04-23 10:49:58 +08:00
Gilad Reti
51ad1fede5
mark no longer broken tests as unbroken
2023-04-23 08:15:04 +08:00
Gilad Reti
0b2c1ed243
fix wrong p_align header entry size in elf generation
...
another regression which was introduced in 01b6e60775
was changing the p_align header entry size from 32 to 64 bits.
this commit fixes this regression.
2023-04-23 08:15:04 +08:00
Gilad Reti
beeef61a6a
fix elf e_entry generation
...
commit 01b6e60775 refactored the elf
interface, and in particular the elf generation process.
when generating the elf header, the base address was forgotten, causing
generated elfs to have very small base addresses (thus segfault
immediately).
this commit fixes this regression.
2023-04-23 08:15:04 +08:00
Gilad Reti
084533b04e
fix rizin egg SFLIBPATH detection
...
previously rz_sys_cmd_strf("rizin -hh | grep INCDIR | awk '{print $2}'")
was used to detect SFLIBPATH
however, in a recent commit (4707df437d )
the rz_sys_cmd_strf function no longer runs commands in shell mode
but rather in subprocess mode, which does not support pipes etc.
since rizin uses rz_path_incdir() for printing RZ_INCDIR, this logic can
be replaced with a simple call to rz_path_incdir().
2023-04-23 08:15:04 +08:00