aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py
blob: 9c89792791f7989b91886f25ed921704100cdf5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
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.GetStartAddress()
    obj.GetEndAddress()
    obj.GetFileSpec()
    obj.GetLine()
    obj.GetColumn()
    obj.GetDescription(lldb.SBStream())