22 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.IsValid()10 obj.GetName()11 obj.GetExecutableFile()12 obj.GetProcessID()13 obj.GetUserID()14 obj.GetGroupID()15 obj.UserIDIsValid()16 obj.GroupIDIsValid()17 obj.GetEffectiveUserID()18 obj.GetEffectiveGroupID()19 obj.EffectiveUserIDIsValid()20 obj.EffectiveGroupIDIsValid()21 obj.GetParentProcessID()22