if suspect in curfile.lower():
handleproblem('usual supect', fd, fp)
if suspect in curfile.lower():
handleproblem('usual supect', fd, fp)
if mime == 'application/x-sharedlib':
handleproblem('shared library', fd, fp)
elif mime == 'application/x-archive':
if mime == 'application/x-sharedlib':
handleproblem('shared library', fd, fp)
elif mime == 'application/x-archive':
if 'DexClassLoader' in line:
handleproblem('DexClassLoader', fd, fp)
break
if 'DexClassLoader' in line:
handleproblem('DexClassLoader', fd, fp)
break
# Presence of a jni directory without buildjni=yes might
# indicate a problem (if it's not a problem, explicitly use
# Presence of a jni directory without buildjni=yes might
# indicate a problem (if it's not a problem, explicitly use