Commit graph

95 commits

Author SHA1 Message Date
Riccardo Schirone
d9e3a290c1 libr: fix compilation warnings
libr/util/graph: add some comments to the API
2016-05-13 09:57:55 +02:00
pancake
8b61811a75 Do not set asm.bits depending on CPSR to give more freedom to the user 2016-05-11 15:38:26 +02: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
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
Álvaro Felipe Melchor
a93e75f542 Initial merge on the reworked patch from @alvarofe 2015-11-17 01:00:09 +01:00
pancake
6a85a44962 Handle syscalls in asm.emu, better debug.arg and osx-syscalls 2015-10-29 11:22:49 +01:00
pancake
c13660c7e8 Implement dbg.regcols, managed from scr.columns and hex.cols 2015-10-03 13:33:08 +02:00
pancake
876a4052be Initialize stack register in 'aeim' 2015-10-01 12:04:58 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
e6d6d0e5c8 Fix dr~[0] issue 2015-08-14 12:38:03 +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
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
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
pancake
0c91c7df62 Fix several bugs in the windbg and cris. thanks to coverity 2014-12-09 17:50:19 +01:00
LemonBoy
3b9164c04c Initial WinDBG support 2014-12-07 19:32:45 +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
skuater
e192051aa7 debug improves 2014-11-08 00:25:17 +01: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
pancake
5c07ff254f Fix 'dcs' 2014-10-09 18:31:55 +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
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
ece4e42344 Fix a sizeof error in RDebug.reg_sync(). By rewriting the whole function. 2014-09-05 23:55:44 +02:00
pancake
5ba7b7e947 Implement 'dr-' for anal and debug 2014-07-31 20:53:18 +02:00
dequis
4b232a7206 Fix column alignment in visual mode registers (dr=)
Just adds one space of padding for oeax in 32 bit archs.

Fixes #1074
2014-07-02 03:13:16 +02:00
pancake
5c209802a7 More work on arm-thumb-capstone + esil 2014-06-19 04:03:11 +02:00
pancake
160c4568f7 More RPN ESIL (udis86, vm, conditionals, ..). Honor cfg.debug
- A debugger session can be turned into emulation with 'e cfg.debug=0'
- Fixed undo seek issues
- Fix "Unknown register 'rip'" issue
- debugger commands mixed with analysis ones. We must merge at some point
- More udis86 instructions translated to the new esil
2014-06-17 10:23:11 +02:00
pancake
148733b7a1 Add linux-arm64 reg profile, fix linux-arm systracing. Handle multiple syscall stoppers in 'dcs' 2014-06-14 02:02:58 +02:00
pancake
315e8866e1 Add 'creg' color palete to colorize changed registers in 'drd' 2014-06-04 17:23:58 +02:00
Skia
01b8b2d763 Fix #793 - Display changed registers in every 'dr' command
- Do not always colorize the modified reg in 'dr'
- TODO: Add color palette for reg highlighting
2014-05-31 16:19:32 +02:00
Anton Kochkov
547ead1fb9 Fix CID 1191960 2014-05-04 19:21:05 +04:00
pancake
105345388b Fix debugger get-reg regression introduced in b4373c6b40 2014-02-05 12:45:21 +01:00
pancake
b4373c6b40 More work towards DRX support on Linux 2014-01-12 04:31:04 +01:00
pancake
175643bedc Fix #584 - Fill hexblock on cursor range selection 2014-01-30 00:55:34 +01:00
pancake
3e3092ac09 Add RRegCond api 2014-01-07 04:29:56 +01:00
pancake
2a909d6302 Fix #300 - (64bit dr= indentation) and fix r_sys_pid_to_path on linux 2013-09-05 01:44:05 +02:00
pancake
5879f30297 Disable dbg.trace by default, more fixes for 'dr=' and 'drd' 2013-10-31 02:39:24 +01:00
pancake
629c64c851 Fix 'dr=' columns width for 64bit registers 2013-10-31 01:53:17 +01:00
pancake
403baf93e7 Fix register diff 'drd' (affects #30) 2013-10-30 20:12:02 +01:00
pancake
d814a5b01b Fix #264 - Add a command to display changed registers 2013-10-20 02:09:03 +02:00
pancake
502add8914 Fix #240 - rasm2 have -l but not -S to skip bytes from the beginning of the file 2013-10-15 01:54:37 +02:00