mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-28 10:31:21 +00:00
15 lines
291 B
Python
15 lines
291 B
Python
"""
|
|
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.GetStartAddress()
|
|
obj.GetEndAddress()
|
|
obj.GetFileSpec()
|
|
obj.GetLine()
|
|
obj.GetColumn()
|
|
obj.GetDescription(lldb.SBStream())
|