|
"""
|
|
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())
|