Files
clang-p2996/lldb/test/python_api/default-constructor/sb_address.py
2011-06-28 23:29:14 +00:00

14 lines
296 B
Python

"""
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()