blob: 0cafa865ac7c23a75b7a0a5c54eaf14ecb014ad5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
"""
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.GetFileAddress()
obj.GetLoadAddress(lldb.SBTarget())
obj.OffsetAddress(sys.maxint)
obj.GetDescription(lldb.SBStream())
obj.Clear()
|