blob: 3aa9235b8a16d8b443d9d110da3c0d163145fed2 (
plain) (
blame)
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.Exists()
obj.ResolveExecutableLocation()
obj.GetFilename()
obj.GetDirectory()
obj.GetPath(None, 0)
obj.GetDescription(lldb.SBStream())
|