]> git.feebdaed.xyz Git - 0xmirror/radare2.git/log
0xmirror/radare2.git
4 days agoHonor R2_COLOR env var from rabin2 ##tools
pancake [Tue, 23 Dec 2025 12:35:15 +0000 (13:35 +0100)]
Honor R2_COLOR env var from rabin2 ##tools

4 days agoColorize perm field in iS, dm, dmm and om ##visual
pancake [Tue, 23 Dec 2025 06:58:54 +0000 (07:58 +0100)]
Colorize perm field in iS, dm, dmm and om ##visual

4 days agoRemove the r_vector api (we have r_vec.h)
pancake [Tue, 23 Dec 2025 12:24:18 +0000 (13:24 +0100)]
Remove the r_vector api (we have r_vec.h)

4 days agoRemove rvector calls away from the elf ##bin
pancake [Tue, 23 Dec 2025 10:52:48 +0000 (11:52 +0100)]
Remove rvector calls away from the elf ##bin

4 days agoUse const char in typefunc
pancake [Tue, 23 Dec 2025 07:44:18 +0000 (08:44 +0100)]
Use const char in typefunc

4 days agoMore on the r_vector.h -> r_vec.h migration
potato [Tue, 23 Dec 2025 07:16:03 +0000 (12:46 +0530)]
More on the r_vector.h -> r_vec.h migration

4 days agoUse RVec in machos ##bin
pancake [Mon, 22 Dec 2025 23:51:33 +0000 (00:51 +0100)]
Use RVec in machos ##bin

4 days agoDo not set PC for no reason in the type propagation
pancake [Mon, 22 Dec 2025 23:34:41 +0000 (00:34 +0100)]
Do not set PC for no reason in the type propagation

4 days agoRewrite mem|reg(read|write) in tp for the trace access predicate finder
pancake [Mon, 22 Dec 2025 22:44:18 +0000 (23:44 +0100)]
Rewrite mem|reg(read|write) in tp for the trace access predicate finder

4 days agoUse RVec instead of RVector in rtti-msvc
pancake [Mon, 22 Dec 2025 22:24:29 +0000 (23:24 +0100)]
Use RVec instead of RVector in rtti-msvc

5 days agoUnify redundant state vars in type propagation ##analysis
pancake [Mon, 22 Dec 2025 21:20:40 +0000 (22:20 +0100)]
Unify redundant state vars in type propagation ##analysis

5 days agoUse faster data structures for caching data for type propagation ##analysis
pancake [Mon, 22 Dec 2025 21:25:59 +0000 (22:25 +0100)]
Use faster data structures for caching data for type propagation ##analysis

5 days agoDelete charset.c we have it inside the muta
pancake [Mon, 22 Dec 2025 20:40:31 +0000 (21:40 +0100)]
Delete charset.c we have it inside the muta

5 days agoRemove anal.a2f and the a2f core plugin, it's in anal already ##analysis
pancake [Mon, 22 Dec 2025 20:12:03 +0000 (21:12 +0100)]
Remove anal.a2f and the a2f core plugin, it's in anal already ##analysis

5 days agoFix some more oobs from clang-analyzer
pancake [Mon, 22 Dec 2025 19:46:58 +0000 (20:46 +0100)]
Fix some more oobs from clang-analyzer

5 days agoFix oobwrite in r_strbuf_append_n ##crash
pancake [Mon, 22 Dec 2025 19:20:47 +0000 (20:20 +0100)]
Fix oobwrite in r_strbuf_append_n ##crash

5 days agoDisable runtime warnings for R_CHECKS_LEVEL == 0
Ole André Vadla Ravnås [Mon, 22 Dec 2025 18:20:04 +0000 (19:20 +0100)]
Disable runtime warnings for R_CHECKS_LEVEL == 0

5 days agoAlso use -Oz in sdk-common.sh ##build
Ole André Vadla Ravnås [Mon, 22 Dec 2025 18:19:03 +0000 (19:19 +0100)]
Also use -Oz in sdk-common.sh ##build

5 days agoOmit third-party asserts during SDK builds ##build
Ole André Vadla Ravnås [Mon, 22 Dec 2025 18:17:04 +0000 (19:17 +0100)]
Omit third-party asserts during SDK builds ##build

5 days agoFix a bunch of undefined values, duplicated checks spotted by clang-analyzer
pancake [Mon, 22 Dec 2025 18:35:39 +0000 (19:35 +0100)]
Fix a bunch of undefined values, duplicated checks spotted by clang-analyzer

5 days agoDisable runtime checks for QuickJS
pancake [Mon, 22 Dec 2025 17:48:51 +0000 (18:48 +0100)]
Disable runtime checks for QuickJS

5 days agoConver the blaze analysis from core into an analysis plugin ##analysis
pancake [Mon, 22 Dec 2025 17:34:52 +0000 (18:34 +0100)]
Conver the blaze analysis from core into an analysis plugin ##analysis

5 days agoAdd SKIPONASAN option for r2r to avoid a dmh test to fail ##tests
pancake [Mon, 22 Dec 2025 17:28:14 +0000 (18:28 +0100)]
Add SKIPONASAN option for r2r to avoid a dmh test to fail ##tests

5 days agoBuild SDKs without runtime checks ##build
Ole André Vadla Ravnås [Mon, 22 Dec 2025 17:23:31 +0000 (18:23 +0100)]
Build SDKs without runtime checks ##build

5 days agoLittle rvec optimizations
pancake [Mon, 22 Dec 2025 17:23:20 +0000 (18:23 +0100)]
Little rvec optimizations

5 days agoImplement the @@@m:perm foreach operator ##shell
pancake [Mon, 22 Dec 2025 15:37:34 +0000 (16:37 +0100)]
Implement the @@@m:perm foreach operator ##shell

5 days agoUse size_t in r_vec instead of ut64
pancake [Mon, 22 Dec 2025 13:50:51 +0000 (14:50 +0100)]
Use size_t in r_vec instead of ut64

5 days agoFix null deref in dsession
pancake [Mon, 22 Dec 2025 12:25:32 +0000 (13:25 +0100)]
Fix null deref in dsession

6 days agoFix some null derefs spotted by clang-analyzer and coverity
pancake [Sun, 21 Dec 2025 17:15:57 +0000 (18:15 +0100)]
Fix some null derefs spotted by clang-analyzer and coverity

6 days agoOne less broken leak test
pancake [Sun, 21 Dec 2025 17:15:44 +0000 (18:15 +0100)]
One less broken leak test

6 days agoMake the leading double lowerdash in symbols irrelevant ##analysis
pancake [Sun, 21 Dec 2025 13:51:27 +0000 (14:51 +0100)]
Make the leading double lowerdash in symbols irrelevant ##analysis

* Remove duplicated type entries

6 days agoFix null deref in debug session
pancake [Sun, 21 Dec 2025 13:29:36 +0000 (14:29 +0100)]
Fix null deref in debug session

6 days agoIf arch isvm lower varmin to zero ##disasm
pancake [Sun, 21 Dec 2025 12:38:35 +0000 (13:38 +0100)]
If arch isvm lower varmin to zero ##disasm

6 days agoDont depend on global cons instance for win_is_vtcompat ##crash
pancake [Sun, 21 Dec 2025 10:25:33 +0000 (11:25 +0100)]
Dont depend on global cons instance for win_is_vtcompat ##crash

6 days agoRemove globals from the python plugins ##bin
pancake [Sun, 21 Dec 2025 10:22:52 +0000 (11:22 +0100)]
Remove globals from the python plugins ##bin

6 days agoFix radare2 gdb remote debugging support and add test ##debug
potato [Sun, 21 Dec 2025 09:28:00 +0000 (14:58 +0530)]
Fix radare2 gdb remote debugging support and add test ##debug

7 days agoFix last 3 covs
pancake [Sat, 20 Dec 2025 18:55:14 +0000 (19:55 +0100)]
Fix last 3 covs

7 days agoUpdate cs-next + bninja + qjs
satk0 [Sat, 20 Dec 2025 12:52:46 +0000 (13:52 +0100)]
Update cs-next + bninja + qjs

7 days agoImplement the scr.rainwbow.regs option ##disasm
pancake [Sat, 20 Dec 2025 12:04:48 +0000 (13:04 +0100)]
Implement the scr.rainwbow.regs option ##disasm

7 days agoAdd and fix more memory leaking tests
pancake [Sat, 20 Dec 2025 12:04:02 +0000 (13:04 +0100)]
Add and fix more memory leaking tests

7 days agoAvoid rbinfiles to UAF if the rbin plugin associated is unloaded ##crash
pancake [Sat, 20 Dec 2025 10:40:01 +0000 (11:40 +0100)]
Avoid rbinfiles to UAF if the rbin plugin associated is unloaded ##crash

7 days agoFix aaef corrupting files in write mode by routing ESIL writes to IO overlay ##analysis
potato [Sat, 20 Dec 2025 08:07:42 +0000 (13:37 +0530)]
Fix aaef corrupting files in write mode by routing ESIL writes to IO overlay ##analysis

7 days agoEnable rawio by default ##io
pancake [Sat, 20 Dec 2025 08:07:13 +0000 (09:07 +0100)]
Enable rawio by default ##io

* Fix related bugs in rbuf

7 days agoFifo io is not for everyone
pancake [Sat, 20 Dec 2025 07:02:56 +0000 (08:02 +0100)]
Fifo io is not for everyone

7 days agoFix windows build
pancake [Sat, 20 Dec 2025 06:30:26 +0000 (07:30 +0100)]
Fix windows build

7 days agoAdd support for pipe fifo files with 'r2 <(uname)' ##io
pancake [Fri, 19 Dec 2025 23:34:57 +0000 (00:34 +0100)]
Add support for pipe fifo files with 'r2 <(uname)' ##io

7 days agoFix reset after bytes regression in disasm
pancake [Fri, 19 Dec 2025 23:34:39 +0000 (00:34 +0100)]
Fix reset after bytes regression in disasm

7 days agoFix scr.color.regs when scr.color.ops is false ##disasm
pancake [Fri, 19 Dec 2025 23:04:10 +0000 (00:04 +0100)]
Fix scr.color.regs when scr.color.ops is false ##disasm

7 days agoAdd memory leak testsuite using valgrind #tests
pancake [Fri, 19 Dec 2025 23:03:50 +0000 (00:03 +0100)]
Add memory leak testsuite using valgrind #tests

7 days agoMake the bluy theme really bluish ##cons
pancake [Fri, 19 Dec 2025 22:35:23 +0000 (23:35 +0100)]
Make the bluy theme really bluish ##cons

* Fix UAF in theme switching from disasm

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