814 Commits

Author SHA1 Message Date
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
skuater
513200a7fa Fixes for the w32 debugger 2015-11-24 23:28:50 +01:00
Álvaro Felipe Melchor
434e9a0986 More cleanup for XNU debug 2015-11-24 21:52:28 +01:00
Álvaro Felipe Melchor
a028adae6f Cleanup for the XNU debugger
clean up in xnu_thread_get_gpr
clean up xnu_thread_set_gpr
updated reg profile
2015-11-23 22:00:25 +01:00
Álvaro Felipe Melchor
baa0a26137 Fix #3742 2015-11-23 19:00:53 +01:00
pancake
5e9bdfcb1a Bring back the OSX debugger (ptrace mode) 2015-11-22 22:29:53 +01:00
pancake
c8409760e1 Fix getreg on osx regression 2015-11-22 22:01:24 +01:00
Ole André Vadla Ravnås
002e701d51 Fix the hardware step get/set logic for 32-bit ARM
Stepping is still not working though, needs more investigation.
2015-11-22 21:48:00 +01:00
Ole André Vadla Ravnås
e87ddc5ced Switch to using the unified thread state on ARM once again 2015-11-22 21:48:00 +01:00
Ole André Vadla Ravnås
197593b24b Remove check for impossible condition
Because `&thread->gpr` cannot be NULL.
2015-11-22 21:48:00 +01:00
Ole André Vadla Ravnås
7894125577 Fix undefined behavior in xnu_reg_read() 2015-11-22 21:48:00 +01:00
Ole André Vadla Ravnås
3e54f43a30 Don't bother with PT_ATTACH on iOS 2015-11-22 21:48:00 +01:00
pancake
95791f76c2 Refactor drp command and implement drps to query/set arena size 2015-11-18 11:29:48 +01:00
pancake
2b446ad88a Fix #2557 - Use same regprofile for thumb and arm in gdb debugger 2015-11-18 10:48:39 +01:00
pancake
40ab1e2be6 Fix #3701 - Implement r_num_tail for dcu 2015-11-17 22:38:01 +01:00
pancake
1f56a8fad6 Finally working ARM64-linux (android) debugger 2015-11-17 16:06:45 +01:00
pancake
21dcd615f9 Another linux-arm64 register profile update 2015-11-17 13:54:34 +01:00
pancake
dd187bd183 Fix linux-arm64 reg profile 2015-11-17 02:18:25 +01:00
pancake
4f1663d6bf Some rework for regs+step+cont in iosdbg 2015-11-17 01:00:29 +01:00
pancake
2addec8742 Fix iOS (tested on arm32) reg-get/set 2015-11-17 01:00:19 +01:00
pancake
90a8b57cde Fix gpr regset for xnu-dbg 2015-11-17 01:00:16 +01:00
Álvaro Felipe Melchor
441926d44e Fix issue when setting registers 2015-11-17 01:00:12 +01:00
Álvaro Felipe Melchor
a93e75f542 Initial merge on the reworked patch from @alvarofe 2015-11-17 01:00:09 +01:00
pancake
ba73d31cf3 Fixes for android-arm64 2015-11-15 02:20:57 +01:00
pancake
62a769fd49 Fix for linux/android-arm64 debugger 2015-11-13 00:26:40 +01:00
pancake
9c9bb2dbd5 Memory optimization for flags (-70%) + some warnfixes + sdb-sync 2015-11-08 23:38:42 +01:00
pancake
75adfec670 Fix doublefree in btree and use-after-free in windbg 2015-11-02 12:32:31 +01:00
pancake
36179944fd Fixes Thumb detection from CPSR, NULL 2015-10-31 03:45:14 +01:00
pancake
54e881daf8 Autoset Thumb in Debugger 2015-10-31 02:46:00 +01:00
pancake
5c99eb0c3f Uppercase register aliases 2015-10-31 01:59:01 +01:00
pancake
46b5340093 Fix various inconsistencies in the iOS debugger 2015-10-31 00:51:44 +01:00
pancake
ec2ac9c640 Initial implementation of asm.emuwrite and asm.emu for CALL and UCALL 2015-10-29 23:37:51 +01:00
pancake
82eba162a9 Fix warnings in the gdb volatile memcpy hack 2015-10-29 23:31:43 +01:00
Anton Kochkov
febc213975 Bring volatile back, to prevent optimization of the memset 2015-10-30 00:58:11 +03:00