earada
dc6ab3c1ca
Add dij command and expose dbg->reason in there
2015-07-01 15:15:18 +02:00
pancake
4afc585acd
Add fuzzy backtrace algorithm and show function and flag info in dbt
2015-06-29 22:23:04 +02:00
iessa s alkuwari
b439ba4dde
backtrace improvements
2015-06-25 15:19:43 +02:00
pancake
d436d16cd4
Honor asm.bits in the RBreakpoint API
2015-06-22 12:23:38 +02:00
Riccardo Schirone
b5b548255e
core/cmd_debug,core/graph: fix warning types with sdb_num_get
2015-06-17 23:20:28 +02:00
Riccardo Schirone
b279f282ba
Refactoring ascii art graph
...
util/stack: extend stack api with r_stack_size
core/graph: use RStack instead of a custom implementation
util/graph: change implementation to use lists and extend api
core/cmd_debug: avoid free r_graph_get_nodes
core/graph: rename some functions and use typedefs for graph struct
core/graph: use RGraph for the ascii art graph
util/list: add const whenever possible
util/graph: add const on r_graph_get_nodes/neighbours
core/graph,core/cmd_debug: use const
core/graph: clean the code (add comments, use const, remove magic nums)
* use r_graph_node_iter for the current node
* reset graph when reloading nodes
* on callgraph edges printing, nth should be 0
* force seek of current node when reloading nodes
* use graph_foreach_node
* core/graph: remove get_current_node because useless
2015-06-14 00:46:11 +02:00
Riccardo Schirone
e9b870d588
core/cmd_debug: add parameters to 'dtc' command
...
* displays only calls inside a specified range
* stop at a specific address
* add variable dbg.shallow_trace that, if set, skip calls outside the
specified range (you can lose some instructions if the called function
can jump back to code into the range)
2015-06-12 11:53:30 +02:00
pancake
361e8a96e1
Fix #2729 - Add help for dh command
2015-06-12 02:56:54 +02:00
Riccardo Schirone
01a8256a2f
core/cmd_debug: create a call graph starting from execution tree
...
core/cmd_debug: visit the graph to print the callgraph dot file
2015-06-11 22:53:48 +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
84e7193e97
Fix #2719 - Add dbtj command to show backtrace in json
2015-06-11 12:54:39 +02:00
pancake
a793859d5b
Fix some COVs
2015-06-01 11:20:53 +02:00
pancake
6ab745d613
Add dbt= command to list backtrace in one line
2015-05-27 00:38:08 +02:00
jvoisin
181a52ef38
Fix #2567
2015-05-14 15:47:22 +02:00
pancake
374a0541bf
Fix #2488 - Implement date command honoring cfg.datefmt
2015-05-06 00:44:36 +02:00
pancake
33a64eab7e
Load r2e plugins with rasm2 too
2015-04-23 00:56:59 +02:00
pancake
fc40b6e685
Fix #2277 - Segfault with e asm.nbytes=0 and update Sdb for mingw32
2015-04-06 18:31:35 -04: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
pancake
3734f203a1
Fix #2258 - Add flagspace-push/pop and use regs flagspace int the debugger
2015-04-03 20:38:34 +02:00
pancake
87162dc8bf
Add wta support for appending dump.
2015-04-03 04:11:26 +02:00
pancake
4f305309c9
Fix old value shown in debug-reg-set operation
2015-03-20 20:42:40 +01:00
pancake
8837de010d
Add dm. to get the name of the current debug map
2015-03-18 15:35:52 +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
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
skuater
5335ba8f5f
Initial support for FPU/MMX/XMM on linux-x86-64
2015-02-19 10:52:01 +01:00
pancake
dc6aa4d796
Fix #2021 - Implement dbj and db* to list breakpoints in JSON
2015-02-01 02:53:18 +01:00
pancake
80fb5ce37e
Fix some COVs
2015-01-31 12:48:15 +01:00
pancake
4d1a555dbc
Handle debug tracing information in ESIL steps
2015-01-30 02:07:47 +01:00
pancake
d15d4daa25
Fix VV stepping with esil. Code cleanup in cmd_anal.c
2015-01-30 01:55:21 +01:00
pancake
69785d39ba
Cleanup core/{cmd_debug,config}.c (-24LOC)
2015-01-30 00:56:37 +01:00
jvoisin
16cac50319
Coverity++
2015-01-24 11:24:55 +01:00
pancake
b1ade9c1c6
Implement dsuf and cmd.times to run a command when using times repetition prefix
...
dsuf: step until program counter on a flag that matches the given string or any
cmd.times: command to run when prefixing a command with a number
for example:
"e cmd.times=ps@rbx"
10dsuf strlen
or
e cmd.times=?v rbx
10dsuf malloc
or
10dsuf sym
2015-01-17 04:23:07 +01:00
pancake
2175dd9044
Implement dsui to step until an instruction that matches given string
2015-01-17 00:09:01 +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
pancake
3f61490c72
Do not show guid/dbgfile in 'i' if not available
2014-12-12 23:16:59 +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
7811128864
Fix dpa bug in dpf (thanks @zlul)
2014-12-01 11:43:32 +01:00
Jeffrey Crowell
14bc792237
Check for null on core file and remove if()free
2014-12-01 11:16:34 +01:00
pancake
0131f257f8
Fix #1727 - dtc not stopping on errors
2014-11-23 23:31:55 +01:00
pancake
b7e1dc4354
Fix #1698 - dr rflags=cpz is now supported
2014-11-18 17:22:43 +01:00
skuater
430ef8d5fe
Hardware breakpoints working
2014-11-05 13:10:18 +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
c7e0681b38
add support for dbe* / dbd* / dbte* / dbtd*
2014-10-28 17:07:48 +01:00
pancake
ef35aaaa7e
Add support for indexed breakpoint management
2014-10-28 11:14:30 +01:00
pancake
8430ff1dba
r_bp_get -> r_bp_get_at // .. r_bp_get_in
2014-10-28 02:28:58 +01:00
pancake
801faba02d
Refined drr
2014-10-27 10:29:05 +01:00