Home | History | Annotate | Download | only in default-constructor
      1 """
      2 Fuzz tests an object after the default construction to make sure it does not crash lldb.
      3 """
      4 
      5 import sys
      6 import lldb
      7 
      8 def fuzz_obj(obj):
      9     try:
     10         obj.Initialize(lldb.SBDebugger.Create(), None, 0, "$", "^", True)
     11     except Exception:
     12         pass
     13     obj.IsActive()
     14     obj.IsDone()
     15     obj.SetIsDone(True)
     16     obj.GetGranularity()
     17