A toolkit for analyzing Dalvik executables