Closed GoogleCodeExporter closed 8 years ago
The script restart on the blocked filed ?? How is it possible ?
What is the content of the AnalyzeAPK function ?
Original comment by anthony....@gmail.com
on 4 Dec 2011 at 11:24
Original comment by anthony....@gmail.com
on 6 Dec 2011 at 8:18
yes. the script restart on the blocked files.
It seems a problem related to memory usage....
The content of AnalyzeAPK is:
def AnalyzeAPK(filename, raw=False) :
from dvm import DalvikVMFormat
from apk import APK
import risk
a = APK(filename, raw)
if a.is_valid_APK() != True :
print "Not valid APK ", filename
del a
return False, None, None, None, None
strings = DalvikVMFormat( a.get_dex() ).get_strings()
ri = risk.RiskIndicator()
score, risk_detailed = ri.with_apk(a)
perms = a.get_details_permissions()
del a
del ri
return True, strings, score, risk_detailed, perms
Original comment by liadalex82@gmail.com
on 7 Dec 2011 at 10:10
The script causes an out of memory, so the OS kills the python process!
Probably a memory leak occurs.
Cheers
Original comment by liadalex82@gmail.com
on 7 Dec 2011 at 11:05
Original issue reported on code.google.com by
liadalex82@gmail.com
on 2 Dec 2011 at 4:43