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     obj.Append(lldb.SBValue())
     10     obj.GetSize()
     11     obj.GetValueAtIndex(100)
     12     obj.FindValueObjectByUID(200)
     13     for val in obj:
     14         print val
     15