sb_inputreader.py revision b7b4947c5cd2ada69d9d3d4539557853ad9d2d7a
1"""
2Fuzz tests an object after the default construction to make sure it does not crash lldb.
3"""
4
5import sys
6import lldb
7
8def fuzz_obj(obj):
9    obj.Initialize(lldb.SBDebugger.Create(), None, None, 0, "$", "^", True)
10    obj.IsActive()
11    obj.IsDone()
12    obj.SetIsDone(True)
13    obj.GetGranularity()
14