Commit 42b16092224bd4d5f4e51ce30bc76449f78f2eb0

Steffen Jaeckel 2019-04-04T07:54:00

how to create a minimized callgraph

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/dep.pl b/dep.pl
index e06b968..72214ad 100755
--- a/dep.pl
+++ b/dep.pl
@@ -171,6 +171,8 @@ close $out;
 sub draw_func
 {
    my @funcs = split ',', $_[0];
+   # try this if you want to have a look at a minimized version of the callgraph without all the trivial functions
+   #if ($list =~ /$funcs[0]/ || $funcs[0] =~ /BN_MP_(ADD|SUB|CLEAR|CLEAR_\S+|DIV|MUL|COPY|ZERO|GROW|CLAMP|INIT|INIT_\S+|SET|ABS|CMP|CMP_D|EXCH)_C/) {
    if ($list =~ /$funcs[0]/) {
       return;
    } else {