summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py
blob: 53761a0c1fa01aef0be0c0db8865a22b6e490dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""

import lldb


def fuzz_obj(obj):
    obj.GetStartAddress()
    obj.GetEndAddress()
    obj.GetFileSpec()
    obj.GetLine()
    obj.GetColumn()
    obj.GetDescription(lldb.SBStream())
OpenPOWER on IntegriCloud