You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
2f675dcb39
llvm-svn: 133780
18 lines
392 B
Python
18 lines
392 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.IsInlined()
|
|
obj.GetInlinedName()
|
|
obj.GetInlinedCallSiteFile()
|
|
obj.GetInlinedCallSiteLine()
|
|
obj.GetInlinedCallSiteColumn()
|
|
obj.GetParent()
|
|
obj.GetSibling()
|
|
obj.GetFirstChild()
|
|
obj.GetDescription(lldb.SBStream())
|