21 lines · python
1"""2Fuzz tests an object after the default construction to make sure it does not crash lldb.3"""4 5import lldb6 7 8def fuzz_obj(obj):9 obj.GetID()10 obj.IsValid()11 obj.GetWatchAddress()12 obj.GetWatchSize()13 obj.SetEnabled(True)14 obj.IsEnabled()15 obj.GetHitCount()16 obj.GetIgnoreCount()17 obj.SetIgnoreCount(5)18 obj.GetDescription(lldb.SBStream(), lldb.eDescriptionLevelVerbose)19 obj.SetCondition("shouldWeStop()")20 obj.GetCondition()21