sb_filespec.py revision 2fe615709082d0847d35c440b84be12a3ca45a20
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.Exists()
10    obj.ResolveExecutableLocation()
11    obj.GetFilename()
12    obj.GetDirectory()
13    obj.GetPath(None, 0)
14    obj.GetDescription(lldb.SBStream())
15