DonnyBrasco25 / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
0 stars 0 forks source link

Androdd filename bug #154

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I have found a bug in androdd.py when generating the call graph. 
The problem is that androdd generates file names and directory names by 
concatenate the class hierarchy of the functions. However, there are limits on 
the maximum length of file names and directory names on some OSs. For example, 
on my system the limit is 255 characters(Linux ext3). Thus, when the length 
exceeds the limit, the program fails to generate the graph. Even though the 
limit can be set using system administration commands, we should consider this 
in the program.
A straightforward solution is to check the length to limit the length of file 
names and directory names under the system limit. Or we can figure out other 
approaches to name the files and directories.
Thank you a lot!

Original issue reported on code.google.com by Classica...@gmail.com on 29 Mar 2014 at 3:08