1""" 2Fuzz tests an object after the default construction to make sure it does not crash lldb. 3""" 4 5import lldb 6 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 n in obj: 17 s = str(n) 18