blob: ce942a9daa49e7e81cf9e2ed5637f126df4e607e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
"""
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
import lldb
def fuzz_obj(obj):
obj.GetName()
obj.GetMangledName()
obj.GetInstructions(lldb.SBTarget())
obj.GetStartAddress()
obj.GetEndAddress()
obj.GetPrologueByteSize()
obj.GetType()
obj.GetDescription(lldb.SBStream())
|