add smatch_scripts/trace_params.pl
commit8c85b26465138d7d593f90d39d20adf3ab2e3ce7
authorDan Carpenter <error27@gmail.com>
Wed, 30 Dec 2009 13:38:38 +0000 (30 15:38 +0200)
committerDan Carpenter <error27@gmail.com>
Wed, 30 Dec 2009 13:38:38 +0000 (30 15:38 +0200)
tree835242ffd97182d84525038f73a989446bc5a769
parentb154c5a3ec77250fe9c52afd7565b4c16b5a3e0a
add smatch_scripts/trace_params.pl

This script recursively checks to see which functions and parameters
map to each other.
foo1(int bar){ foo(bar); }
foo2(int bar){ foo1(bar); }

foo2 0 => foo 0

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch_scripts/trace_params.pl [new file with mode: 0755]