xref: /llvm-project/lldb/test/API/python_api/default-constructor/sb_block.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.IsInlined()
10    obj.GetInlinedName()
11    obj.GetInlinedCallSiteFile()
12    obj.GetInlinedCallSiteLine()
13    obj.GetInlinedCallSiteColumn()
14    obj.GetParent()
15    obj.GetSibling()
16    obj.GetFirstChild()
17    obj.GetDescription(lldb.SBStream())
18