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_filespec.py
blob
4ab5c49c37eb5af4e8770f7b135aa56f3e53f912
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
.
Exists
()
10
obj
.
ResolveExecutableLocation
()
11
obj
.
GetFilename
()
12
obj
.
GetDirectory
()
13
obj
.
GetPath
(
None
,
0
)
14
obj
.
GetDescription
(
lldb
.
SBStream
())