1"""
2Fuzz tests an object after the default construction to make sure it does not crash lldb.
3"""
4
5import sys
6import lldb
7
8def fuzz_obj(obj):
9    obj.GetSize()
10    obj.GetInstructionAtIndex(0xffffffff)
11    obj.AppendInstruction(lldb.SBInstruction())
12    obj.Print(None)
13    obj.GetDescription(lldb.SBStream())
14    obj.DumpEmulationForAllInstructions("armv7")
15    obj.Clear()
16    for inst in obj:
17        print inst
18