Files
clang-p2996/lldb/test/python_api/default-constructor/sb_symbolcontext.py
2011-06-28 23:38:38 +00:00

16 lines
310 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.GetModule()
obj.GetCompileUnit()
obj.GetFunction()
obj.GetBlock()
obj.GetLineEntry()
obj.GetSymbol()
obj.GetDescription(lldb.SBStream())