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
Khairul Azhar Kasmiran
c4a1a501fa
w: Add some detailed help ( #3878 )
2023-09-22 10:45:18 +08:00
Dhruv Maroo
0bbec475f6
Removed signed-unsigned integer comparison in macro ( #3875 )
...
* Cutter complains about this in its build
2023-09-20 12:00:02 +08:00
Peiwei Hu
a21f4bc7e7
Remove the use of rz_core_cmd_strf() in cprint.c ( #3869 )
2023-09-18 12:04:13 +08:00
Peiwei Hu
2477d90855
Refactor <hashes> from RzList to RzPVector ( #3870 )
2023-09-18 09:10:19 +08:00
Peiwei Hu
0063415d89
Refactor <mem> from RzList to RzPVector ( #3868 )
2023-09-17 20:35:28 +08:00
Peiwei Hu
0e6ca28841
Refactor trycatch and classes from RzList to RzPVector ( #3859 )
...
* Refactor trycatch-related stuff from RzList to RzPVector
* Refactor classes-related stuff from RzList to RzPVector
* classes in RzBinPlugin (RzList -> RzPVector)
* classes in RzBinObject (RzList -> RzPVector)
* remove the deprecated API rz_bin_get_classes
2023-09-17 10:57:20 +08:00
Florian Märkl
f3469946c5
Add specifiable size for watchpoints and tests
...
rz_bp_size_at() is not always the right size for a watchpoint, so we add
the possibility to specify the size as an extra argument to dmw.
2023-09-16 22:35:20 +08:00
Florian Märkl
9f7751e7c0
Avoid unnecessary "hw breakpoints not yet supported" warning
...
This warning could happen when debug calls into bp for restoring
software breakpoints and hardware breakpoints exist at the same time.
These do not need memory restoration so we can avoid calling into
rz_bp_restore_one() at all.
2023-09-16 22:35:20 +08:00
Florian Märkl
868541adbd
Fix dbg.hwbp config var
...
The var was created as an int node, but read as boolean, which is always
false. Since it is used as boolean, creating it as such fits best.
2023-09-16 22:35:20 +08:00
Khairul Azhar Kasmiran
c7fbe9b46c
Fix #3835 : Fix off-by-1 for 32-bit x86 stack args ( #3866 )
...
* Add test
* Fix #3835 : Fix off-by-1 for 32-bit x86 stack args
* Fix "x86_32 stackptr tracking" test
* Restrict fix to x86 only
2023-09-16 20:46:42 +08:00
Dhruv Maroo
e95650f226
Split up x86_il.c ( #3864 )
2023-09-15 19:59:11 +05:30
Riccardo Schirone
738be8e7e4
build: allow to use system libzstd and fix includes/lib installation ( #3858 )
2023-09-15 14:38:37 +08:00
Peiwei Hu
553b7513cb
Remove the appended n_instr while choosing cmd in panels ( #3853 )
2023-09-15 12:52:26 +08:00
Khairul Azhar Kasmiran
b2b1100223
Tighten "missing main stack frame fix ( #3806 )" test ( #3860 )
2023-09-15 08:25:30 +08:00
Peiwei Hu
a66b6c76c1
Use API instead of the direct use of pdb command ( #3855 )
2023-09-15 00:46:07 +08:00
Khairul Azhar Kasmiran
7a50bd7e5a
Fix "missing main stack frame fix ( #3806 )" test ( #3857 )
2023-09-15 00:21:19 +08:00
Peiwei Hu
ac2dd1b3eb
Add space between the hex and vocabulary ( #3856 )
2023-09-14 21:11:29 +08:00
Peiwei Hu
63c7fa5b19
Refactor relocs-related stuff from RzList to RzPVector ( #3852 )
...
* also include patch_relocs
2023-09-14 10:46:38 +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
Gleb Popov
08091e64b2
Fix the analysis_global_var test when running from the build dir.
2023-09-12 22:00:36 +02:00
ifyGecko
606a18c4e0
fixed inf loop condition ( #3850 )
2023-09-12 23:00:23 +08:00
Khairul Azhar Kasmiran
0c3b7339eb
Fix #3802 : Enforce space after env ( #3849 )
2023-09-12 20:56:22 +08:00
Florian Märkl
a80f4910f0
Remove warning about missing calling convention ( #3846 )
...
This warning turned out to be more misleading and spammy than actually
useful. For example, it speaks of a "file" when loading just a malloc,
and many architectures simply do not have any standardized calling
conventions, like 6502 or gb, in which case the analysis is fine without
any loaded cc info.
2023-09-12 09:55:03 +08:00
Anton Kochkov
4dd4dcb6c4
Fix CID 416605 - Use After Free
2023-09-11 22:38:53 +08:00
Anton Kochkov
e4b1b5b3f3
Fix CID 416416 - Use After Free
2023-09-11 22:38:53 +08:00
Khairul Azhar Kasmiran
77f860cbc6
Fix env help ( #3844 )
2023-09-11 20:32:30 +08:00
Khairul Azhar Kasmiran
5fa69e480c
Combine all dbg_trace# tests into 1 testfile ( #3840 )
2023-09-11 12:29:48 +08:00
Khairul Azhar Kasmiran
33d33777d0
dbt: Don't show 2nd flag name if eql to 1st flag name ( #3839 )
2023-09-10 22:12:32 +08:00
Quentin Minster
700c7d898b
Serialize seek history ( #3838 )
...
* Save/load seek history ##projects
* Add unit test for seek history serialization
* Bump project version to 15 for seek history serialization
2023-09-10 21:30:30 +08:00
Florian Märkl
9872eacdb5
Add gb (Game Boy, SM83) RzIL Lifting ( #3750 )
2023-09-10 13:47:38 +02:00
Ezinne Anne Emilia
fa0b8187be
Replaced 'assert()' with 'rz_return_val_if_fail()' ( #3813 )
...
Partially fixes #3778
2023-09-08 10:27:07 +08:00
Khairul Azhar Kasmiran
0d70da2d4d
Add py38-expat package to netbsd.yml ( #3836 )
2023-09-06 19:31:58 +08:00
Khairul Azhar Kasmiran
785f47ee26
Implement 'add r#, K' in the x86 assembler ( #3834 )
2023-09-05 23:56:00 +08:00
Anton Kochkov
318a99bbad
Update rz-libdemangle ( #3827 )
2023-09-05 15:13:11 +08:00
ifyGecko
de938ba2ed
fixed pyc uaf ( #3823 )
2023-09-03 19:38:56 +08:00
David CARLIER
285ea07ab5
bsd_generate_corefile for FreeBSD adjust version since the feature is available in the 13.2 serie ( #3820 )
2023-09-03 19:38:40 +08:00
billow
71e6f5d450
Fix DWARF FbReg Operation eval and fuzz test ( #3825 )
...
* Fix FbReg Operation eval
* Fix RzBinDwarfEvaluationResult_to_loc and debug_line directories parse
2023-09-03 17:30:02 +08:00
Peiwei Hu
abec6b127d
Fix: wrong exit condition in rz_analysis_optype_from_string ( #3821 )
2023-09-03 00:52:12 +08:00
sohail1734
c9b16eaab9
Rename some of the environment variables ( #3812 )
2023-09-02 16:34:59 +08:00
billow
ce298395a4
Support for compressed DWARF .zdebug_* sections ( #3819 )
...
* Support for .zdebug_*
* Simplify macro.inc
* Fix ranges and loc, because it was using the wrong bigendian.
* - DW_TAG_ptr_to_member_type as Ptr type
- DW_TAG_unspecified_type as base type
* Fix union in struct
2023-09-02 15:05:18 +08:00
Khairul Azhar Kasmiran
c21764dc4d
regex: Support \S ( #3817 )
2023-09-01 22:43:48 +08:00
Khairul Azhar Kasmiran
681a6b04b8
Fix #3806 : fuzzy dbt checks for CALL indirect on x86 ( #3809 )
2023-08-31 11:02:28 +08:00
sohail1734
a14d83fd65
Fix rz-diff help message ( #3814 )
2023-08-31 09:57:13 +08:00
Florian Märkl
7438207a12
Add OpenBSD core files to gitignore
2023-08-31 08:15:02 +08:00
Florian Märkl
952f96009d
Fix loading zlib dwarf on big endian
2023-08-31 08:15:02 +08:00
Florian Märkl
c097bd7799
Fix zstd on OpenBSD/sparc64
...
Functions like MEM_read32 could still perform unaligned accesses on
OpenBSD/sparc64 with gcc, possibly related to gcc bug 51628. The
solution is to switch to a safe memcpy-based solution and let the
compiler do any optimizations.
2023-08-31 08:15:02 +08:00
Florian Märkl
b4a85e8904
Fix RzBinDwarfCompUnit unit_offset initialization
...
Referencing unit during its own initial assignment made it contain
garbage, at least on OpenBSD/sparc64.
The added null check avoids null derefs in case the binary itself
contains garbage for the aforementioned value.
2023-08-31 08:15:02 +08:00