Commit graph

78 commits

Author SHA1 Message Date
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
pancake
47faadf31b Fix #260 - "dr all" is broken 2013-10-14 22:23:05 +02:00
pancake
16ddff4eb9 More work on ESIL, and implement r2 -Desil .. 2013-05-20 03:00:49 +02:00
pancake
8879796427 Fix 'dr*' command 2013-01-10 18:20:36 +01:00
pancake
f4d743d58c Update LungoJS to 2.1git 2012-12-23 18:34:30 +01:00
pancake
e5799fb7a2 Fix build on linux-mipsel64
- debugger backend now sets dbg.swstep
 - define linux-mips64 register profile
 - fix 32/64 annoyance in debugger
 - fix register read under some situations
2012-07-05 16:02:12 +00:00
pancake
a1a1519b92 * implement osx-x86-32/64 native cross debugging
* Add p= command to show the statistics graph
* Rename Vw to Vi (write->insert)
* Add dummy base85.c
* Various binding fixes (add test3.js)
* Fix socket.vala
2012-06-07 03:41:21 +02:00
pancake
590a069980 * Fix dr?pc
* Fix r_anal and r_magic vapis (thanks xvilka)
* Add some fortunes
* Fix test_sys
2012-02-05 23:47:16 +01:00
pancake
6af56de671 * Handle ^C in 'aa' command
* Add definitions for Color_INVERT and _RESET
2011-12-05 09:55:44 +01:00
pancake
2db05920e4 * Fix segfault in r_io when io->va = 0
* Fix overflow in r_cons
* Implement dtg with proper dot format output
* Use "f name 1 off" instead of "f name @ off" in dr*
2011-11-25 09:40:28 +01:00
pancake
a43068bde0 * brainfuck debugger is finally usable
- Added breakpoint and code analysis plugins for bf
  - *mem++ != mem[0]++
  - Full register get/set support
  - Support for step and continue-until-syscall
  - Work in progress breakpoint support
* Added bfvm_reset() hooked to plugin->kill
* Enhacements in r_core and r_debug for better debugger support
  - Added plugin->step_over delegate
2011-10-09 04:15:32 +02:00
pancake
bed664eb93 * Fix newline in dr= command
- Set 'ss' register as a segment type in OpenBSD/x86_64
2011-05-25 09:56:29 +02:00
pancake
fbe7466a22 * Fix r_str_bits()
- eflags/rflags now works .. but needs some testing
2011-06-21 00:33:29 +02:00
pancake
bf95651e69 * Fix DEX parsing segfault
* Fix possible segfault on newer glibc
* Fix some indentations and Visual hints
2011-05-24 15:25:52 +02:00
pancake
3ab9e61c22 * Do not show registers if sync fails
* More work on the io refactoring
2011-01-21 09:17:14 +01:00
pancake
4db5cded34 * Fix w32dist find command
* Display TODO message in r2 -L
* Implement rax2 -s - and rax2 -
* Honor dbg->tid in many places
* Implement basic stuff for dbg->reason
  - Only w32 and *nix atm
  - Not yet displayed or used
  - Added many new reason types in enum
* Fix w32 register map
* Handle attach:// in io_w32dbg plugin
* Implement w32 process and thread list
  - You can now select the thread
  > dp      # list pids
  > dp=1424 # attach to pid
  > dpt     # list threads
  > dpt=580 # select thread
* Added dummy code to list windows
2010-11-17 00:56:48 +01:00
pancake
124786c1ac * Added 'drd' command to show only modified regs
* Added r_list_foreach_prev()
* Add RSyscallPort to handle Hardware I/O ports
* Remove libr/TODO and refactor /TODO
* Link with 'ld' in rarc2-tool for nasm
2010-09-24 16:45:56 +02:00
pancake
84dd63b743 * Add 'bf' command to change block size based on flag size
- Added help in 'b?'
* Added support for bit-collection registers
  - eflags is now displayed as a string
  - debug/p/debug_native.c needs a correct x86 flag string
* Fix segfault when listing empty register sets
2010-09-24 04:09:39 +02:00