forked from OSchip/llvm-project
16 lines
310 B
Python
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())
|