pancake
3fe30f5c35
Fix #5450 - Implement 'n' key in VV graph to rename function
2016-08-08 10:56:47 +02:00
Eugene
eb6702b254
Added missed lines&sorted ( #5307 )
2016-07-07 23:02:27 +02:00
Álvaro Felipe Melchor
4b08d38cb1
more mem leak fixes
2016-06-29 10:11:25 +02:00
Jeffrey Crowell
2f6d778aef
cleanup usages of r_str_newf to meet style guide
2016-06-15 19:42:03 +00:00
Anton Kochkov
68ef35f635
Uniform name RUndos -> RIOUndos (for bindings)
2016-06-02 07:34:06 +03:00
Rene Laemmert
2740e74e49
added cursor to undo seek history ( #5054 )
...
* added cursor to undo seek history
* cleanup the mentioned parts
2016-06-01 12:16:00 +02:00
Sven Steinbauer
547f8bbc5c
Infer fixes Round 2 ( #4993 )
2016-05-24 22:22:15 +02:00
pancake
c36b299073
Fix some null deref and rarun2 chroot escape vuln
2016-05-24 12:32:45 +02:00
Riccardo Schirone
1c7119401a
core/graph: improve layer assignment algorithm
...
It should fix some layer problem on some binaries like ls-linux64 and in
the presence of self-loop. The previous algorithm could assign the same
layer to two nodes that are connected with an edge (and it should never
happen, because they have to be on different layers).
This patch uses the topological sort of a graph to assign the layer.
2016-05-14 10:37:55 +02:00
rene
695d9a0d04
added shortcuts for every node in graph view
...
fixes mentioned in the pr
fixed the Vp issue mentioned in the pr
fixes the mentioned parts
changed reallocation size
Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-12 23:49:30 +02:00
Riccardo Schirone
ed80f726f6
core/graph: remove esil modes
...
core/cmd_debug: use just one if instead of two nested
2016-05-04 10:18:20 +02:00
pancake
4546355af3
Add support for ascii-art debug tracing call graphs
2016-05-04 00:43:08 +02:00
pancake
bbc3e4e24e
Fix aggi;V, agc* and add proper callgraph support in V
2016-05-04 00:11:28 +02:00
pancake
a83d9c1827
export MAKE in sys/install.sh
2016-05-03 22:29:56 +02:00
Riccardo Schirone
e8e5d92d4d
core/graph: update help to explain undocumented commands
2016-04-27 23:35:19 +02:00
Roi Martin
fa6415f1e1
Update graph help with summary mode
2016-04-10 13:02:23 +02:00
Roi Martin
92ab708310
Disassembly first BB instead of first 4 insns in CG mode
2016-04-09 22:29:16 +03:00
Roi Martin
89ee2585d6
Add "summary mode" to ascii graphs
2016-04-09 22:29:16 +03:00
Roi Martin
75c5c31b53
Fix double free when quitting from graph
2016-04-02 22:47:49 +02:00
NaveenBoggarapu
7d61361361
fix some memory leaks
2016-04-01 19:25:32 +02:00
pancake
c724e3b1a5
Honor ec graph.{true|false|trufae} in aga for graphviz
2016-03-31 02:03:44 +02:00
Riccardo Schirone
64c3c9a723
core/graph: disable cursor when in graph mode to avoid glitches
2016-02-28 14:19:57 +01:00
pancake
bcb065e5dd
Fix #4031 and #4030 - asm.jmphints independent from asm.comments
2016-01-27 02:25:25 +01:00
Jeffrey Crowell
8ede2fd32c
fix infinite loop in graph minimize_crossings
...
see
https://github.com/praetorian-inc/angr/tree/binaries/tests/binaries/tests/x86_64
for test binary
2016-01-08 20:50:46 +01:00
pancake
e007cf8c71
Fix last coverities
2016-01-07 14:08:25 +01:00
Riccardo Schirone
3e40ca0a93
core/graph: extend r_core_visual_graph to accept a graph
...
Now it is possible to pass an already initialized RAGraph that can be
used in interactive mode, without being based on a function.
2016-01-05 00:36:26 +01:00
pancake
6f5f32bb17
Fix #3877 - Add comments in graph mode
2015-12-29 18:17:33 +01:00
jvoisin
3727f0794d
Change the anti pattern if (A) free (A); for free (A);
2015-12-20 19:28:39 +01:00
pancake
6dc0bd41c1
depgraph for r2 ascii graphs, agn doesnt requires body now
2015-12-10 22:45:00 +01:00
pancake
0880d7d4f5
Some refactor/cleanup for agf and io cache (wip)
2015-12-08 14:59:30 +01:00
Riccardo Schirone
aeddf25348
core/graph: fix behaviour of pagedown/up and home/end
...
fix #3688
2015-11-26 10:50:00 +01:00
Riccardo Schirone
d47216b349
core/graph: fix SEGFAULT on some "complex" functions
2015-11-23 14:40:08 +01:00
pancake
ccfee9fcca
Fix many important issues reported by clang-analyzer
2015-11-22 11:27:45 +01:00
pancake
7fd4b02ea0
Do not preserve scroll when switching to functions
2015-11-12 14:01:22 +01:00
pancake
c0da7a1c9e
Fix #3661 - Backup/restore scroll position on comment toggling
2015-11-12 11:06:41 +01:00
Álvaro Felipe Melchor
b1583d5b24
Fix more issues reported by clang-analyzer
2015-11-03 22:14:00 +01:00
pancake
b0ab964303
More vulnfixes reported by clang-analyzer
2015-11-02 12:44:06 +01:00
sghctoma
35b180a484
Refresh only nodes' text instead of the whole graph when leaving prompt.
2015-11-02 12:00:21 +01:00
sghctoma
c2fb50a932
Refresh graph after using the prompt (':')
2015-11-02 12:00:21 +01:00
pancake
5c99eb0c3f
Uppercase register aliases
2015-10-31 01:59:01 +01:00
Álvaro Felipe Melchor
5543f73cb1
Fix some covs
2015-10-29 23:39:49 +01:00
Riccardo Schirone
fe02223754
core/core: fix out of bound read when using non existing asmqjmps
...
core/graph: fix HJKL/hjkl help
2015-10-29 08:41:24 +01:00
Riccardo Schirone
1ce7c419d4
core/graph: rename commands and seek on debug only when node changes
2015-10-26 20:19:52 +01:00
Riccardo Schirone
efc5f8d917
core/graph: fix segfault when returned list has length 0
2015-10-26 14:39:54 +01:00
Riccardo Schirone
14c0f656fe
core/graph: rethink commands
...
* add :cmd and / commands to the help
* use r to refresh the whole graph, not only update the layout
* use pd instead of pi in callgraph mode
* remove 'O' and 'p' commands
* use 's'/'S' instead of 'z'/'Z' for step/step over
* use page up/down to go to the top/bottom of the graph
* use 'C' to toggle asm.comments
* remove 'c' because it will be used for the cursor inside a node (TODO)
* remove 'e' because diagonal lines are broken
* use 'p'/'P' to switch between print modes (normal, normal with offset
and bytes, esil, esil with offset and bytes, small nodes)
2015-10-25 23:56:22 +01:00
Riccardo Schirone
8e6eaf2f71
core/graph: remove eprintf for @Maijin
2015-10-20 11:04:21 +02:00
Riccardo Schirone
6df5031bf7
core/graph: quick fix for 1-level back-edges and self-referenced blocks
2015-10-18 15:52:34 +02:00
Riccardo Schirone
f04aefd371
core/graph: keep being in graph mode when you jump to xrefs
2015-10-16 22:47:16 +02:00
Riccardo Schirone
785f0d2cbf
core/graph: use non-interactive mode
2015-10-16 11:26:59 +02:00
Riccardo Schirone
eb35438bab
core/graph: remove 'b' and only use 'u' and 'U' to move between nodes
...
Now, every time you change the current node, you are actually seeking
that node. 'b' is not really necessary anymore and it's also confusing.
Also, if you change the seek while in graph mode, the graph will be
updated automatically to select the right node.
2015-10-16 11:26:59 +02:00