mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 09:41:38 +00:00
Add fuzz calls for SBFrame and SBFunction.
llvm-svn: 133965
This commit is contained in:
1 parent
105974d497
commit
40e978f7b3
3 files changed
+59
No files matched your search
@@ -141,6 +141,9 @@ class APIDefaultConstructorTestCase(TestBase):
|
||||
if self.TraceOn():
|
||||
print obj
|
||||
self.assertFalse(obj)
|
||||
# Do fuzz testing on the invalid obj, it should not crash lldb.
|
||||
import sb_frame
|
||||
sb_frame.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBFunction(self):
|
||||
@@ -148,6 +151,9 @@ class APIDefaultConstructorTestCase(TestBase):
|
||||
if self.TraceOn():
|
||||
print obj
|
||||
self.assertFalse(obj)
|
||||
# Do fuzz testing on the invalid obj, it should not crash lldb.
|
||||
import sb_function
|
||||
sb_function.fuzz_obj(obj)
|
||||
|
||||
@python_api_test
|
||||
def test_SBInputReader(self):
|
||||
|
||||
Reference in new issue
Block a user