Commit graph

875 commits

Author SHA1 Message Date
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
pancake
6a85a44962 Handle syscalls in asm.emu, better debug.arg and osx-syscalls 2015-10-29 11:22:49 +01:00
Anton Kochkov
17750b5e03 Fix AVR regprofile, disable memset optimization 2015-10-24 01:25:25 +03:00
pancake
77d34628d7 Fix @b: 2015-10-23 17:11:04 +02:00
pancake
2c86d90bd8 Implement dbt* and extend backtrace to support stack frame addresses 2015-10-22 12:38:57 +02:00
pancake
3de77ad6e6 Initial support of dbg.libs/unlibs for Linux/OSX 2015-10-22 04:48:56 +02:00
pancake
a05ac7eaa4 RDebugPlugin.arch.typeof(char*) 2015-10-22 03:11:03 +02:00
pancake
1b5cd887ce Disobey rabin2 -B if bin is not pie, enhace dmm* and mach0 2015-10-19 02:41:21 +02:00
skuater
99e2333395 dbg.libs/dbg.unlibs implementation. 2015-10-16 11:23:32 +02:00
Riccardo Schirone
6420f03107 debug/p/debug_native: don't waitpid only on IOS
waitpid is necessary on OS X.
2015-10-15 22:13:12 +02:00
jvoisin
420a5c41e0 Fix some minor compilation warnings 2015-10-15 12:36:34 +02:00
Álvaro Felipe Melchor
c1f023ae5a Fix #3172 2015-10-14 00:11:35 +02:00
skuater
c72caa67ac Implement dbg.libs/unlibs for w32 2015-10-13 02:18:14 +02:00
pancake
7a04833eac Little refactoring for w32dll handling from rdebug 2015-10-12 18:49:16 +02:00
pancake
747c7bbacb More fixes for io.mach.write 2015-10-11 03:07:53 +02:00
pancake
c13660c7e8 Implement dbg.regcols, managed from scr.columns and hex.cols 2015-10-03 13:33:08 +02:00
pancake
e7165f8832 Fix issue with long process names in OSX 2015-10-01 19:39:12 +02:00
pancake
876a4052be Initialize stack register in 'aeim' 2015-10-01 12:04:58 +02:00
pancake
ec5bab3692 Fix another bug in strbuf 2015-09-28 03:20:53 +02:00
pancake
c94dd22f4d Enhace drr, also arr. add dbg.slow and better debugmap names in xnu 2015-09-28 02:04:08 +02:00
pancake
9232abe9e4 Fix iOS build 2015-09-24 18:35:35 +02:00
pancake
a35304acac Task resume on step too 2015-09-22 10:05:37 +02:00
Ole André Vadla Ravnås
e2ab6c3ab0 Fix the R_DEBUG_* defines on iOS arm
Also consolidate defines for 32- and 64-bit arm archs.
2015-09-22 10:03:16 +02:00
Ole André Vadla Ravnås
8f4234bb72 Fix minor inconsistency in xnu_reg_read() 2015-09-22 10:03:15 +02:00
Ole André Vadla Ravnås
c8896847f0 Fix xnu_reg_write() on iOS arm and arm64 2015-09-22 10:03:15 +02:00
pancake
486c88954f Darwin: start debugging suspended. Fixes in lm32 2015-09-22 02:28:04 +02:00
pancake
196d7db68d Honor asm.bits=64 in ios.dbg, very wip much test 2015-09-22 01:49:14 +02:00
pancake
015dfe0f35 Fix regset for iOS debugger 2015-09-22 00:34:58 +02:00
pancake
5d0bdd4481 Enhacements to ease the iOS debugger development 2015-09-21 23:40:17 +02:00
Ole André Vadla Ravnås
259efd66ee Use the the unified thread state API on iOS arm and arm64 2015-09-21 22:42:10 +02:00
yetmorecode
4d46ded1c5 Fixed type issue in mingw64 build. 2015-09-18 02:40:09 +02:00
pancake
b86bf19c85 Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings 2015-09-14 20:43:11 +02:00
pancake
8eb71af9ed Internal reg prefix is now $, 85008 for curpc, TRAP for traps 2015-09-14 11:31:54 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
Riccardo Schirone
ffdbf919b1 io/section: add r_io_section_vaddr_to_maddr_try API
* fix r_io_section_vaddr_to_maddr
* rename r_io_section_maddr_to_vaddr and vaddr_to_maddr
2015-09-10 01:59:40 +02:00
pancake
f346839839 Fix build 2015-09-09 01:30:41 +02:00
pancake
deafc518b0 Refactor RAnal.ESIL (-800 LOC). Fix x86-64 32bit mov 2015-09-05 10:44:51 +02:00
Juha Kivekas
ccd2e515b2 Add dkj command, issue #2825 2015-09-02 15:34:52 +02:00
Álvaro Felipe Melchor
1d4ebdeb25 some refactoring & added threads field in RDebug 2015-09-01 18:45:08 +02:00
pancake
bfdfe0ec38 Fix asm.bits issue in 8051 test 2015-08-31 13:54:24 +02:00
dequis
003a18aa30 A few simple memory leak fixes 2015-08-30 23:20:51 +02:00
jvoisin
4261075d60 Misc fixes to make clang-analyser even more happy 2015-08-29 18:08:38 +02:00
pancake
1d4b0d8555 Fix some covs 2015-08-28 17:21:04 +02:00
skuater
b9569ad92a Implementation 'dd' for windows debugger. 2015-08-26 23:34:52 +02:00
pancake
9aafea2e23 Fix w32 build 2015-08-26 16:40:09 +02:00
pancake
2e1f7c8b2d Implement dd to list filedescriptors for OSX/iOS 2015-08-26 01:55:37 +02:00
Álvaro Felipe Melchor
d8b1ee5b9b More cleanup in debug 2015-08-26 00:47:15 +02:00
skuater
50e881d929 Initial implementation 'dmm' for windows. 2015-08-26 00:37:38 +02:00
pancake
62755eeb0e Fix latest COVs 2015-08-25 12:40:21 +02:00
pancake
c84850518c Use keepio in debug.esil too 2015-08-24 16:53:47 +02:00
pancake
59dfda515f Fix #3136 - Add ARM and ARM64 assemmbler support from NDK 2015-08-24 15:43:13 +02:00
pancake
6aa8de37d6 Some code cleanup to enable emulator plugins read memory 2015-08-24 04:45:04 +02:00
pancake
325759d744 Fix dmm for Linux 2015-08-24 01:58:34 +02:00
pancake
4dff5cca5e Some some COVs related to control flow and memory leaks 2015-08-24 01:58:36 +02:00
pancake
7c3ef24314 Delegate dmm logic into the native plugin.
- Add native iOS/OSX support to list modules
- Generic fallback used for the rest of platforms
- Update sdb to fix ~{}
- Fix ARM64 analysis typo issue
2015-08-24 01:29:35 +02:00
shengdi
932dde8504 Fix #3119 - Add dbg.btdepth 2015-08-23 12:35:24 +02:00
Anton Kochkov
4b89b73303 Expand x86 regprofiles a bit more 2015-08-23 13:23:08 +03:00
Anton Kochkov
00256ad1e5 Disable long registers in GDB for now 2015-08-22 22:24:59 +03:00
Anton Kochkov
cc5ae7fd43 Fix GDB AVR 2015-08-22 00:50:22 +03:00
pancake
ba49c8cefc Fix the tfp0 workaround for OSX (thanks @gdbinit) 2015-08-21 15:15:42 +02:00
pancake
f6c03ae340 Fix iOS build and integrate http://newosxbook.com/articles/PST2.html 2015-08-21 14:52:33 +02:00
Anton Kochkov
1eb6dfa61e Add AVR in gdb:// 2015-08-20 01:58:02 +03:00
pancake
68a1b94947 Fix w32 build 2015-08-20 00:24:02 +02:00
Álvaro Felipe Melchor
fb93dffde3 more cleanup in debug_native.c - linux 2015-08-19 17:31:00 +02:00
pancake
a6cb6ab07d Fix #2992 - Add dmpf and dmpt to dump/restore snapshots from/to disk 2015-08-19 14:06:59 +02:00
SkUaTeR
240486f123 Update debug_native.c
Add support for windows at r_debug_info
2015-08-18 02:48:37 +02:00
pancake
62e631a514 Add segfault and abort debug stop reasons 2015-08-17 00:55:07 +02:00
pancake
abe083cda3 Fix #3101 - Show current address in backtrace 2015-08-17 00:33:10 +02:00
pancake
d22ac1228e Initial implementation of RDebugReason. See di command 2015-08-17 00:16:25 +02:00
pancake
e6d6d0e5c8 Fix dr~[0] issue 2015-08-14 12:38:03 +02:00
yetmorecode
4b55af759c Fixed mutiple process/thread handle mismatches and reworked tid2handler function. 2015-08-13 20:44:18 +02:00
yetmorecode
2e347da121 Removed w32 specific process_handle member from RDebug. 2015-08-13 20:44:17 +02:00
yetmorecode
7fe01ac2ce Improved error handling in w32 debugging 2015-08-13 17:02:08 +02:00
yetmorecode
3c6c74555d Fixed hangup in w32 native debugging on dc after ctrl+c 2015-08-13 17:02:08 +02:00
pancake
fa6f91895f Reverted capstone commit is conflicting, lets verify with latest changes 2015-08-13 16:55:58 +02:00
pancake
91bf85cb7a Some more cleanup in debug 2015-08-13 04:07:54 +02:00
yetmorecode
4f4bbdaf9e Fixed issue with r_debug_wait return type 2015-08-13 00:08:50 +02:00
yetmorecode
6d678aa3f8 Fixed issue when w32 debugging was hanging up on breakpoints from non main threads. 2015-08-13 00:08:50 +02:00
pancake
1f277f72e9 Add asm.indentspace and implement .atd and atl 2015-08-12 10:40:24 +02:00
yetmorecode
ecd4de662d Implemented missing r_debug_native_kill on w32 2015-08-12 01:42:21 +02:00
yetmorecode
e0f004ebcf Fix "dp" command on w32 native debugging and resolve process names
- Renamed duplicate local variable and added proper
  check for invalid process handle
- Added missing CloseHandle cleanup
2015-08-11 20:46:27 +02:00
yetmorecode
e86138e18f Fix #3070. w32 native debugging hanging on "dc" after process exit 2015-08-11 16:01:58 +02:00
yetmorecode
667cdecd37 Enhanced shell output for win32 native debugging
Fixed multiple whitespace issues
Removed unnecessary include for string.h
2015-08-11 09:17:23 +02:00
Álvaro Felipe Melchor
c959d92c9d WIP refactor debug 2015-08-11 08:53:05 +02:00
shuall
0807686d86 #3052 all printf member functions changed to cb_printf 2015-08-09 03:25:05 +02:00
pancake
fbdf0e8fde Fix some more COVs 2015-07-25 02:10:31 +02:00
Álvaro Felipe Melchor
050c2fe9f8 Fix some COVS 2015-07-25 01:26:54 +02:00
pancake
0639261e26 Add more details for OSX code signing 2015-07-23 03:34:46 +02:00
pancake
55474775ba Fix #2990 - Add dmda dmdw dmsw dmsa and json listing 2015-07-23 00:49:59 +02:00
pancake
4d6b0aea96 Fix two COVs 2015-07-21 18:08:32 +02:00
pancake
d2233a896b Add de Debugger Esil API for advanced software watchpoints
- Implemented in r_debug_esil_* APIs
- Support for step-into and continue
- Expressions can be regs, numbers, math operations, ranges, comparisons..
- Honor dbg.prestep for stepping before or after analysing
- read-write-exec watchpoints using native debug backend and esil emulation
- OSX/iOS debugger error message is now nicer
- anal/rpnesil renamed to esil
- Add esi,edi in osx regprofile
- Add r_cons_is_breaked() for consistency
2015-07-21 06:11:42 +02:00
jvoisin
aa695bc808 Fix misc compilation warnings on Windows 2015-07-14 13:55:58 +02:00
Jonathan Neuschäfer
ecf6792318 Fix #2927 and random code cleanups
- asm_dcpu16: remove an obsolete comment
  It was obsoleted in 5285d1bdea.
- Indentation fixes
- fix a few typos
- remove "#define NEW_ESIL"
- move comment about r_bin_filter_name to the right place
- README.md: Add V810 to the list of supported architectures
- Also, de-duplicate LH5801
- Add attribution to randomart.c, fixes #2927
2015-07-12 19:20:36 +02:00
Jonathan Neuschäfer
523aa3af5c add .version to all plugins 2015-07-12 19:05:33 +02:00
pancake
85752a5a44 Honor io.sectonly and fix mips tests mapping code without sections 2015-07-09 20:11:15 +02:00
jvoisin
38d79c727d Some coverifix 2015-07-08 22:52:24 +02:00
pancake
cae1d3c8cc Initial work to support ios-arm64 builds 2015-07-07 00:23:08 +02:00
pancake
b5d40d11c0 Fix last coverities issues 2015-07-02 09:33:05 +02:00
pancake
3b5f5f3e5d More fixes for tfp0 and iOS codesign 2015-07-02 02:06:25 +02:00
pancake
4afc585acd Add fuzzy backtrace algorithm and show function and flag info in dbt 2015-06-29 22:23:04 +02:00
Álvaro Felipe Melchor
ccef928dfe Fix some COVs 2015-06-28 20:15:35 +02:00
pancake
5ca5f143d1 Fix w32 debugger build 2015-06-28 11:07:33 +02:00
Jeffrey Crowell
cab49c09a8 rename nt-x86/nt-x64 to new windows names
fix w32 builds
2015-06-27 13:10:00 -04:00
pancake
d5f2661cbe Fix build and autocomplete cd 2015-06-26 00:32:01 +02:00
pancake
61091809b3 Begin the debugger refactoring 2015-06-26 00:37:52 +02:00
pancake
01240d8001 Fix native debug plugin linkage 2015-06-25 22:43:10 +02:00
pancake
c6b0a5307f Add dbg.btalgo, remove dead code and fix null deref in previous commit 2015-06-25 16:40:39 +02:00
iessa s alkuwari
b439ba4dde backtrace improvements 2015-06-25 15:19:43 +02:00
pancake
6f7d511cb7 Initial rework for iOS (arm+arm64) single stepping (not yet working) 2015-06-22 16:55:28 +02:00
pancake
d436d16cd4 Honor asm.bits in the RBreakpoint API 2015-06-22 12:23:38 +02:00
pancake
73f4351fa3 Rewrite dm for iOS/OSX, still needs some cleanup 2015-06-22 03:10:56 +02:00
pancake
8f25a9b344 Fix iOS build, crashes in reflines, analysis issues on OSX debugger and more! 2015-06-21 00:50:53 +02:00
pancake
72ba17da3e Enhace dh listing 2015-06-12 03:04:09 +02:00
pancake
361e8a96e1 Fix #2729 - Add help for dh command 2015-06-12 02:56:54 +02:00
Riccardo Schirone
1be0105343 core/cmd_debug: use a tree instead of a graph to do trace call/ret 2015-06-11 22:53:48 +02:00
pancake
47860d67dc Remove more references to r_diff 2015-06-02 10:31:30 +02:00
pancake
4ce609b589 Some llx -> PFMT64x 2015-05-28 11:05:52 +02:00
pancake
c047506f21 Some cleanup for regset issues and update the regprofile 2015-05-21 02:31:01 +02:00
pancake
a7c8e96d6f Fix x86-16 capstone regression 2015-05-14 03:46:09 +02:00
pancake
967067ea9c Refactor r2pipe API into r_socket and fix w32 build 2015-05-14 02:50:57 +02:00
pancake
79087fbb2f Revert "Change dr= output"
* Breaking on 32bit archs
* Inconsistent between archs
2015-05-12 03:37:28 +02:00
pancake
e675b66e15 Fixes for the new dr= output 2015-05-12 03:18:35 +02:00
Quentin Santos
8a8cb7162c Simplify register printing 2015-05-11 18:57:03 +02:00
Quentin Santos
fd019730be Fix whitespace padding at register printing 2015-05-11 18:57:03 +02:00
Quentin Santos
14d5c30ea6 Comment register listing files 2015-05-11 18:57:03 +02:00
Quentin Santos
f35bfc6ff4 Registers (x86-64) in usual order 2015-05-11 18:57:03 +02:00
dequis
b75cbd135d debug_gdb: handle null return value from gdbr_read_registers
This would crash when doing r2 -d cat -c 'dh gdb'

Now that just prints "r_debug_reg: error reading registers"
2015-05-11 11:00:42 +02:00
Álvaro Felipe Melchor
56ae0ea6b4 Fix build 2015-05-08 11:47:42 +02:00
pancake
aa9b5deb99 Show siginfo message in case of SIGSEGV 2015-05-08 04:39:35 +02:00
skuater@hotmail.com
ccfae11ebc windbg ^c support under linux+ ^c support for windows 2015-05-05 18:33:34 +02:00
skuater
b0c520b856 Handle ^C in native windows and windbg debuggers 2015-04-22 15:53:45 +02:00
pancake
917bbb3a7c Fix #2404 - Fix duplicated syscall tracing issues on linux
- this is a workaround, and must be tested on other platforms
- handles ^C now
2015-04-19 13:43:38 +02:00
pancake
9392424e30 Fix #2397 and #2398 - honor syscall args in dcs on linux-x86-64 2015-04-18 10:35:57 +02:00
pancake
da9409d37a Fix #2397 - Honor syscall arg count in dcs 2015-04-17 23:30:35 +02:00
David Kreuter
02573a83b8 drx.c: Range check on drx_set(..., n, ...) off by one 2015-04-17 16:51:20 +02:00
skuater
a853b35c8f fix getmodules for windows process 2015-04-14 17:15:06 +02:00
pancake
997dda6e5b Add support for iOS-simulator and static-OSX builds 2015-04-14 17:14:43 +02:00
pancake
f9d6ff2f2b Fix some travis warnings 2015-04-12 18:00:40 +02:00
pancake
acd5e4b999 Fix dalvik<->dex class and method name resolutions 2015-04-12 05:13:51 +02:00
jvoisin
34473357d7 Fix some compilation warnings 2015-04-12 00:06:38 +02:00
Anton Kochkov
4d58edede2 Prevent segfaults 2015-04-11 02:41:02 +03:00
NighterMan
a71b00acf2 Multiple esil changes for x86_cs
- getarg() now supports and extra "set operation" argument to ease esil opcodes writing
 - getarg() calls refactored to support new argument
 - The generation of some esil opcodes now use the "extra set operation" from getarg()
 - rep movs* now uses the new DUP esil instruction
 - rep movs* bugfix: ZF was being used instead of DF as direction flag
 - Partial idiv support: update flags and signedness handling is pending
 - Added some missing registers in reg-linux-x64.h
2015-04-07 23:18:01 +02:00
pancake
a0ef11be00 Fix 3 covs and several warnings in windbg for w32 2015-04-07 14:53:28 +02:00
pancake
83065452c8 Implement dr regname, and move the old functionality under drt 2015-04-06 23:37:49 +02:00
pancake
b55b573cef Fix #2315 - Individual register printing is broken 2015-04-05 18:48:36 -04:00
skuater
5bad0aae82 Fix issue with XMM on linux64 (pid vs tid) 2015-04-01 17:09:49 +02:00
pancake
18fb2c7310 Support longer mapnames for XNU 2015-03-27 11:11:02 +01:00
pancake
7301965cc2 Fix warning on OSX debugger (thx dkreuter) 2015-03-25 23:24:27 +01:00
Anton Kochkov
13cfed3509 Fix a typo from previous commit 2015-03-23 18:18:52 +03:00
XVilka
3ca5c3191a More Cygwin fixes 2015-03-23 18:17:36 +03:00
XVilka
ab098c7f23 Fix Cygwin building 2015-03-23 16:45:59 +03:00
pancake
130b0a9c78 Fix w32 build 2015-03-22 16:22:59 +01:00
skuater
b05efbc254 Fix w64 debugger 2015-03-21 00:29:14 +01:00
pancake
95c2dd01ad Disable DRX on OSX until fixed 2015-03-20 22:51:24 +01:00
pancake
597f4f595b Refix android-x86 build 2015-03-18 00:59:26 +01:00
skuater
30273f265c Fix android-x86 build 2015-03-18 00:10:43 +01:00
skuater
ec2bc87813 Initial support for FPU reg-get on Linux-x86-{32|64} 2015-03-17 22:35:31 +01:00
condret
250415f4bf fix as-bug (regprofiles) 2015-03-16 17:03:35 +01:00
condret
31d093e68a fix linux-x86-regprofile 2015-02-28 21:04:22 +01:00
Kamil Rytarowski
b9b7ee222d Fix build for !(__linux__ && __powerpc__) 2015-02-24 03:44:15 +01:00
pancake
274bdce6c9 Enhace r-num-units() and show size of dm maps 2015-02-23 10:39:56 +01:00
Kamil Rytarowski
ad2561fa81 Disable R_REG_TYPE_{FPU,MMX,XMM} for !__linux__ 2015-02-23 03:33:14 +01:00
pancake
ad80aba942 Initial support for debugger memory snapshots dms. Enhace hexdiffing
- Fix linux debugger
- ccc shows hexdiffing, but only the ones that differ
2015-02-23 03:29:40 +01:00
pancake
66ead9b96b Add ate command for the anal trace logs with ESIL (and backstepping)
- r2 -e dbg.trace=true -e anal.trace=true -d ls
> 10ds  # perform 10 steps
> ate   # show anal trace logs
> .ate `atek idx` # backstepping
> ate-* # clear logs
2015-02-22 11:40:55 +01:00
pancake
5c8b417cf2 Add mul/div opcodes for x86.nz assembler and fix osx build 2015-02-20 19:39:38 +01:00
skuater
5335ba8f5f Initial support for FPU/MMX/XMM on linux-x86-64 2015-02-19 10:52:01 +01:00
jvoisin
5ad3afb628 Coverifix 2015-02-11 17:55:25 +01:00
Jeffrey Crowell
d4e0575d67 build on clang jenkins now 2015-02-05 10:57:21 +01:00
pancake
21f857a057 Trace code with dc too, not only ds (thanks @earada) 2015-01-30 19:07:33 +01:00
pancake
4d1a555dbc Handle debug tracing information in ESIL steps 2015-01-30 02:07:47 +01:00
pancake
0cb78f973e Fix #2004 - filter flag names in dm* 2015-01-29 02:25:00 +01:00
pancake
11722083bf More Android build fixes. Fortunes are now available 2015-01-24 21:45:32 +01:00
pancake
4addf6d538 Show strings in drr, Add ios syscalls and fix x86-32 debug on osx64 2015-01-14 02:00:55 +01:00
skuater
f9bd4521d2 Fix #1834 - Honor breakpoints on step-over and continue-until 2015-01-12 17:47:34 +01:00
pancake
97d1f70f53 Fix some warns and Use RRegex in parse_mreplace to make support w32 2015-01-12 02:52:12 +01:00
pancake
743bd0a68a Initial support for ARM and ARM64 local variables 2015-01-10 02:14:55 +01:00
pancake
6d309e2c5e Implement dko for Linux. Enhace the command and support SKIP and CONT options
- Can continue into the signal handler
- Can skip the instruction and ignore the signal handler
- By default it will just stop in there
2014-12-12 00:34:53 +01:00
pancake
0c91c7df62 Fix several bugs in the windbg and cris. thanks to coverity 2014-12-09 17:50:19 +01:00
pancake
85631e7104 Fix build on OSX, fix warnings in shlr/wind and handle asm.cpu and asm.syntax for asm.cris 2014-12-08 23:38:13 +01:00
pancake
8bdea8eea3 Fix several build issues to make crosscompilation and w32 happy 2014-12-07 20:05:24 +01:00
pancake
9fa79fbf0c Fix build 2014-12-07 19:37:03 +01:00
LemonBoy
3b9164c04c Initial WinDBG support 2014-12-07 19:32:45 +01:00
LemonBoy
8a89345304 Fix a crash when the map name is null. Fix a crash when a thread list is requested from a backend that doesn't support it. 2014-12-05 13:31:22 +01:00
pancake
96a4dd7f5c Fix dpa on Linux 2014-11-28 13:07:25 +01:00
jvoisin
6d803698a6 Fix some warnings 2014-11-22 16:44:36 +01:00
pancake
fa9129a817 Handle names in 'dm' for OSX/iOS 2014-11-22 00:36:42 +01:00
pancake
5219e86071 Fix #1694 - Fix dcs after ds 2014-11-20 01:30:37 +01:00
LemonBoy
3e488c6555 Handle return 0 in RDebug.reg_read() for manual sync 2014-11-20 00:01:14 +01:00
LemonBoy
832adcd557 Make the bp api slightly saner 2014-11-17 16:24:26 +01:00
pancake
850309a7e9 Initial support for android-aarch64 2014-11-10 01:54:05 +01:00
pancake
fb64d50693 Fix null deref in RDebug.wait() 2014-11-08 00:28:20 +01:00
skuater
e192051aa7 debug improves 2014-11-08 00:25:17 +01:00
skuater
430ef8d5fe Hardware breakpoints working 2014-11-05 13:10:18 +01:00
trndr
00949b0300 Fix gdb dc and dcu 2014-11-04 21:55:51 +01:00
trndr
83ad35e39a Try to implement MIPS gdb reg profile 2014-11-04 02:17:35 +01:00
pancake
dcfb90ae94 Wip Fix r2 -d oo (workaround, because it's a race condition in fork+pid2path) 2014-11-03 11:47:51 +01:00
pancake
6a6290a4da Implement Sdb in RDebug.Traces. O(n) vs O(1) in pd with asm.traces=true 2014-11-02 01:21:45 +01:00
pancake
6fcd870a5c Bring back asm.trace and dbg.trace to life 2014-10-30 23:58:22 +01:00
pancake
211688f537 Handle bp.cmd and RBreakpointItem->cmd in RDebugContinue (bps and traces)
- Add scr.echo
2014-10-30 22:58:51 +01:00
skuater
fe84360d96 Pre feature break traces 2014-10-30 10:43:35 +01:00
pancake
92b167bbdd Add r_buf_read/write methods using CUR, fix some more warnings 2014-10-29 22:12:16 +01:00
pancake
8430ff1dba r_bp_get -> r_bp_get_at // .. r_bp_get_in 2014-10-28 02:28:58 +01:00
jvoisin
a60d82b800 Fix a lot of warnings for GCC
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
pancake
a2c3647ad0 Somewhat better BoostJam support 2014-10-26 02:47:08 +02:00
pancake
bf3c739d75 Fix crash for gdb:// to qemu-arm
- Fix some JamFiles
- Add config.getter callbacks
2014-10-26 01:30:17 +02:00
Anton Kochkov
fea0a0ec9e Fix r2 gdb arm (32) profile 2014-10-26 01:29:58 +03:00
Anton Kochkov
179dab57ec Fix GDB for ARM 2014-10-23 17:40:32 +04:00
pancake
857e635f49 Use PFMT64u instead of PFMT64d to display addresses 2014-10-23 12:35:08 +02:00
skuater
13ba5d0742 Implement step over rep instructions 2014-10-23 00:46:19 +02:00
pancake
ec2be7a214 Fix 'dcc' 2014-10-13 14:52:33 +02:00
pancake
13e504fd60 Use more SDB into rsyscall module 2014-10-13 05:02:24 +02:00
LemonBoy
ce649947af Fix the w64 profile 2014-10-12 21:48:05 +02:00
pancake
5c07ff254f Fix 'dcs' 2014-10-09 18:31:55 +02:00
pancake
fb8336f7d0 Add dbg.{forks|clone|execs} ptrace options (linux-only atm) 2014-10-09 01:21:49 +02:00
pancake
88bbc4aa7b Remove noisy debug error messages 2014-10-08 02:14:53 +02:00
pancake
1ae88f7491 Fix 'dcu' on OSX 2014-10-03 20:23:05 +02:00
pancake
bdb7acc873 Refactor r_debug_pid_list() a bit 2014-10-01 21:39:28 +02:00
pancake
0bb1407787 Fix dpj crash (%s -> %c) 2014-09-30 13:07:53 +02:00
pancake
02978e14ec Do not kept detached to fix 'dcu' on osx/ios 2014-09-28 10:37:33 +02:00
pancake
a0e609e40d Fix ARM swstepping and breakpoints, add dbg.bpsize 2014-09-26 13:57:03 +02:00
Y. Sapir
d42dbf55d2 Fix some compile warnings. 2014-09-24 13:20:37 +02:00
pancake
08cfb55f19 Avoid double-attach in the correct way 2014-09-22 23:04:58 +02:00
LemonBoy
98830cf44c Don't re-attach 2014-09-22 22:05:59 +02:00
pancake
a50af2ad22 Fix step over left breakpoint 2014-09-17 17:57:30 +02:00
LemonBoy
76fa1fac1c Reap the breakpoint list correctly 2014-09-17 17:57:27 +02:00
LemonBoy
35945e059c Use the computed register size when requesting registers from host.
Fix a handful of warnings.
2014-09-17 17:57:24 +02:00
LemonBoy
9a90664b2a Fix r_debug_step_over 2014-09-17 17:57:21 +02:00
LemonBoy
9fa0766f21 More error checking 2014-09-17 17:57:17 +02:00
LemonBoy
f1bf11275a Optimize r_debug_continue_until 2014-09-17 17:57:11 +02:00
LemonBoy
707089c3a9 Fix various debugger operations. Fix a ptrace-related bug. 2014-09-17 17:57:08 +02:00
defragger
fdceb6373c fixes the 16bit issue, we still need to improve the performance here 2014-09-16 16:07:16 +02:00
pancake
7e37fb0131 Fix #1292 - Fix file create and write on w32 2014-09-15 03:35:02 +02:00
LemonBoy
27e9d2e938 Do not allow duplicate registers in the profiles. Free the RRegItem properly. Fix the line count in the parser. Fix the w32 debug profile. 2014-09-14 22:45:09 +02:00
pancake
7029eab6af Enforce register arena, better fit size. Fix native mips reg profile size 2014-09-14 02:52:30 +02:00
pancake
d93563909d Fix latest coverity issues 2014-09-10 02:21:10 +02:00
condret
7ce6922491 rename r_io_open -> r_io_open_nomap and add a new r_io_open that creates a map at 0x0 2014-09-06 23:08:16 +02:00
pancake
535343925f Fix gdb:// on linux-x86-{32,64} 2014-09-06 00:13:03 +02:00
LemonBoy
ece4e42344 Fix a sizeof error in RDebug.reg_sync(). By rewriting the whole function. 2014-09-05 23:55:44 +02:00
pancake
0c82eb1443 Fix {abcd}{hl} register definitions in x86-{32,64} 2014-09-02 23:11:22 +02:00
pancake
e5e47ac546 Add 'pdj' command to list processes in JSON format 2014-08-30 01:12:12 +02:00