summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/default-constructor/sb_inputreader.py
blob: 9b94a12a7e309bcc080d9fbb9ba5da4f12c8faf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""
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.Initialize(lldb.SBDebugger.Create(), None, None, 0, "$", "^", True)
    obj.IsActive()
    obj.IsDone()
    obj.SetIsDone(True)
    obj.GetGranularity()
OpenPOWER on IntegriCloud