2 Fuzz tests an object after the default construction to make sure it does not crash lldb.
11 obj
.GetPlatformFileSpec()
12 obj
.SetPlatformFileSpec(lldb
.SBFileSpec())
14 obj
.ResolveFileAddress(sys
.maxsize
)
15 obj
.ResolveSymbolContextForAddress(lldb
.SBAddress(), 0)
16 obj
.GetDescription(lldb
.SBStream())
18 obj
.GetSymbolAtIndex(sys
.maxsize
)
19 sc_list
= obj
.FindFunctions("my_func")
20 sc_list
= obj
.FindFunctions("my_func", lldb
.eFunctionNameTypeAny
)
21 obj
.FindGlobalVariables(lldb
.SBTarget(), "my_global_var", 1)
22 for section
in obj
.section_iter():
24 for symbol
in obj
.symbol_in_section_iter(lldb
.SBSection()):
28 obj
.GetAddressByteSize()