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
XVilka
44ab1ceaa0
Final fixes for Mingw-W64 support (except SDB)
2015-07-23 21:05:56 +03:00
Skia
11c5e1e717
pf: Fix #1612
2015-07-23 19:37:58 +02:00
Skia
e1a61b6428
pf: Fix #2993
2015-07-23 19:37:58 +02:00
pancake
28bc027984
Fix pdc
from bindings (thanks @hteso for reporting)
2015-07-23 17:24:14 +02:00
Skia
1541477ae9
Add support for registers in pf
and fix pfv
2015-07-23 14:37:37 +02:00
pancake
0639261e26
Add more details for OSX code signing
2015-07-23 03:34:46 +02:00
pancake
1b4ef742e1
Fix #2987 - apply @yetmorecode to fix fd leak on Windows
2015-07-23 00:56:22 +02:00
pancake
55474775ba
Fix #2990 - Add dmda
dmdw
dmsw
dmsa
and json listing
2015-07-23 00:49:59 +02:00
pancake
bd10c86303
Autocomplete rm
2015-07-23 00:45:06 +02:00
Jeffrey Crowell
c5a03b3fea
fix string searching on cygwin
2015-07-22 13:51:42 -04:00
pancake
4d6b0aea96
Fix two COVs
2015-07-21 18:08:32 +02:00
pancake
fc0dc1ca1b
Fix af
in debugger mode
2015-07-21 13:38:34 +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
Álvaro Felipe Melchor
49853dbb92
Fix #2913
2015-07-21 00:56:05 +02:00
zlowram
29615355b6
Fixes translation of X86_INS_LEAVE instruction to esil
2015-07-21 00:55:32 +02:00
zlowram
1122bc122e
Fixes esil xL xH swapped registers for udis
2015-07-20 15:49:08 +02:00
Álvaro Felipe Melchor
49eaa2a369
Fix #2967
2015-07-19 22:14:44 +02:00
Riccardo Schirone
65bed1595c
core/graph: remove set_layout_callgraph but just use the same algorithm
...
* core/graph: avoid calling agraph_reload_nodes, do it during refresh
2015-07-19 01:35:01 +02:00
Riccardo Schirone
3738b5fe59
core/graph: make the title a field of RAGraph
...
* core/graph: add r_agraph_set_title function to the API
2015-07-19 01:35:01 +02:00
Riccardo Schirone
9d830a925f
core/graph: last line fix + memleaks fixes
...
* core/graph: fix last line in non-interactive mode
* core/graph: remove event_resize callback at the end
* core/graph: free RANodes when you free/reset the RAGraph
* core/graph: use R_TRUE/R_FALSE instead of 1/0
* core/graph: remove warnings
2015-07-19 01:33:52 +02:00
Riccardo Schirone
41c88042c9
core/cmd_anal: remove non existent command from help
2015-07-19 01:32:42 +02:00
zlowram
0d13158747
Fixes esil xL xH swapped registers
2015-07-18 23:56:42 +02:00
Riccardo Schirone
a21bcf706b
core/graph: not center graph when stepping inside other nodes
2015-07-18 00:20:07 +02:00
pancake
e059474761
Fix aar
in 2331 PE bin
2015-07-17 11:47:52 +02:00
pancake
5ffe848cb2
Fix COV 1311950
2015-07-17 11:33:16 +02:00
pancake
7e9c260254
Enhace the Material WebUI and add fs-.
command,
...
- Rebumped Overview
- Show info in columns
- Show fortunes
- Handle Ctrl+[0-9]
- Analyze refs and show entire function from pd
- Search more stuff (magic,hex,rop,code,..)
- Script panel
- Lists using tables
2015-07-17 11:21:04 +02:00
Jeffrey Crowell
6fe093552b
fix crash in mips pseudo
...
be careful that what we read is actually an operand.
closes #2963
2015-07-17 00:36:17 -04:00
pancake
9b1ce9250a
Fix search boundaries for io.va=0
2015-07-17 01:53:45 +02:00
Sven Steinbauer
3aa79a291c
Option to toggle invert scrolling of ASCII graph
...
Toggles both HJKL and mouse wheel scrolling of canvas
* Remove invert scroll toggle. Config only
* Changes invert_scroll to invscroll
* Removes invscroll from RAGraph
* Replaces spaces with tabs
2015-07-17 00:21:15 +02:00
pancake
939b524a45
Fix aar from aaa. Run aac from aaa
2015-07-16 16:29:40 +02:00
pancake
1ca19fe194
Run aar
from aaa
2015-07-16 13:11:47 +02:00
Riccardo Schirone
99ac4461c4
core/config: rename var to enable/disable marks before disasm
2015-07-16 13:20:04 +02:00
deffi420
9d92712cea
Add aar
command to search xrefs in code
...
- Ignore references to sections with vaddr=0
- Skip overlapping instructions in xref search
- Improve debugger mode support of `axa`
- Remove unused cmd variable
2015-07-16 00:32:18 +02:00
pancake
8ff870be8e
Honor graph.scroll by default
2015-07-16 00:13:47 +02:00
pancake
00556c9db6
Handle regalias in ar
. Add aeip
to init pc and use it in aei
2015-07-15 18:18:04 +02:00
pancake
d4eb221d38
Add asm.tabsoff variable to make Bokken happy
2015-07-15 17:30:34 +02:00
pancake
6932a416f7
Fix IOLI anal regression
2015-07-15 17:18:07 +02:00
pancake
10ad1deaac
Fix op.ref issue on some x86 MOVs and show flags for op.ref
2015-07-15 16:45:24 +02:00
pancake
a02cdf666d
Fix aagraph help and add '!' to toggle experimental disasm color
2015-07-15 16:11:39 +02:00
pancake
df25085ffe
Add custom color support for graphs and handle VVR and VVVq
2015-07-15 15:54:20 +02:00
pancake
2145a2cd05
Add asm.tabsonce to only tabulate the instruction
2015-07-15 15:14:51 +02:00
pancake
390a0e61bc
Fix some coverities
2015-07-15 15:08:56 +02:00
pancake
cb26b7a366
Fix asm.describe when asm.ucase is set
2015-07-15 14:55:00 +02:00
pancake
46a11b52b2
Add function flags with .afl*
2015-07-15 03:23:11 +02:00
pancake
37ee858970
Add @e: for temporary eval var changes
2015-07-15 02:16:28 +02:00
pancake
14eb653f8a
Fix Vejejjjjjjjjjjjjjjjjjjjjq issue
2015-07-15 01:39:00 +02:00
pancake
d63bc945d7
Reference /m in pm? help message
2015-07-15 01:30:53 +02:00
pancake
191fecab85
Fix RAsm build
2015-07-15 01:04:22 +02:00
pancake
e38e5b8291
Add powerpc function prelude
2015-07-15 00:58:45 +02:00
pancake
9e08fb0c26
Update sdb and fix shlr/sdb race condition
2015-07-15 00:52:23 +02:00
David Kreuter
691294f2bc
refactoring of r_socket_connect (Should resolve CID 1134571 Logically dead code)
2015-07-15 00:39:08 +02:00
David Kreuter
a8d7b8ea94
CID 1134732 Out-of-bounds access /libr/asm/arch/avr/format.c
2015-07-15 00:39:07 +02:00