1"""
2Fuzz tests an object after the default construction to make sure it does not crash lldb.
3"""
4
5import sys
6import lldb
7
8
9def fuzz_obj(obj):
10    obj.GetFileAddress()
11    obj.GetLoadAddress(lldb.SBTarget())
12    obj.SetLoadAddress(0xffff, lldb.SBTarget())
13    obj.OffsetAddress(sys.maxsize)
14    obj.GetDescription(lldb.SBStream())
15    obj.GetSection()
16    obj.GetSymbolContext(lldb.eSymbolContextEverything)
17    obj.GetModule()
18    obj.GetCompileUnit()
19    obj.GetFunction()
20    obj.GetBlock()
21    obj.GetSymbol()
22    obj.GetLineEntry()
23    obj.Clear()
24