2 Fuzz tests an object after the default construction to make sure it does not crash lldb.
17 obj.SetFormat(lldb.eFormatBoolean)
20 obj.GetValueDidChange()
22 obj.GetObjectDescription()
24 obj.SetValueFromCString("my_new_value")
25 obj.GetChildAtIndex(1)
26 obj.GetChildAtIndex(2, lldb.eNoDynamicValues, False)
27 obj.GetIndexOfChildWithName("my_first_child")
28 obj.GetChildMemberWithName("my_first_child")
29 obj.GetChildMemberWithName("my_first_child", lldb.eNoDynamicValues)
33 obj.TypeIsPointerType()
34 stream = lldb.SBStream()
35 obj.GetDescription(stream)
36 obj.GetExpressionPath(stream)
37 obj.GetExpressionPath(stream, True)
38 error = lldb.SBError()
39 obj.Watch(True, True, False, error)
40 obj.WatchPointee(True, False, True, error)
43 error = lldb.SBError()
44 obj.GetValueAsSigned(error, 0)
45 obj.GetValueAsUnsigned(error, 0)
46 obj.GetValueAsSigned(0)
47 obj.GetValueAsUnsigned(0)
48 obj.GetDynamicValue(lldb.eNoDynamicValues)
51 invalid_type = lldb.SBType()
52 obj.CreateChildAtOffset("a", 12, invalid_type)
53 obj.Cast(invalid_type)
54 obj.CreateValueFromExpression("pt->x", "pt->x")
55 obj.CreateValueFromAddress("x", 0x123, invalid_type)
56 invalid_data = lldb.SBData()
57 obj.CreateValueFromData("x", invalid_data, invalid_type)
58 obj.GetValueForExpressionPath("[0]")
62 obj.GetPointeeData(0, 1)