Add fuzz calls for SBFrame and SBFunction.
llvm-svn: 133965
This commit is contained in:
@@ -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