Files
clang-p2996/lldb/test/python_api/default-constructor/sb_filespec.py
Johnny Chen d982f039a1 Add fuzz calls for SBFileSpec.
llvm-svn: 133956
2011-06-27 22:55:51 +00:00

15 lines
304 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.Exists()
obj.ResolveExecutableLocation()
obj.GetFilename()
obj.GetDirectory()
obj.GetPath(None, 0)
obj.GetDescription(lldb.SBStream())