blob: 3eeb24b4273405e073efbaaae5ed686372229103 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
"""
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.IsInlined()
obj.GetInlinedName()
obj.GetInlinedCallSiteFile()
obj.GetInlinedCallSiteLine()
obj.GetInlinedCallSiteColumn()
obj.GetParent()
obj.GetSibling()
obj.GetFirstChild()
obj.GetDescription(lldb.SBStream())
|