]> git.feebdaed.xyz Git - 0xmirror/radare2.git/log
0xmirror/radare2.git
20 hours agoCleanup the pdb parser, adding more boundary checks and reuse r2 primitives master
pancake [Fri, 26 Dec 2025 23:46:57 +0000 (00:46 +0100)]
Cleanup the pdb parser, adding more boundary checks and reuse r2 primitives

* Fixes two oobread bugs (15478891547971)

2 days agoFix oobread in dmh with glibc and uaf in magic command ##crash
pancake [Thu, 25 Dec 2025 15:43:01 +0000 (16:43 +0100)]
Fix oobread in dmh with glibc and uaf in magic command ##crash

2 days agoFix UAF in the pdb deinit process ##crash
pancake [Thu, 25 Dec 2025 11:32:02 +0000 (12:32 +0100)]
Fix UAF in the pdb deinit process ##crash

2 days agoFix a couple of recent integer overflows in PE ##crash
pancake [Thu, 25 Dec 2025 10:49:39 +0000 (11:49 +0100)]
Fix a couple of recent integer overflows in PE ##crash

2 days agoOne byte oobread in the rap server
pancake [Thu, 25 Dec 2025 10:53:31 +0000 (11:53 +0100)]
One byte oobread in the rap server

3 days agoImplement typedef union and enum parsing in KVC parser ##types
potato [Wed, 24 Dec 2025 15:57:45 +0000 (21:27 +0530)]
Implement typedef union and enum parsing in KVC parser ##types

3 days agoSometimes r_asm_mdisassemble can return NULL
pancake [Wed, 24 Dec 2025 15:51:24 +0000 (16:51 +0100)]
Sometimes r_asm_mdisassemble can return NULL

3 days agoImprove r2r leaksuite and fix disasm, pdsf and other global leaks
pancake [Wed, 24 Dec 2025 15:46:20 +0000 (16:46 +0100)]
Improve r2r leaksuite and fix disasm, pdsf and other global leaks

3 days agoFix null deref in coredumping logic
pancake [Wed, 24 Dec 2025 10:10:36 +0000 (11:10 +0100)]
Fix null deref in coredumping logic

3 days agoFix some bugs in the type propagation code
pancake [Tue, 23 Dec 2025 20:46:46 +0000 (21:46 +0100)]
Fix some  bugs in the type propagation code

4 days agoFix the last bugs spotted by scan-coverity
pancake [Tue, 23 Dec 2025 15:39:09 +0000 (16:39 +0100)]
Fix the last bugs spotted by scan-coverity

4 days agoFix oobwrite segfault in dotnet parser ##crash
pancake [Tue, 23 Dec 2025 15:54:57 +0000 (16:54 +0100)]
Fix oobwrite segfault in dotnet parser ##crash

4 days agoUse tabs for Info.plist indentation
Ole André Vadla Ravnås [Tue, 23 Dec 2025 11:36:56 +0000 (12:36 +0100)]
Use tabs for Info.plist indentation

To match the formatting produced by plutil when converting to xml1.

4 days agoFix non-macOS SDK framework resource layout
Ole André Vadla Ravnås [Tue, 23 Dec 2025 11:31:36 +0000 (12:31 +0100)]
Fix non-macOS SDK framework resource layout

Non-macOS SDK frameworks now place resources and Info.plist at the
framework root rather than under a Resources/ directory.

On iOS-family platforms, the presence of a Resources directory changes
CFBundle lookup behavior and causes the root Info.plist to be ignored,
resulting in empty bundle info dictionaries and installd validation
failures. Placing resources at the root matches common iOS framework
layouts and avoids the need to duplicate Info.plist files.

This change updates both SDK packaging logic and runtime bundle location
detection to reflect the corrected layout.

4 days agoUpdate tests and expose the srwx helper
pancake [Tue, 23 Dec 2025 14:07:43 +0000 (15:07 +0100)]
Update tests and expose the srwx helper

4 days agoRemove fdsz global variable
pancake [Tue, 23 Dec 2025 12:50:38 +0000 (13:50 +0100)]
Remove fdsz global variable

4 days agoImprove r_str_rwx to parse the shar bit ##util
pancake [Tue, 23 Dec 2025 12:44:11 +0000 (13:44 +0100)]
Improve r_str_rwx to parse the shar bit ##util

4 days agoSperm bit handled in the helper ##util
pancake [Tue, 23 Dec 2025 12:41:58 +0000 (13:41 +0100)]
Sperm bit handled in the helper ##util

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

4 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

4 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

4 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

7 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

7 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

9 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

9 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

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

9 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