aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/scripts
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-07-19 17:57:52 -0700
committerTor Norbye <tnorbye@google.com>2012-07-23 15:06:58 -0700
commit74dc3e0d7d584d039689e57a80cf9868267883fd (patch)
tree29a4cd49209f5f9fa015f928aaa36c364f8312f8 /eclipse/scripts
parent2c611aed27d75bd816b7887b64f98ff1ed87b097 (diff)
downloadsdk-74dc3e0d7d584d039689e57a80cf9868267883fd.zip
sdk-74dc3e0d7d584d039689e57a80cf9868267883fd.tar.gz
sdk-74dc3e0d7d584d039689e57a80cf9868267883fd.tar.bz2
Add basic flow analysis support to lint
This changeset adds in the ASM analysis library (an optional part of the ASM package lint is already using to process bytecode). It also adds some basic flow analysis to the SecureRandom detector to detect whether a given dispatch to a field of type java.util.Random is actually pointing to a java.security.SecureRandom, in which case it flags calls on it to setSeed() where the argument is a fixed integer. Change-Id: If85ab9f8db0e801a01f1a3ea845865b4f98e259c
Diffstat (limited to 'eclipse/scripts')
-rwxr-xr-xeclipse/scripts/create_all_symlinks.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclipse/scripts/create_all_symlinks.sh b/eclipse/scripts/create_all_symlinks.sh
index 6cf1fb2..1bfa946 100755
--- a/eclipse/scripts/create_all_symlinks.sh
+++ b/eclipse/scripts/create_all_symlinks.sh
@@ -130,6 +130,7 @@ ADT_PREBUILTS="\
prebuilts/tools/common/freemarker/freemarker-2.3.19.jar \
prebuilts/tools/common/asm-tools/asm-4.0.jar \
prebuilts/tools/common/asm-tools/asm-tree-4.0.jar \
+ prebuilts/tools/common/asm-tools/asm-analysis-4.0.jar \
prebuilts/tools/common/lombok-ast/lombok-ast-0.2.jar"
LIBS="$LIBS $ADT_LIBS"