1"""
2Fuzz tests an object after the default construction to make sure it does not crash lldb.
3"""
4
5import sys
6import lldb
7
8def fuzz_obj(obj):
9    obj.GetFileSpec()
10    obj.GetNumLineEntries()
11    obj.GetLineEntryAtIndex(0xffffffff)
12    obj.FindLineEntryIndex(0, 0xffffffff, None)
13    obj.GetDescription(lldb.SBStream())
14    for line_entry in obj:
15        print line_entry
16