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
[OpenACC] Implement 'collapse' for combined constructs.
[llvm-project.git]
/
lldb
/
test
/
API
/
python_api
/
default-constructor
/
sb_symbol.py
blob
ce942a9daa49e7e81cf9e2ed5637f126df4e607e
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
.
GetName
()
10
obj
.
GetMangledName
()
11
obj
.
GetInstructions
(
lldb
.
SBTarget
())
12
obj
.
GetStartAddress
()
13
obj
.
GetEndAddress
()
14
obj
.
GetPrologueByteSize
()
15
obj
.
GetType
()
16
obj
.
GetDescription
(
lldb
.
SBStream
())