Commit Graph

27601 Commits

Author SHA1 Message Date
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
Sergi Àlvarez i Capilla
607134947e Honor esil.maxsteps in more commands and stop earlier when no =PC ##esil 2022-03-23 13:02:55 +01:00
Sergi Àlvarez i Capilla
969e1c141e Break emulation when register profiles don't provide enough info 2022-03-23 13:02:55 +01:00
Sergi Àlvarez i Capilla
4abf7bf9ba Add esil.maxsteps to avoid infinite emulation loops ##esil 2022-03-23 13:02:55 +01:00
Lazula
6c868bb010 Last improvements for this patch 2022-03-23 11:53:03 +01:00
Lazula
879fbbbb35 Improve flag autocompletion 2022-03-23 11:53:03 +01:00
Lazula
626fd46553 Improve file redirect autocompletion 2022-03-23 11:53:03 +01:00
Lazula
5d4f8f83ca Improve #! autocomplete when tabhelp is enabled 2022-03-23 11:53:03 +01:00
Sergi Àlvarez i Capilla
7412ed4869 After release version bump 2022-03-23 11:52:05 +01:00
Sergi Àlvarez i Capilla
50b8813f1d Fix w64blob artifact name for the release
* Fix meson -Dplugins=arm reg profile issue
* Fix an infinite loop when emulating with no valid regprofile
2022-03-22 20:06:43 +01:00