sb_address.py revision 1581e74f6217967228294b8079b6e2f908213d6d
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.GetFileAddress() 10 obj.GetLoadAddress(lldb.SBTarget()) 11 obj.OffsetAddress(sys.maxint) 12 obj.GetDescription(lldb.SBStream()) 13