17 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.GetName()10 obj.GetMangledName()11 obj.GetInstructions(lldb.SBTarget())12 obj.GetStartAddress()13 obj.GetEndAddress()14 obj.GetPrologueByteSize()15 obj.GetType()16 obj.GetDescription(lldb.SBStream())17