Commit Graph

27532 Commits

Author SHA1 Message Date
pancake
144b79daeb wip 2024-05-23 12:08:37 +02:00
pancake
26fcb804d2 WIP: Fix R_ARM_CALL relocs 2024-05-23 12:08:37 +02:00
pancake
42a463096c
More cleanups on the objc parser, with minor optimizations ##bin 2024-05-23 12:00:27 +02:00
Richard Patel
6843b21435 Fix mdmp list sz ##endian
radare2 blindly allocates memory according to size fields in the
minidump.  This size field was misinterpreted on big endian.
2024-05-23 08:11:25 +02:00
pancake
5d53d5670d Minor optimizations in the ObjC demangler ##bin 2024-05-22 23:43:32 +02:00
pancake
2c53e958ee
Add r2pm hint for r2ai if the package is not installed ##shell 2024-05-22 20:27:33 +02:00
pancake
e4a3750a8d Add missing rv64 case for the native debugger ##debug 2024-05-22 01:28:49 +02:00
pancake
1e0a8853ed Add rax2 -q to be quiet when printing hexdumps ##tools 2024-05-21 21:49:36 +02:00
pancake
e4fc197e59
/ad supports glob matching now ##search 2024-05-21 21:38:53 +02:00
pancake
76421b65a2
Fix some vulns spotted in the swift demangler ##crash 2024-05-20 20:15:15 +02:00
pancake
2f2b701155 Show errors when read callback is not available for arch 2024-05-20 18:29:23 +02:00
pancake
85238782f5 Use unsigned long instead of %d (int) in format string 2024-05-16 19:55:16 +02:00
pancake
58b8eae26b Remove unnecessary goto in r_core_lines_initcache 2024-05-16 19:47:28 +02:00
pancake
247e60316d Fix possible strlen (NULL) and reduce few dereferences in RConsGrep ##crash 2024-05-16 19:43:23 +02:00
pancake
0ab56494da Fix two format strings receiving less arguments ##crash 2024-05-16 19:32:51 +02:00
pancake
fcda581b7d Fix #22947 - afbij now returns an array ##analysis
* Because a single instruction can be used in two different basic blocks
2024-05-16 18:22:07 +02:00
pancake
c2d66481c7
Fix #22933 - fix endian for c4 comparison ##endian 2024-05-16 13:20:44 +02:00
pancake
02daeac176
Handle another double string case for the lowerdash swift mangling ##bin 2024-05-16 12:46:50 +02:00
pancake
3591b61ec2 Handle more Swift demangler tail attributes ##bin 2024-05-16 11:55:35 +02:00
pancake
5eb200f4eb
Improve osabi detection for android ##bin 2024-05-16 11:18:16 +02:00
pancake
2a5a22f0ea Handle unhandled mangled cases for my future self 2024-05-15 22:18:33 +02:00
pancake
3cbf955214 Handle deinit/dealloc swift mangling attributes ##bin 2024-05-15 22:18:33 +02:00
pancake
93650a9242 Implement conformsToProtocol mangling logic for Swift ##bin 2024-05-15 22:18:33 +02:00
pancake
608b0c7c8a
Support the 'O' element in the swift demangler ##bin 2024-05-15 19:17:04 +02:00
pancake
adabe57f3c Fix #22939 - ub shifts on sixref ##analysis
* This was fixed three years ago, but never synced back
* 222e14da3c
2024-05-15 17:54:18 +02:00
pancake
7e9df8e0cb Improved stripped mach0 detection logic ##bin 2024-05-13 22:14:07 +02:00
pancake
ab916ab8f4 Remove the goto in the i command parser, make isarray a boolean 2024-05-13 19:02:48 +02:00
pancake
ce15359c89 Fix ahi i for .ipaddr casting instruction arguments in BE ##endian 2024-05-13 18:23:31 +02:00
pancake
4cb5fb1c5e Fix mips.gnu on BE host ##endian 2024-05-13 18:13:41 +02:00
pancake
05bf34abe5
Fix sparc disassembler for big endian hosts ##endian 2024-05-13 18:07:13 +02:00
pancake
4ee16e2c81 Fix cast for 32bit const types 2024-05-13 17:41:09 +02:00
pancake
a06c61899b
Fix reading segment count for ELF ##endian 2024-05-13 17:38:40 +02:00
pancake
ee54918181 Fix endian bugs in the tcc enum parser ##endian 2024-05-13 17:16:29 +02:00
pancake
bda40f9bf9 Fix #22932 - null deref in b64: ##crash 2024-05-13 15:21:49 +02:00
Richard Patel
015ab91158 Big endian RISC-V dis fix ##endian 2024-05-13 15:08:38 +02:00
pancake
44144b57c1 Don't show zero values as comments ##disasm 2024-05-13 14:13:56 +02:00
Richard Patel
9cb47493ae Big endian AVR encode fix ##endian 2024-05-13 14:05:11 +02:00
pancake
102dc7a5a3 Fix 32bit value displayed twice in disasm on big endian hosts 2024-05-13 13:53:24 +02:00
pancake
1ef9fb1ab2 Fix abi break introduced after fixing RBitMap in 4691af97a0 2024-05-13 13:51:36 +02:00
Richard Patel
7bbcd54bcb Big endian fix for FLIRT ##endian 2024-05-13 13:48:12 +02:00
pancake
4691af97a0 Fix pfb and RBitmap in big endian ##print 2024-05-13 13:15:45 +02:00
pancake
c27d6e231a Honor R_SYS_DIRSEP in r2pm env var settings for Windows ##r2pm 2024-05-13 11:55:39 +02:00
pancake
9d09c51bc3 VAX maxinstrsize is 56, assume 64 bytes as maximum valid size ##analysis 2024-05-13 02:13:29 +02:00
pancake
e40fb27edb No wait for anybody, just pressed the power button 2024-05-13 01:35:48 +02:00
pancake
49af3841d2 Skip pdb and dmh tests because i'm feeling idzzy 2024-05-13 01:30:08 +02:00
pancake
a1cb9e5251 Fix oobread in test_r_tree 2024-05-13 01:29:45 +02:00
pancake
0e30faff28 Fix few memleaks spotted by coverity scan 2024-05-13 01:03:59 +02:00
pancake
7ffeaaebfe iX -> idx, also refactor some i? lines on subcommand helps ##shell 2024-05-12 20:35:44 +02:00
pancake
687c23de86
More code cleanup in cmd_info and nearby 2024-05-12 02:19:22 +02:00
pancake
b98cc92046
Use RFile.new instead of R_JOIN in the fortunes code 2024-05-12 02:14:58 +02:00