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
Revert "[LoongArch] Eliminate the redundant sign extension of division (#107971)"
[llvm-project.git]
/
lldb
/
test
/
API
/
python_api
/
default-constructor
/
sb_valuelist.py
blob
f20c87752499e4d5bf4a9386b707ede49a706d7a
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
.
Append
(
lldb
.
SBValue
())
10
obj
.
GetSize
()
11
obj
.
GetValueAtIndex
(
100
)
12
obj
.
FindValueObjectByUID
(
200
)
13
for
val
in
obj
:
14
s
=
str
(
val
)