]> git.feebdaed.xyz Git - 0xmirror/radare2.git/log
0xmirror/radare2.git
7 days agoFix asan uaf in print_regcolor
pancake [Fri, 19 Dec 2025 22:38:17 +0000 (23:38 +0100)]
Fix asan uaf in print_regcolor

7 days agoFix colorized ops with byte colors when scr.color.ops=false ##disasm
pancake [Fri, 19 Dec 2025 22:30:41 +0000 (23:30 +0100)]
Fix colorized ops with byte colors when scr.color.ops=false ##disasm

7 days agoIgnore unused warnings in ppc code
pancake [Fri, 19 Dec 2025 17:50:03 +0000 (18:50 +0100)]
Ignore unused warnings in ppc code

7 days agoBuild less wasis in PRs ##ci
pancake [Fri, 19 Dec 2025 22:04:05 +0000 (23:04 +0100)]
Build less wasis in PRs ##ci

7 days agoUpdate the rpm package ##build
pancake [Fri, 19 Dec 2025 22:02:30 +0000 (23:02 +0100)]
Update the rpm package ##build

8 days agoAdd register rainbow coloring support ##disasm
potato [Fri, 19 Dec 2025 21:41:30 +0000 (03:11 +0530)]
Add register rainbow coloring support ##disasm

8 days agoBring back the archos tests
pancake [Fri, 19 Dec 2025 21:39:07 +0000 (22:39 +0100)]
Bring back the archos tests

8 days agoFix the swift demangling tests with trylib=false ##bin
pancake [Fri, 19 Dec 2025 19:20:59 +0000 (20:20 +0100)]
Fix the swift demangling tests with trylib=false ##bin

* We need a fake bf when using iD without any binary loaded to have access to the RBinOptions

8 days agoDiscard unaligned strings with bin.str.align option ##bin
pancake [Fri, 19 Dec 2025 17:27:54 +0000 (18:27 +0100)]
Discard unaligned strings with bin.str.align option ##bin

8 days agoFix miss-indented labels and cases with clang-format-radare2
pancake [Fri, 19 Dec 2025 15:11:47 +0000 (16:11 +0100)]
Fix miss-indented labels and cases with clang-format-radare2

8 days agoFix the swift demangler tests
pancake [Fri, 19 Dec 2025 11:27:32 +0000 (12:27 +0100)]
Fix the swift demangler tests

8 days agoUpdate SDB 2.3 and fix the reference counting problem
pancake [Fri, 19 Dec 2025 09:39:41 +0000 (10:39 +0100)]
Update SDB 2.3 and fix the reference counting problem

8 days agoLeft shift on signed numbers is not ok
pancake [Fri, 19 Dec 2025 00:13:54 +0000 (01:13 +0100)]
Left shift on signed numbers is not ok

8 days agoFix recently introduced double free bug
pancake [Fri, 19 Dec 2025 00:42:06 +0000 (01:42 +0100)]
Fix recently introduced double free bug

8 days agoUse a stringpool for the addrline structs
pancake [Thu, 18 Dec 2025 23:17:19 +0000 (00:17 +0100)]
Use a stringpool for the addrline structs

8 days agoRefresh palete when needed only, fix 'ec' calls from RCore.cmdStr ##cons
pancake [Thu, 18 Dec 2025 22:40:20 +0000 (23:40 +0100)]
Refresh palete when needed only, fix 'ec' calls from RCore.cmdStr ##cons

9 days agoUse the arena allocator and fix memory leaks in the dwarf parser ##bin
qz [Thu, 18 Dec 2025 20:10:49 +0000 (21:10 +0100)]
Use the arena allocator and fix memory leaks in the dwarf parser ##bin

9 days agoAlign SDK plugin configs with the default config
Ole André Vadla Ravnås [Thu, 18 Dec 2025 16:01:06 +0000 (17:01 +0100)]
Align SDK plugin configs with the default config

Just moving the one shared plugin, io.shm, to also be static.

9 days agoBuild xcframework with frameworks ##build
Ole André Vadla Ravnås [Wed, 17 Dec 2025 18:34:26 +0000 (19:34 +0100)]
Build xcframework with frameworks ##build

9 days agoFix libr.dylib exports on Apple OSes ##build
Ole André Vadla Ravnås [Wed, 17 Dec 2025 17:46:28 +0000 (18:46 +0100)]
Fix libr.dylib exports on Apple OSes ##build

This also simplifies the libr Makefile by removing unused bits.

9 days agoSupport loading data files relative to the binary
Ole André Vadla Ravnås [Tue, 16 Dec 2025 01:07:49 +0000 (02:07 +0100)]
Support loading data files relative to the binary

For Apple OSes when we're shipped as a framework.

9 days agoFix last uafs in coff spotted by scan coverity
pancake [Thu, 18 Dec 2025 13:42:54 +0000 (14:42 +0100)]
Fix last uafs in coff spotted by scan coverity

9 days agoBetter color limit checks with TERM ##cons
pancake [Thu, 18 Dec 2025 13:34:41 +0000 (14:34 +0100)]
Better color limit checks with TERM ##cons

9 days agoFix analysis-related memory leaks
pancake [Thu, 18 Dec 2025 11:12:23 +0000 (12:12 +0100)]
Fix analysis-related memory leaks

10 days agoFix memory leaks in the macho parser
pancake [Wed, 17 Dec 2025 21:11:23 +0000 (22:11 +0100)]
Fix memory leaks in the macho parser

10 days agoFix memory leaks in the COFF parser
pancake [Wed, 17 Dec 2025 20:56:34 +0000 (21:56 +0100)]
Fix memory leaks in the COFF parser

10 days agoOne more elf leak fixed
pancake [Wed, 17 Dec 2025 20:20:57 +0000 (21:20 +0100)]
One more elf leak fixed

10 days agoMore leaks fixed for r2r. Workaround the system() random fail
pancake [Wed, 17 Dec 2025 20:14:17 +0000 (21:14 +0100)]
More leaks fixed for r2r. Workaround the system() random fail

10 days agoProper cleanup of relocs, imports and symbols in ELF
pancake [Wed, 17 Dec 2025 20:04:28 +0000 (21:04 +0100)]
Proper cleanup of relocs, imports and symbols in ELF

10 days agoFix minor leak in the flagitem.rawname
pancake [Wed, 17 Dec 2025 17:16:41 +0000 (18:16 +0100)]
Fix minor leak in the flagitem.rawname

10 days agoUpdate sdb 2.2.8 to fix some leaks
pancake [Wed, 17 Dec 2025 17:14:01 +0000 (18:14 +0100)]
Update sdb 2.2.8 to fix some leaks

10 days agoFix some code analysis leaks
pancake [Wed, 17 Dec 2025 17:09:23 +0000 (18:09 +0100)]
Fix some code analysis leaks

10 days agoSome bin/pe leaks fixes
pancake [Wed, 17 Dec 2025 12:42:11 +0000 (13:42 +0100)]
Some bin/pe leaks fixes

10 days agoFix memory leak in the lea addresses in the analysis
pancake [Wed, 17 Dec 2025 12:32:48 +0000 (13:32 +0100)]
Fix memory leak in the lea addresses in the analysis

10 days agoFix demangling bombs honoring the maxsymlen option ##bin
potato [Wed, 17 Dec 2025 10:58:57 +0000 (16:28 +0530)]
Fix demangling bombs honoring the maxsymlen option ##bin

10 days agoFix xrefs in apk:// rebase getoffset() with RBinFile.getVaddr() ##bin
potato [Wed, 17 Dec 2025 10:55:15 +0000 (16:25 +0530)]
Fix xrefs in apk:// rebase getoffset() with RBinFile.getVaddr() ##bin

11 days agoFix minor memory leak in r2r
pancake [Tue, 16 Dec 2025 20:06:02 +0000 (21:06 +0100)]
Fix minor memory leak in r2r

11 days agoFix multiple layout settings ##panels
pancake [Tue, 16 Dec 2025 17:46:50 +0000 (18:46 +0100)]
Fix multiple layout settings ##panels

11 days agoFix memory leaks related to r_cons_editor calls
pancake [Tue, 16 Dec 2025 15:42:26 +0000 (16:42 +0100)]
Fix memory leaks related to r_cons_editor calls

11 days agoDisplay short test paths if possible ##tests
pancake [Tue, 16 Dec 2025 15:27:21 +0000 (16:27 +0100)]
Display short test paths if possible ##tests

11 days agoCheck and display libr version with r2, r2r and rasm2 are the same bin with libs...
pancake [Tue, 16 Dec 2025 12:37:05 +0000 (13:37 +0100)]
Check and display libr version with r2, r2r and rasm2 are the same bin with libs ##tests

11 days agoMove the interactivity logic from r2r into a separate file
pancake [Tue, 16 Dec 2025 11:42:00 +0000 (12:42 +0100)]
Move the interactivity logic from r2r into a separate file

11 days agoReplace chevron operators with LSL, LSR, ASR, ROL ##esil
potato [Tue, 16 Dec 2025 11:16:40 +0000 (16:46 +0530)]
Replace chevron operators with LSL, LSR, ASR, ROL  ##esil

* Rotate and assign operators are removed too

11 days agoAdd asm.cmt.strings to disable aop.ptr strings ##disasm
pancake [Mon, 15 Dec 2025 22:39:34 +0000 (23:39 +0100)]
Add asm.cmt.strings to disable aop.ptr strings ##disasm

11 days agoSupport asm.pseudo plugins when full match fails
pancake [Mon, 15 Dec 2025 19:43:44 +0000 (20:43 +0100)]
Support asm.pseudo plugins when full match fails

12 days agoImplement -hh for rabin2 and rasm2 ##tools
pancake [Mon, 15 Dec 2025 17:00:47 +0000 (18:00 +0100)]
Implement -hh for rabin2 and rasm2 ##tools

12 days agoRename the ownership sugar macros R_OWNED/R_UNOWNED
pancake [Mon, 15 Dec 2025 16:41:02 +0000 (17:41 +0100)]
Rename the ownership sugar macros R_OWNED/R_UNOWNED

12 days agoUpdate the README with missing bins, archs and fs
pancake [Mon, 15 Dec 2025 16:38:36 +0000 (17:38 +0100)]
Update the README with missing bins, archs and fs

12 days agoInclude abiversion in -v and -V ##tools
pancake [Mon, 15 Dec 2025 16:27:53 +0000 (17:27 +0100)]
Include abiversion in -v and -V ##tools

12 days agoFix last deadcode and resource leak bugs from coverity
pancake [Mon, 15 Dec 2025 14:58:11 +0000 (15:58 +0100)]
Fix last deadcode and resource leak bugs from coverity

- CID 1643759 (DEADCODE) - libr/muta/charset.c:159
  - Removed redundant ternary (consumed > 0) ? consumed : 1 since consumed is always ≥1 at that point
- CID 1643758 & 1643755 (RESOURCE_LEAK) - libr/core/core.c
  - Added free(obuf) in all exit paths of r_core_charset_decode_cb() and r_core_charset_encode_cb()
  - Fixed both early return paths (when olen < 1 or cpy allocation fails) and the success path
- CID 1643757 (RESOURCE_LEAK) - libr/muta/p/muta_charset_katakana.c and libr/muta/p/muta_charset_jis7.c
  - Moved free(out) outside the if block so it's always called regardless of the condition
- CID 1643756 (RESOURCE_LEAK) - libr/util/syscmd.c:50
  - Added free(safe) before the early return when strdup() fails

12 days agoFix #25037 - Support to assemble the 'enter' instruction for x86 ##arch
pancake [Mon, 15 Dec 2025 14:55:30 +0000 (15:55 +0100)]
Fix #25037 - Support to assemble the 'enter' instruction for x86 ##arch

12 days agoFix memory leak in the pdb parser spotted by scan coverity
pancake [Mon, 15 Dec 2025 14:16:27 +0000 (15:16 +0100)]
Fix memory leak in the pdb parser spotted by scan coverity

12 days agoDont use a vector when we can just use an array in r2r
pancake [Mon, 15 Dec 2025 14:07:27 +0000 (15:07 +0100)]
Dont use a vector when we can just use an array in r2r

12 days agoOne more strbuf reserve and unnecessary uses of it ##perf
pancake [Mon, 15 Dec 2025 13:21:25 +0000 (14:21 +0100)]
One more strbuf reserve and unnecessary uses of it ##perf

* Reduce 200 allocations in 'r2r cmd_i'
* RStrbuf for 1 allocation is unnecessary

12 days agoFix main's memory leak when using the blob builds
pancake [Mon, 15 Dec 2025 13:32:48 +0000 (14:32 +0100)]
Fix main's memory leak when using the blob builds

12 days agoReduce strbuf drains by removing the slack area ##perf
pancake [Mon, 15 Dec 2025 13:15:43 +0000 (14:15 +0100)]
Reduce strbuf drains by removing the slack area ##perf

12 days agoBump actions/download-artifact from 6 to 7
dependabot[bot] [Mon, 15 Dec 2025 11:50:55 +0000 (12:50 +0100)]
Bump actions/download-artifact from 6 to 7

12 days agoBump actions/upload-artifact from 5 to 6
dependabot[bot] [Mon, 15 Dec 2025 11:50:37 +0000 (12:50 +0100)]
Bump actions/upload-artifact from 5 to 6

12 days agoUse logaritmic capacity grows in strbuf ##util
pancake [Mon, 15 Dec 2025 11:49:40 +0000 (12:49 +0100)]
Use logaritmic capacity grows in strbuf ##util

* For simple r2r cmd_i
* Reduces memory from 310KB to 270KB
* Call 100 less allocations

12 days agoImplement .types for the PDB plugin ##bin
pancake [Mon, 15 Dec 2025 11:18:36 +0000 (12:18 +0100)]
Implement .types for the PDB plugin ##bin

12 days agoFix r_hash_tostring using update/end properly ##hash
pancake [Mon, 15 Dec 2025 09:57:11 +0000 (10:57 +0100)]
Fix r_hash_tostring using update/end properly ##hash

12 days agoResolve muta plugins with name when check method is null
pancake [Sun, 14 Dec 2025 16:40:43 +0000 (17:40 +0100)]
Resolve muta plugins with name when check method is null

13 days agoEnforce R2_DEBUG_ASSERT=1 in unit tests
pancake [Sun, 14 Dec 2025 12:31:18 +0000 (13:31 +0100)]
Enforce R2_DEBUG_ASSERT=1 in unit tests

13 days agoEmpty esil expressions are just fine for anal::tp
pancake [Sun, 14 Dec 2025 12:30:56 +0000 (13:30 +0100)]
Empty esil expressions are just fine for anal::tp

13 days agoPort all charsets from r_charset to rmuta via charset plugins ##muta
pancake [Sun, 14 Dec 2025 11:43:29 +0000 (12:43 +0100)]
Port all charsets from r_charset to rmuta via charset plugins ##muta

2 weeks agoEscape special chars in filenames under ls
pancake [Sat, 13 Dec 2025 00:10:36 +0000 (00:10 +0000)]
Escape special chars in filenames under ls

2 weeks agoFix static Linux builds
pancake [Fri, 12 Dec 2025 23:20:58 +0000 (00:20 +0100)]
Fix static Linux builds

2 weeks agoRemove dead repology badges
pancake [Fri, 12 Dec 2025 23:18:20 +0000 (00:18 +0100)]
Remove dead repology badges

2 weeks agoFix multidex apk:// rebasing ##bin
potato [Fri, 12 Dec 2025 14:51:58 +0000 (20:21 +0530)]
Fix multidex apk:// rebasing ##bin

2 weeks agoUpdate to use the latest wasi-sdk-29.0 ##wasm
pancake [Thu, 11 Dec 2025 18:21:07 +0000 (19:21 +0100)]
Update to use the latest wasi-sdk-29.0 ##wasm

* Breaks linux-static builds, but we may address that later

2 weeks agoFix oobread crash in dotnet parser ##crash
pancake [Thu, 11 Dec 2025 18:16:23 +0000 (19:16 +0100)]
Fix oobread crash in dotnet parser ##crash

2 weeks ago Use ./configure -qV instead of sys/version.py ##ci
pancake [Thu, 11 Dec 2025 17:48:44 +0000 (18:48 +0100)]
 Use ./configure -qV instead of sys/version.py ##ci

2 weeks agoAdd XCFramework builds in the release pipelines ##ci
pancake [Thu, 11 Dec 2025 17:27:02 +0000 (18:27 +0100)]
Add XCFramework builds in the release pipelines ##ci

2 weeks agoFix apfs test
pancake [Thu, 11 Dec 2025 15:34:25 +0000 (16:34 +0100)]
Fix apfs test

2 weeks agoFix null deref in the p9 parser ##crash
pancake [Thu, 11 Dec 2025 15:31:55 +0000 (16:31 +0100)]
Fix null deref in the p9 parser ##crash

2 weeks agoFix and tune the xcframework sdk ##build
Ole André Vadla Ravnås [Thu, 11 Dec 2025 15:10:57 +0000 (16:10 +0100)]
Fix and tune the xcframework sdk ##build

2 weeks agoFix last covs in analtp/pe/apfs
pancake [Thu, 11 Dec 2025 15:08:00 +0000 (16:08 +0100)]
Fix last covs in analtp/pe/apfs

2 weeks agoUse R_LOG instead of eprintf in syscmd.c
pancake [Thu, 11 Dec 2025 15:07:47 +0000 (16:07 +0100)]
Use R_LOG instead of eprintf in syscmd.c

2 weeks agoFix another corner case for the ls column problem
pancake [Thu, 11 Dec 2025 15:07:34 +0000 (16:07 +0100)]
Fix another corner case for the ls column problem

2 weeks agoSort apfs files by name instead of randomly depending on a hashtable ##fs
pancake [Thu, 11 Dec 2025 15:06:46 +0000 (16:06 +0100)]
Sort apfs files by name instead of randomly depending on a hashtable ##fs

2 weeks agoDetect and warn when setting overlapped breakpoints ##debug
pancake [Thu, 11 Dec 2025 15:06:14 +0000 (16:06 +0100)]
Detect and warn when setting overlapped breakpoints ##debug

2 weeks agoSolve pip issues in the ci
pancake [Thu, 11 Dec 2025 15:05:02 +0000 (16:05 +0100)]
Solve pip issues in the ci

2 weeks agoAPFS info log messages are now debug ones again
pancake [Thu, 11 Dec 2025 13:15:20 +0000 (14:15 +0100)]
APFS info log messages are now debug ones again

2 weeks agoFix accidental regression
pancake [Thu, 11 Dec 2025 13:07:41 +0000 (14:07 +0100)]
Fix accidental regression

2 weeks agoPlease the snake with --break-system-packages for the last apple thing
pancake [Thu, 11 Dec 2025 12:00:51 +0000 (13:00 +0100)]
Please the snake with --break-system-packages for the last apple thing

2 weeks agoSuggest r2pm for r2mcp and r2ai commands
pancake [Thu, 11 Dec 2025 12:01:34 +0000 (13:01 +0100)]
Suggest r2pm for r2mcp and r2ai commands

2 weeks agoImplement support for reading files in apfs mountpoints ##fs
pancake [Thu, 11 Dec 2025 10:50:36 +0000 (11:50 +0100)]
Implement support for reading files in apfs mountpoints ##fs

Co-authored-by: pancake <pancake@nopcode.org>
2 weeks agoFix column width in 'ls' ##shell
pancake [Thu, 11 Dec 2025 10:43:42 +0000 (11:43 +0100)]
Fix column width in 'ls' ##shell

2 weeks agoFix column width in 'ls' output ##shell
pancake [Wed, 10 Dec 2025 19:35:24 +0000 (20:35 +0100)]
Fix column width in 'ls' output ##shell

2 weeks agoRetrieve the file sizes in the apfs filesystem ##fs
pancake [Wed, 10 Dec 2025 19:34:51 +0000 (20:34 +0100)]
Retrieve the file sizes in the apfs filesystem ##fs

2 weeks agoAdd JSON support to rafs2 ##tools
pancake [Wed, 10 Dec 2025 19:22:03 +0000 (20:22 +0100)]
Add JSON support to rafs2 ##tools

2 weeks agoAddress some TODOs in the breakpoint apis
pancake [Wed, 10 Dec 2025 08:44:28 +0000 (09:44 +0100)]
Address some TODOs in the breakpoint apis

2 weeks agoSwitch to macos15 because older ci runners are not available ##ci
pancake [Wed, 10 Dec 2025 07:16:11 +0000 (07:16 +0000)]
Switch to macos15 because older ci runners are not available ##ci

2 weeks agoRemove unused variable
pancake [Wed, 10 Dec 2025 02:49:55 +0000 (02:49 +0000)]
Remove unused variable

2 weeks agoApply some fixes for the xcframework build
Ole André Vadla Ravnås [Wed, 10 Dec 2025 00:38:52 +0000 (01:38 +0100)]
Apply some fixes for the xcframework build

2 weeks agoImprove abiversion warning messages ##core
pancake [Wed, 10 Dec 2025 00:02:00 +0000 (01:02 +0100)]
Improve abiversion warning messages ##core

2 weeks agoFix analysis command plugin listing 'a:?' ##analysis
pancake [Tue, 9 Dec 2025 23:57:38 +0000 (00:57 +0100)]
Fix analysis command plugin listing 'a:?' ##analysis

2 weeks agoDont list dwarf source files on loading
pancake [Tue, 9 Dec 2025 23:32:50 +0000 (00:32 +0100)]
Dont list dwarf source files on loading

2 weeks agoFix modulemap
pancake [Tue, 9 Dec 2025 22:52:58 +0000 (23:52 +0100)]
Fix modulemap

2 weeks agoAdd APIs to register sessions ##http
pancake [Tue, 9 Dec 2025 19:58:13 +0000 (20:58 +0100)]
Add APIs to register sessions ##http