Matthieu Tardy
bb84bbc276
Fix memory leaks in rabin2 and libr
2016-03-06 23:17:44 +01:00
pancake
4677f5baf5
Use XNU debugger by default as long as PTRACE backend had some flaws
2016-02-29 22:50:36 +01:00
pancake
517f7fa23e
Handle Vi in Vppc - aka change reg values with cursor
2016-02-25 11:35:59 +01:00
pancake
0973759a8c
Fix build
2016-02-25 10:57:15 +01:00
Anton Kochkov
4a146f8158
Fix CID 1351764
2016-02-25 12:48:49 +03:00
pancake
a7f137f215
Support cursor in dr=
2016-02-25 02:58:26 +01:00
pancake
3e53c64553
Fix #4165 - Reduce warning messages in debugger mode
2016-02-25 01:55:16 +01:00
Álvaro Felipe Melchor
af8743e0b7
xnu: fix issue when disable trace bit on arm
2016-02-22 21:22:01 +01:00
Álvaro Felipe Melchor
20fddc1e55
xnu: fix issue when writing in memory
2016-02-22 21:21:57 +01:00
pancake
f7fbbc419e
Add dh in anal.x86-64.reg and fix some arm/x86 esil bugs
2016-02-22 01:14:06 +01:00
pancake
852385efe1
Add sys/ios-env.sh and enable XNU debug without ptrace by default
2016-02-20 23:30:11 +01:00
Álvaro Felipe Melchor
98490aa881
xnu: chained step thumb32 seems to work
2016-02-17 13:37:50 +01:00
Álvaro Felipe Melchor
10a586b48d
stepping works on ios though thumb32 chaining still doesn't work
2016-02-16 17:33:41 +01:00
Álvaro Felipe Melchor
ec3ac37bb5
Fix ios build and more rework
2016-02-16 17:33:41 +01:00
Álvaro Felipe Melchor
c24dbc3054
Fix warnings
2016-02-13 22:17:21 +01:00
pancake
74b23f10b9
Merge branch 'xnu' of https://github.com/alvarofe/radare2
2016-02-06 22:37:52 +01:00
Álvaro Felipe Melchor
5a63887ff5
xnu: added XNU_USE_PTRACE to xnu_wait
2016-02-06 20:23:15 +01:00
Álvaro Felipe Melchor
efa2a8ecdf
xnu: step, breakpoint working with mach exception
2016-02-06 19:53:29 +01:00
pancake
805e3f26e8
Fixes for lldb/debugserver on x86-64
2016-02-03 12:09:58 +01:00
Álvaro Felipe Melchor
feea7f4d17
xnu: change logic handle exception
...
instead of a thread waiting for incoming messages, i've implemented
wait functionality above mach_msg, now i have to make it work
with r2 and avoid while (1) in the code, understand better the
references and start thinking about edge cases
2016-02-02 20:27:57 +01:00
Jeffrey Crowell
f713c67794
restyle the function decl in r_debug
2016-01-29 18:52:53 -05:00
pancake
44a86928cc
Fix some of the warnings in #4013
2016-01-27 03:14:19 +01:00
pancake
90e2fc3031
Fix reg-write in gdb-thumb and tiny io cache optimization
2016-01-27 00:26:49 +01:00
pancake
32dbac517f
Several bug fixes for gdb-arm and thumb remote debugger
2016-01-26 23:36:02 +01:00
pancake
63956d67af
Fix step in xnu debugger
2016-01-23 22:50:32 +01:00
Álvaro Felipe Melchor
c372743315
xnu: get rid of ptrace even for attach and detach
...
some rework in order to handle mach message as mach_exc_server and alike does
api change in plugin debug, now the function detach receive a pointer to RDebug
trying to deallocate port when are not needed any more
2016-01-23 22:50:28 +01:00
condret
e9aa1bfa80
hardening
2016-01-20 16:13:30 +00:00
condret
ccab168cb5
fix a memleak and implement esil.stacksize for @crowell
2016-01-19 23:36:21 +00:00
Álvaro Felipe Melchor
d9e77ca0d1
xnu: first series of patches to use mach exceptions
...
* use set_trace_bit and clear_trace_bit macros
* use PT_ATTACHEXC since PT_ATTACH will be deprecated in the future
and we are interested in receiving mach exceptions
* first attempt to handle mach exceptions
* api change: added a parameter to r_core_setup_debugger
at least in OS X this function was producing double attachment.
I've added a boolean value to indicate when use dpa.
* added pipe to communicate between main process and traced process
by far this is not a good implementation. We should develop a better
approach/design to save all the exceptions and handle them accordingly.
This is the initial implementation
* bring back ptrace for stability and in order to merge this into master
2016-01-18 22:24:16 +01:00
Maijin
628ee9716e
Complete remaining regprofile and Fix #3947
2016-01-17 14:23:15 +01:00
Maijin
59d5b8b73f
Complete more reg profile #3947
2016-01-17 14:13:04 +01:00
pancake
0af7cf1209
Fix dcs - continue until syscall
2016-01-13 22:25:08 +01:00
pancake
9051fed9e9
Fix #3951 - rarun2 with stdin and support for strings
2016-01-13 22:15:13 +01:00
Maijin
02041f3193
Add -d,-w,-b subregisters in darwin-x64.h
2016-01-12 17:35:18 +01:00
Maijin
515f6e8753
Add -d,-w,-b subregisters in linux-x64.h
2016-01-12 15:56:23 +01:00
pancake
399a1b82c9
Human-friendly registers sort in linux-x86-64 reg profile
2016-01-11 23:47:49 +01:00
pancake
f2b449bd36
Fix for auto-thumb in .dr*
2016-01-11 03:15:20 +01:00
pancake
6c931a091f
Automatic asm.bits depending on CPSR's Thumb bit
2016-01-11 03:08:24 +01:00
pancake
9bd4e213b2
Enhance cpsr in ARM and handle new bitsize syntax in reg profile
2016-01-11 02:35:57 +01:00
skuater
e31cb0fe4b
fix dr7 mask value
2016-01-10 17:58:29 +01:00
DZ_ruyk
0e8b42787a
Boring typo fixes
...
Can't -> Cannot (since most of error messages use second form)
2016-01-07 00:13:54 +01:00
pancake
42acaa7596
Softly kill boolt type
2016-01-03 02:05:26 +01:00
pancake
4e6be05f62
ARM's SP is r13 and add LR in r14
2015-12-31 14:10:11 +01:00
pancake
1d8b761ca1
Various static and iOS related build issues are now fixed
2015-12-28 02:01:45 +01:00
jvoisin
3727f0794d
Change the anti pattern if (A) free (A); for free (A);
2015-12-20 19:28:39 +01:00
Joshua Wang
415263a0d5
info_array is freed on xnu_debug.c:737 and again on xnu_debug.c:744 resulting in double free
2015-12-16 22:10:23 +01:00
pancake
8eabe785fe
Boolify RDebug API
2015-12-04 02:57:56 +01:00
pancake
cc402a76c5
More refactorings towards a ptrace-free iOS/OSX debugger
2015-12-04 02:44:36 +01:00
pancake
40e08dbd89
Get rid of _Bool
2015-12-01 12:39:12 +01:00
pancake
2b51bf1acd
Fix #3759 - ood on OSX
2015-11-25 11:52:29 +01:00