Commit Graph

27710 Commits

Author SHA1 Message Date
Dennis Goodlett
9d51dc07cd
Fix autoloading of ##signatures 2022-04-01 23:18:33 +02:00
pancake
58b367610d
Use strstr instead of rstr.glob for now in @@ ##shell
* That doesnt changes the behaviour, but RStr.glob() is broken and fixing it will break this
2022-04-01 21:10:49 +02:00
pancake
605785b65d Fix 1 byte oobread in the cris analysis plugin ##crash 2022-04-01 21:03:24 +02:00
Lazula
0e4a8b95b2
Add R2_DEBUG_EPRINT to disable debug var printing at compiletime or runtime (#19770) 2022-04-01 13:51:08 -05:00
pancake
e876eef2a2
Add math meme fortune 2022-04-01 12:51:41 +02:00
pancake
d60ab7010f Fix last covs 2022-04-01 12:50:39 +02:00
Lazula
2a4f12d43d
Partial #19887 - Refactor, document, and test cw command (#19889)
* Change cmpwatch functions to bool to better report status
* Ensure existing watchers are correctly overwritten
* Speed up other cw commands by leaving list iteration early
* Emit output in subcommands when no watchers matched the query
* Add cwq and cwj
* Add cw tests
* Change cmd_cmp_watcher() to return int instead of void
* Add r2book reference
* Require confirmation before deleting or reverting all watchers
* Change watcher cmd to malloc'd char*
2022-03-31 11:07:32 -05:00
Francesco Tamagni
ebeb7bfa2e Fix rebasing Mach-O DYLD_CHAINED_PTR_64 ##bin 2022-03-31 12:44:29 +02:00
Sergi Àlvarez i Capilla
6e90379057 Fix swift metadata string allocation and filtering bug 2022-03-31 12:25:50 +02:00
Sergi Àlvarez i Capilla
4b32876fe1 Minor refactoring in macho 2022-03-31 12:01:52 +02:00
Sergi Àlvarez i Capilla
9857ac6d4e Add tests for return value emulation 2022-03-30 17:56:35 +02:00
Sergi Àlvarez i Capilla
07c4f96824 Run the tests for non-debugger builds ##ci 2022-03-30 17:39:01 +02:00
Sergi Àlvarez i Capilla
d479933909 Fix aeim on --without-debugger builds ##emulation 2022-03-30 00:04:30 +02:00
condret
7907b0fc1e Reintroduce the TODO counter for fun and more fun 2022-03-29 16:33:44 +02:00
condret
c01f010b8b Fix misleading help msg (aho is not deprecated) 2022-03-29 15:38:55 +02:00
condret
a5987118c5 Fix string representation of optypes of aho command 2022-03-29 15:38:55 +02:00
Sergi Àlvarez i Capilla
fd1c5bd07e ar command using ->anal, otherwise for non-debug builds that fails ##analysis 2022-03-29 15:35:27 +02:00
Sergi Àlvarez i Capilla
3dfe264004 Fix 'aeb' emulating the right instructions ##esil 2022-03-29 15:35:27 +02:00
condret
d1ebd1588a Fix bug in z/, that creates misplaced functions ##zign 2022-03-29 14:34:41 +02:00
pancake
982daa3d54
Allow abt to handle addresses in the middle of basic blocks ##analysis 2022-03-29 11:35:38 +02:00
Lazula
c7dfa70ade Remove last vestiges of newshell 2022-03-29 08:07:18 +02:00
Sergi Àlvarez i Capilla
4431b392e3 Handle addresses in the middle of basic blocks in abf ##analysis 2022-03-29 01:15:25 +02:00
Sergi Àlvarez i Capilla
90caf26cb2 Fix null deref in abf 2022-03-29 01:08:30 +02:00
Sergi Àlvarez i Capilla
aa85fb154b Implement 'abf' command to list incoming bbs ##analysis 2022-03-29 01:02:40 +02:00
Lazula
c3c95a6b86 Improve help output for cat command 2022-03-29 00:47:04 +02:00
condret
263ad10058 Fix incorrect type, that breaks liball:// and arall:// 2022-03-29 00:12:44 +02:00
condret
882d72f5f0 Fix incorrect op-type assignment in anal_arm_cs 2022-03-28 22:23:37 +02:00
pancake
167eb98179 Apple Silicon can hwstep ##debugger 2022-03-28 11:19:58 +02:00
pancake
c6114fda6e Instruct drrj to not emit ansi escapes to not damage ##json
* Add help message for drr?
* Issue lies in RTable.toJson()
2022-03-27 15:07:56 +02:00
pancake
80bde99c7f Support relative pointer resolution in pxr ##print 2022-03-27 15:07:56 +02:00
pancake
374b86e866 Fix seek history for the 's..' partial seeks ##shell 2022-03-27 14:24:02 +02:00
pancake
b1155ee89c
Fix UB in the objc parser logic after handling swift types (#19883) 2022-03-27 13:20:58 +02:00
pancake
1b43677bff Implement pfP for relative pointer format memory formatting ##print 2022-03-27 12:24:10 +02:00
pancake
691bdd0472 Initial implementation of the aavr command ##search
* Find relative references using Apple's Swift pointer mangling
* Add aav? help message
2022-03-27 12:23:58 +02:00
pancake
42d05b7bd1
Add support for parsing swift metadata from macho binaries ##bin
* __const section is formatted as dwords
* Fix swift5 symbol demangling on iOS / macOS
2022-03-27 11:13:07 +02:00
Sergi Àlvarez i Capilla
7a310d863f Add pfW for signed short format ##print 2022-03-26 12:26:40 +01:00
Sergi Àlvarez i Capilla
2bcfbd6aef Fix help message for pxd 2022-03-26 11:23:05 +01:00
pancake
3760bfcd8d
Add tests for the code tokenizer and fix <<= assignments ##util 2022-03-26 10:35:13 +01:00
pancake
83bfc83c9f
Add support for Visual Studio 2022 (community+enterprise) ##build
* add rule in the CI
2022-03-26 00:56:54 +01:00
max-lv
7043983bd2 Fix PPC ESIL of addis instruction ##esil 2022-03-25 23:01:26 +01:00
Sergi Àlvarez i Capilla
5abd6faf47 Fix undefined behaviour bugs in serpent crypto algorithm ##crypto 2022-03-25 22:14:18 +01:00
Sergi Àlvarez i Capilla
bbff894e22 Add rahash2 -J for simplified single object name=hash output ##tools 2022-03-25 22:14:18 +01:00
Sergi Àlvarez i Capilla
3c9bef2f29 Allow rahash2 -a to be passed multiple times ##tools 2022-03-25 22:14:18 +01:00
pancake
0fd97c27a7
Assume all machos are made by clang ##bin 2022-03-25 13:43:49 +01:00
Sergi Àlvarez i Capilla
b914887fcd Add missing r_util/r_token.h file for meson builds 2022-03-24 15:25:59 +01:00
pancake
467a2ecaab Run 'aap' before 'aae' on arm64 binaries in 'aaa' ##analysis
* No need for `aaaa` to get more functions and xrefs!
* aaef is executed instead of `aae`. so it will miss refs
2022-03-24 14:55:20 +01:00
Sergi Àlvarez i Capilla
6f644c307f Honor baddr=0 in RBin, as it's done for RIO ##bin 2022-03-24 10:18:52 +01:00
Sergi Àlvarez i Capilla
d4ce40b516 Fix oobread in symbols header parsing ##bin 2022-03-24 10:12:05 +01:00
Sergi Àlvarez i Capilla
9bcc98f4a6 Improve arc plugin description 2022-03-23 17:27:19 +01:00
Sergi Àlvarez i Capilla
7234cf5b8c Fix double-free in RCore.free 2022-03-23 15:46:49 +01:00