xref: /llvm-project/lldb/test/API/python_api/default-constructor/sb_filespec.py (revision 99451b4453688a94c6014cac233d371ab4cc342d)
1"""
2Fuzz tests an object after the default construction to make sure it does not crash lldb.
3"""
4
5import lldb
6
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