"""
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.SetLoadAddress(0xffff, lldb.SBTarget())
    obj.OffsetAddress(sys.maxint)
    obj.GetDescription(lldb.SBStream())
    obj.Clear()

"""
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.SetLoadAddress(0xffff, lldb.SBTarget())
    obj.OffsetAddress(sys.maxint)
    obj.GetDescription(lldb.SBStream())
    obj.GetSectionType()
    obj.GetSymbolContext(lldb.eSymbolContextEverything)
    obj.GetModule()
    obj.GetCompileUnit()
    obj.GetFunction()
    obj.GetBlock()
    obj.GetSymbol()
    obj.GetLineEntry()
    obj.Clear()

Add new SBAddress APIs to the fuzz tests.
Add new SBAddress APIs to the fuzz tests.


git-svn-id: b33bab8abb5b18c12ee100cd7761ab452d00b2b0@137625 91177308-0d34-0410-b5e6-96231b3b80d8
