summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/default-constructor/sb_filespec.py
blob: 5dd78b1ace98f067c80aa3ef2937acc0b4e2a8e6 (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.Exists()
    obj.ResolveExecutableLocation()
    obj.GetFilename()
    obj.GetDirectory()
    obj.GetPath(1)
    obj.GetDescription(lldb.SBStream())