"""
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.GetName()
    obj.GetByteSize()
    #obj.GetEncoding(5)
    obj.GetNumberChildren(True)
    member = lldb.SBTypeMember()
    obj.GetChildAtIndex(True, 0, member)
    obj.GetChildIndexForName(True, "_member_field")
    obj.IsAPointerType()
    obj.GetPointeeType()
    obj.GetDescription(lldb.SBStream())


"""
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.GetName()
    obj.GetByteSize()
    #obj.GetEncoding(5)
    obj.GetNumberChildren(True)
    member = lldb.SBTypeMember()
    obj.GetChildAtIndex(True, 0, member)
    obj.GetChildIndexForName(True, "_member_field")
    obj.IsAPointerType()
    obj.GetPointeeType()
    obj.GetDescription(lldb.SBStream())
    obj.IsPointerType(None)
    lldb.SBType.IsPointerType(None)


Add fuzz calls for SBType::IsPointerType(void *opaque_type).
Add fuzz calls for SBType::IsPointerType(void *opaque_type).


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