1""" 2Fuzz tests an object after the default construction to make sure it does not crash lldb. 3""" 4 5import sys 6import lldb 7 8def fuzz_obj(obj): 9 obj.AppendString("another string") 10 obj.AppendString(None) 11 obj.AppendList(None, 0) 12 obj.AppendList(lldb.SBStringList()) 13 obj.GetSize() 14 obj.GetStringAtIndex(0xffffffff) 15 obj.Clear() 16 for str in obj: 17 print str 18