summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/default-constructor/sb_lineentry.py
blob: d97f2517f4bc843f831c906aafa883bef61cd0bf (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 sys
import lldb

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