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.GetAddress()
10    obj.GetByteSize()
11    obj.DoesBranch()
12    obj.Print(None)
13    obj.GetDescription(lldb.SBStream())
14    obj.EmulateWithFrame(lldb.SBFrame(), 0)
15    obj.DumpEmulation("armv7")
16    obj.TestEmulation(lldb.SBStream(), "my-file")
17