repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lldb
/
test
/
API
/
python_api
/
default-constructor
/
sb_block.py
blob
299ca08910c171a34fd1196632c86c6f8e0153b9
1
"""
2
Fuzz tests an object after the default construction to make sure it does not crash lldb.
3
"""
4
5
import
lldb
6
7
8
def
fuzz_obj
(
obj
):
9
obj
.
IsInlined
()
10
obj
.
GetInlinedName
()
11
obj
.
GetInlinedCallSiteFile
()
12
obj
.
GetInlinedCallSiteLine
()
13
obj
.
GetInlinedCallSiteColumn
()
14
obj
.
GetParent
()
15
obj
.
GetSibling
()
16
obj
.
GetFirstChild
()
17
obj
.
GetDescription
(
lldb
.
SBStream
())