xref: /llvm-project/lldb/test/API/python_api/default-constructor/sb_symbolcontext.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.GetModule()
10    obj.GetCompileUnit()
11    obj.GetFunction()
12    obj.GetBlock()
13    obj.GetLineEntry()
14    obj.GetSymbol()
15    obj.GetDescription(lldb.SBStream())
16