Files
llvm-tms34010/lldb/test/python_api/default-constructor/sb_block.py
T
2011-06-24 00:21:36 +00:00

18 lines
392 B
Python

"""
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
import sys
import lldb
def fuzz_obj(obj):
obj.IsInlined()
obj.GetInlinedName()
obj.GetInlinedCallSiteFile()
obj.GetInlinedCallSiteLine()
obj.GetInlinedCallSiteColumn()
obj.GetParent()
obj.GetSibling()
obj.GetFirstChild()
obj.GetDescription(lldb.SBStream())