27666 Commits

Author SHA1 Message Date
pancake
c234538b8c
Fix #16335 - tp not handling blocksize properly ##types (#19955) 2022-04-13 20:43:30 +02:00
junchao-loongson
7fc24c11a7
Add missing loongarch for the meson ##build 2022-04-13 17:38:49 +02:00
pancake
7afaee8b29 ci.tolower() 2022-04-13 11:22:12 +02:00
pancake
2faf3c2e39 Run r2pm from core internally ##shell 2022-04-13 10:17:35 +02:00
pancake
d4a7c58bd0 Fixes for the Trim.args() for ?e ##shell 2022-04-13 10:14:15 +02:00
pancake
cb097fe79b Fix three tests failing on non-x86-64 hosts 2022-04-13 01:38:45 +02:00
pancake
8ff7008d40 Increase commit log from 3 to 10 in ##r2pm 2022-04-13 01:25:05 +02:00
pancake
d3c7a5b2fa Github messed up the CI 2022-04-13 00:41:37 +02:00
pancake
fe6879c905 Hide some dyldcache parsing error messages and improve string filtering ##bin 2022-04-13 00:26:40 +02:00
pancake
d05035fc0e Fix infinite loop in strings and better use of is_breaked() ##bin 2022-04-13 00:26:40 +02:00
pancake
1546300810 Handle ^C in fg and improve ^C in pd ##shell 2022-04-13 00:14:27 +02:00
pancake
a0d82e8046 Oops 2022-04-12 21:09:36 +02:00
pancake
f8d4288421 Handle ^C when loading dyldcache binaries ##bin 2022-04-12 21:04:43 +02:00
pancake
584b25ceee Show friendly warning when loading without R_DYLDCACHE_FILTER ##bin 2022-04-12 21:02:31 +02:00
pancake
55ace025a1 Fix two more oobread bugs in the dyldcache plugin ##bin 2022-04-12 20:56:23 +02:00
pancake
cc85cbe297 Fix oobread crash in the rebasing method of dyldcache ##bin 2022-04-12 20:51:35 +02:00
pancake
74ff989031 Fix negative allocation attempt in izz that will surely fail ##bin 2022-04-12 20:26:48 +02:00
Dennis Goodlett
a0a5428154
Update byte signature flag name ##signatures 2022-04-12 11:31:27 +02:00
pancake
818fc91ec8 Fix last covs - memleaks and null derefs 2022-04-11 21:16:36 +02:00
pancake
aa6908ddc4 Fix mach0 class 64bit address sorting bug ##bin
* runtime error: signed integer overflow:
* -1509921269 - 2037252608 cannot be represented in type 'int'
* SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
2022-04-11 20:27:48 +02:00
Apkunpacker
40ec717e09
Lowercase all the help messages for consistency (2) ##shell 2022-04-11 17:47:57 +02:00
pancake
28533a32c5 Minor cleanups in the xnu debugger codebase 2022-04-11 17:10:08 +02:00
pancake
31cd732a00
Honor escaping semicolons in macro definitions ##shell
* WIP (disabled by default) make RStr.trimArgs() work on ALL commands
* Honor escaping special chars in command calls
* Add test for echo and macro definitions
2022-04-11 16:54:26 +02:00
pancake
13c2f23dd7 Fix #19940 - infinite loop in x/i on invalid instructions ##crash
* Also affects pdi and pde
2022-04-11 13:47:47 +02:00
pancake
2ea35bceb7 Show 'missing X info' error in rabin2 -H ##bin
* It was previously handled only in the `iH` command
2022-04-11 13:47:40 +02:00
pancake
0a55704547 Fix oobread and unaligned casts in the NE entrypoint logic ##crash
* Reported by @hmsec via huntr.dev
* Reproducer: nepocaligns
* BountyID: ec538fa4-06c6-4050-a141-f60153ddeaac
2022-04-11 13:46:41 +02:00
Apkunpacker
6d0bf405ac
Lowercase all the help messages for consistency ##shell 2022-04-11 11:09:41 +02:00
pancake
39bdef0df9
Fix random segfault happening with wrong null preconditions in iobank ##crash
* Reproducer: <undisclosed>
2022-04-11 10:48:46 +02:00
pancake
b023f737bb Use standard help api for aeim too ##shell 2022-04-10 18:20:18 +02:00
pancake
296d094f36 Add the cmp command to compare two (alias) files ##shell 2022-04-10 18:16:18 +02:00
Lazula
0c4af43def Trim extra spaces before second argument in ?== 2022-04-09 22:38:20 -05:00
pancake
32f0e4b01b Implement 'curl' command ##shell
* Fixes https://github.com/radareorg/ideas/issues/242
2022-04-09 15:23:35 +02:00
pancake
0c208cf18d
Initial WIP implementation of the ESIL backend for ragg2 ##egg 2022-04-09 14:07:07 +02:00
pancake
c566ff2f7e
Implement @c: temporal seek operator ##shell 2022-04-09 14:06:38 +02:00
pancake
7b83210b3a
Warn the user when no header fields are found ##bin 2022-04-09 13:52:37 +02:00
pancake
f089f6f985 Visual color theme editor available from panels ##visual
* Fix visual glitches in VE[hl]
* Handle empty 'VEc' properly
* Handle ':' command prompt in the visual theme editor
2022-04-09 12:10:32 +02:00
Sergi Àlvarez i Capilla
8eceab96d4 Update capstone to the latest commit in the next branch 2022-04-09 11:12:24 +02:00
Sergi Àlvarez i Capilla
4ca022faa0 Fix pief printing N bytes instead of N instructions ##print 2022-04-09 11:12:17 +02:00
Sergi Àlvarez i Capilla
5cc9de3fe3 Hint for the 'pdv' command 2022-04-09 11:12:17 +02:00
pancake
7821ddb04b
Skip more types of call instructions on linear emulation ##analysis 2022-04-08 23:16:38 +02:00
pancake
708e59b8a1
Add r_core_return_code() and use it ##shell
* Still WIP, but good to go if passing tests
* It's a macro that is only used internally for code clarity
* Ship RCmd.returnValue into RCore.num.value in some situations
2022-04-08 23:15:39 +02:00
pancake
932659f0c6
Disable offline builds ##ci
* it seems to be a problem in gh now
2022-04-08 22:22:04 +02:00
Sergi Àlvarez i Capilla
64a82e284d Fix UAF in aaef ##crash
* Reported by @hdthky
* Reproducer: uaf-aef
* BountyID: e98ad92c-3a64-48fb-84d4-d13afdbcbdd7
2022-04-08 20:39:43 +02:00
pancake
6d5628cd96
Add psa command to print any kind of string ##print 2022-04-08 20:36:10 +02:00
Sergi Àlvarez i Capilla
153bcdc29f Fix oobread in NE parser ##crash
* Reported by @hmsec via huntr.dev
* Reproducer: necrash
* BountyID: 52b57274-0e1a-4d61-ab29-1373b555fea0/
2022-04-08 20:29:01 +02:00
Sergi Àlvarez i Capilla
18d1d064bf Fix null deref in the ne parser ##crash
* Reported by @hmsec via huntr.dev
* Reproducer: nepoc00
* BountyID: bfeb8fb8-644d-4587-80d4-cb704c404013
2022-04-08 19:49:21 +02:00
pancake
2b77b277d6 Fix oobread in dyldcache ##crash
* Reported by @hdthky via huntr.dev
* Reproducers: poc1
* BountyID: 8ae2c61a-2220-47a5-bfe8-fe6d41ab1f82
2022-04-05 19:51:03 +02:00
pancake
c35d162942 Fix another oobread in the NE parser ##crash 2022-04-05 19:10:49 +02:00
pancake
c40a4f9862 Fix another oobread segfault in the NE bin parser ##crash
* Reported by @han0nly via huntr.dev
* Reproducers: sample1 sample2 sample3
* BountyID: 47422cdf-aad2-4405-a6a1-6f63a3a93200
2022-04-05 19:10:49 +02:00
pancake
2d782cdaa2 Fix oobread segfaults in the NE bin parser ##crash
* Reported by @han0nly via huntr.dev
* Reproducers: seed1 seed2
* BountyID: ad3c9c4c-76e7-40c8-bd4a-c095acd8bb40
2022-04-05 19:10:49 +02:00