Commit Graph

7284 Commits

Author SHA1 Message Date
Riccardo Schirone
434561ec40 core/graph: reserve the first line for the title 2015-07-30 10:56:15 +02:00
Riccardo Schirone
fc42e8a2a6 cons/canvas: support ansi strings
core/graph: use colored disassembly as default
2015-07-30 01:05:31 +02:00
Riccardo Schirone
5adf6b4043 util/str: add r_str_ansi_crop function and tests 2015-07-30 01:05:31 +02:00
Riccardo Schirone
46ffc1346f util/str: add some comments and fix r_str_ansi_chop
util/str: fix r_str_ansi_filter
2015-07-29 21:33:42 +02:00
Riccardo Schirone
a35ee280ce util/t: add some r_str_* tests 2015-07-29 20:53:11 +02:00
pancake
f1cc477178 Enable anal.calls for aaa and remove debug printf 2015-07-28 22:44:42 +02:00
pancake
b2f0c86bb1 Add aat command to analyze all consecutive functions in section 2015-07-28 18:57:01 +02:00
Skia
b958261fb1 pf: Re-re-fix #1612 2015-07-28 18:28:41 +02:00
Sushant
734291049c Fix #3011 - Compute parity flag only of Least Significant Byte 2015-07-28 16:39:11 +02:00
Skia
7353b5f594 pf: Fix #3013 2015-07-28 16:38:42 +02:00
pancake
83b9633ac2 Add iobind.section_vget 2015-07-28 03:29:16 +02:00
pancake
8abc606b5e V[nN] uses scr.nkey=fun by default now 2015-07-28 03:09:23 +02:00
pancake
80c6d73ae6 Add afr and anal.calls, ensure we flag all functions (wip) 2015-07-27 23:56:11 +02:00
pancake
4d1a0685f3 Make anal.hasnext run forever by default 2015-07-27 23:43:38 +02:00
pancake
036b07bf6b Do not show flags in disasm if the function name is the same 2015-07-27 23:01:01 +02:00
pancake
e1ae194ebb anal.hasnext is false by default
Initial work on removing this option and enabling it under `aat`
2015-07-27 18:54:21 +02:00
pancake
be9b73b1f4 Honor function size in pif and fix blocksize after pdf 2015-07-27 13:30:52 +02:00
Riccardo Schirone
96c5444b9d core/graph: while calculating graph size, consider edges
fix #3003
2015-07-27 12:29:30 +02:00
Riccardo Schirone
ca8ea943c5 core/graph: remove curnode when in non-interactive mode
fix #3004
2015-07-27 12:29:30 +02:00
Riccardo Schirone
94f303ca36 core/graph: clean code + fixes
cons/canvas_line: split style in color and symbol

In this way you can choose to apply a color and/or a symbol (t/f/v) to a
line. This patch also changes core/graph to avoid t/f symbols in the
middle of long edges.

cons/canvas_line: fix "reversed" edge

core/graph: center current node when changing function
2015-07-27 12:29:18 +02:00
Skia
244ce52d66 pf: Add doc for last functionalities 2015-07-26 16:44:08 +02:00
Álvaro Felipe Melchor
65ecefcd3f change layout prompt to point at the end 2015-07-25 20:47:38 +02:00
Álvaro Felipe Melchor
9a44a6c396 Change the nomenclature in some commands visual ascii graph 2015-07-25 20:47:36 +02:00
Álvaro Felipe Melchor
c06dee984e Added the ability to go/seek in Visual Ascii Graph
Fix #2906 - Added the ability tu undo and redo in Visual Ascii Graph

updated agraph_refresh
2015-07-25 20:46:58 +02:00
Riccardo Schirone
af5d430396 core/graph: small fixes
* no need to reset colors at the end
* print title of the graph when in non-interactive mode
2015-07-25 17:06:26 +02:00
Riccardo Schirone
31dfeda157 core/graph: improve edges layout 2015-07-25 13:55:31 +02:00
pancake
04e128ab92 Fix some covs 2015-07-25 09:58:11 +02:00
pancake
f334560f74 More auto function name fixes 2015-07-25 09:52:58 +02:00
pancake
9dfb354af6 Fix regression in function auto names 2015-07-25 04:03:33 +02:00
pancake
1e8714f0cf Fix cmd_pd_bugs (function names must not be section) 2015-07-25 03:31:17 +02:00
yetmorecode
e55728a218 Re-fix #2987 - further fix for file handle leak on windows 2015-07-25 02:22:22 +02:00
Riccardo Schirone
8f96bc4de1 core/graph: avoid two nodes with the same title 2015-07-25 02:11:51 +02:00
Riccardo Schirone
1fd9f05297 core/graph: fix cmd_graph tests 2015-07-25 02:11:51 +02:00
pancake
fbdf0e8fde Fix some more COVs 2015-07-25 02:10:31 +02:00
pancake
40842b0e96 Fix some clang build issues 2015-07-25 01:54:07 +02:00
pancake
e220f553fe Missing break in cmd_debug COV#1312122 2015-07-25 01:34:58 +02:00
Álvaro Felipe Melchor
7dec5d289d Fix two double frees in agn command 2015-07-25 01:26:58 +02:00
Álvaro Felipe Melchor
050c2fe9f8 Fix some COVS 2015-07-25 01:26:54 +02:00
Skia
c8ba1fa33c pf: Re-fix #1612 2015-07-25 01:23:38 +02:00
pancake
3a97b1cc6f Initial experimental support for aae UJMP/UCALL refs 2015-07-24 19:33:22 +02:00
pancake
c4eb96c9ac Fix r_bin_filter_names() to support dupped vaddr+name entries 2015-07-24 18:48:14 +02:00
pancake
43ecb3939e Better aae, more hits, better emulation, fix boundary bug 2015-07-24 18:19:11 +02:00
pancake
13957c212b Fix x86-64 RIP relative references in ESIL 2015-07-24 18:19:08 +02:00
Riccardo Schirone
8b5f7308f0 core/graph: improve node layout
core/graph: remove all_reversed_right and shift_right_dummies
core/graph: change dist_nodes calculations
2015-07-24 18:00:32 +02:00
Riccardo Schirone
23fd1a4425 core/graph: reduce space between nodes
core/graph: if we already have the distance between two nodes, update it

core/graph: avoid setting layout two times
2015-07-24 18:00:23 +02:00
pancake
c0dfc507fe Initial WIP implementation of aae for linear ESIL code analysis 2015-07-24 15:20:32 +02:00
Riccardo Schirone
5ef6454ee0 core/graph: sdbization of RAGraph
* core/graph: refactor check_changes of agraph
* core/graph: udpate info when getting the Sdb from the graph
* core/graph: add in sdb info about nodes
* core/graph: add "agraph.delta_x" to rebase all coordinates and make
              them unsigned integers
* core/cmd_anal: add 'agg*' to print r2 commands to generate the graph
* core/cmd_anal: add helps to 'agn' and 'age' commands
2015-07-24 14:00:11 +02:00
Riccardo Schirone
67735a34ed core/cmd_anal: fix base64 body for 'agn' command 2015-07-24 13:50:06 +02:00
Riccardo Schirone
181fe9ffdc core/cmd_print: fix p6[ed] because they didn't print a newline 2015-07-24 13:50:06 +02:00
pancake
6ae0417278 Updsate SDB to optimize dupped symbol checks in mach0 parser 2015-07-24 13:24:32 +02:00