1855 Commits

Author SHA1 Message Date
Francesco Tamagni
37e60315a7 Fix call to thread_set_state in armv7 ##debug
count is not an output argument
2024-02-20 11:43:24 +01:00
Francesco Tamagni
f6defc3fbb Fix armv7 build for xnu native ##debug 2024-02-20 11:43:24 +01:00
Francesco Tamagni
231973e682 Avoid failing reg read if conversion fails on xnu native ##debug 2024-02-19 19:41:53 +01:00
pancake
08e232db22
Fix thread_set_state on arm64e ##debug
* Fix regset on iOS/macOS arm64
* Handle arm64e as arm64 also for linux
* Add test
2024-02-19 18:49:27 +01:00
Richard Patel
add975a801 Fix MSVC Arm support ##port 2024-02-18 07:24:09 +01:00
Dāvis Mosāns
aa2bed5cef Fix windows-x86 register type names 2024-02-16 12:44:45 +01:00
Dāvis Mosāns
169923932d Enable winkd 2024-02-16 12:44:12 +01:00
pancake
d4d73836b3 Check for permission string parsing errors on all r_str_rwx callers 2024-02-16 07:47:47 +01:00
pancake
057af65d6e
Fix #22563 - fix 'cannot assemble' in dmp, using egg shellcodes ##debug
* debug's eggs must share the same asm instance
2024-02-15 19:36:35 +01:00
Yiheng Cao
38c8e5ded6 Use the safe r_str_scanf instead of scanf to parse gdb profile ##crash 2024-02-15 10:09:14 +01:00
Armin Weihbold
b6c28b3830
Autodetect libc version and support manual specification ##debug
* Improve dmh usability
* Add unit tests for regexpes used
2024-02-14 14:38:40 +01:00
pancake
80e637f76d Fix windows build for debug.evm 2024-02-10 10:07:07 +01:00
pancake
dcdf4be163
Import the debug.evm plugin from radare2-extras ##debug 2024-02-09 18:58:16 +01:00
pancake
f1d368e012 Add the tricky 'tmp' register in the arm64 debugger protilfe
* Many arm64 instructions use the tmp register
2024-02-03 15:15:27 +09:00
pancake
73a20c563c Fix bad parsing, uaf and other crashes in the dts command ##debug 2024-01-04 17:07:08 +01:00
pancake
0cf564ddbb dcco steps over the function call after finding the call ##debug 2023-12-12 11:54:10 +01:00
pancake
565e572c79 Minor cleanups in debug 2023-11-21 12:07:02 +01:00
pancake
9ece938b3c
Fix 'attach to pid 1' error regression in the linux debugger 2023-11-18 23:15:35 +01:00
pancake
2e64ce0112 Debug plugin fallbacks ##debug 2023-11-17 11:31:48 +01:00
pancake
1fe0153702 Fix some wasi build warnings 2023-11-15 20:30:26 +01:00
pancake
a62d03c2e1
Refactor RDebugPlugin access solving a null deref in plugin-less builds 2023-11-15 12:04:17 +01:00
pancake
d8f0b3c7d4 Fix null deref when no debugger backend is selected 2023-11-14 22:01:21 +01:00
pancake
025946c321 Commit the offending code breaking 'dcu main' in a commented form 2023-11-11 11:32:49 +01:00
pancake
8de046b778 Reintroduce minor cleanup from 412ec881c37ce2e7238265b194f4a3faade6f43b 2023-11-11 11:20:02 +01:00
pancake
806aa0958f No warnings when /proc/pid/maps is not available on remote gdb targets ##debug 2023-11-10 19:28:28 +01:00
pancake
43ff4852ff Revert "Dont dupe map file and name if not necessary ##debug"
* UnRevert RBinName
2023-11-06 09:27:52 +01:00
pancake
412ec881c3 Dont dupe map file and name if not necessary ##debug
* Use more asserts
2023-11-02 07:58:44 +01:00
pancake
bdc7de3efc Fix dptj and add dpt? help match ##debug 2023-10-12 23:16:03 +02:00
pancake
14f2cf9b07 dce is no longer a windows-specific command ##debug 2023-09-12 19:47:31 +02:00
pancake
be53078ba4 Improve Ldj and Lcj outputs ##json 2023-09-08 19:49:27 +02:00
pancake
5fce7e08e3 Make r_debug_num_callback internal and remove two R2_590 ##api 2023-08-30 08:30:58 +02:00
pancake
f71be3e33c Implement dre/are to list regs in esil format ##esil 2023-08-26 04:00:52 +02:00
pancake
c15ace8508 Initial support for D calling convention ##analysis
* Only for x86-32 for now
* Uses a reverse register list for passing arguments
* See libr/anal/d/README.md for more details
* Support ret2 (to return 64bit values)
* Add fcn->realname for demangled names
2023-08-25 20:00:33 +02:00
Luc Tielen
d4955f0cff Massage the code to make tests pass 2023-08-15 12:44:57 +02:00
Luc Tielen
9878dd0ad9 Fix build 2023-08-14 11:05:34 +02:00
Luc Tielen
fdeaa827f6 Refactor structure of metadata for io plugins ##io 2023-08-14 11:05:34 +02:00
pancake
ab8f425c04 Fix race condition typos in keyboard "shuold" -> "should" 2023-07-31 11:54:29 +02:00
Luc Tielen
51ccc871ba Refactor r_debug_trace_list##debug
Also adds support for vec in listinfo table
2023-07-21 10:18:32 +02:00
Luc Tielen
668000d915 Store tracepoints in vec ##debug 2023-07-21 10:18:32 +02:00
Luc Tielen
ea12b05a2a Rework vec macros to inline finalizer function ##util 2023-07-20 12:58:14 +02:00
Luc Tielen
1294849c28 Implement small vec optimization ##util 2023-07-20 12:58:14 +02:00
Luc Tielen
6cd0ae6c54 Refactor vec generate macro ##util 2023-07-18 11:59:15 +02:00
pancake
9ffd6f029a Initial deprecation of the current RAnalPlugin ##abi 2023-07-09 12:31:48 +02:00
Luc Tielen
5bae28e7cc Add sort function RVec, const correctness ##util 2023-07-07 17:39:28 +02:00
Luc Tielen
b1851d273c Migrate rv32ima plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
2400ded5e9 Migrate gdb plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
afaf16f66d Migrate winkd plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
1759db5e9b Migrate qnx plugin ##debug 2023-07-06 17:00:51 +02:00
Luc Tielen
3ab2344798 Implement review remarks 2023-07-06 17:00:51 +02:00
Luc Tielen
6b41cd4b18 Migrate bochs plugin ##debug 2023-07-06 17:00:51 +02:00