blob: 01b5b7b793ea767203eb3930542cdb825cc60bf6 (
plain)
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.GetModule()
obj.GetCompileUnit()
obj.GetFunction()
obj.GetBlock()
obj.GetLineEntry()
obj.GetSymbol()
obj.GetDescription(lldb.SBStream())
|