aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-01-31 23:19:33 +0000
committerGreg Clayton <gclayton@apple.com>2012-01-31 23:19:33 +0000
commitfbf1b6417314553d44ae16ab2d9eb1200d17316d (patch)
tree080d2d0d1bde031f8d77a29652ed331e463abb1e /lldb/scripts/Python
parent8c159b87a0c99b02b1d143560a973c13c779643e (diff)
downloadllvm-fbf1b6417314553d44ae16ab2d9eb1200d17316d.zip
llvm-fbf1b6417314553d44ae16ab2d9eb1200d17316d.tar.gz
llvm-fbf1b6417314553d44ae16ab2d9eb1200d17316d.tar.bz2
Added fuzz testing for when we call API calls with an invalid object.
We previously weren't catching that SBValue::Cast(...) would crash if we had an invalid (empty) SBValue object. Cleaned up the SBType API a bit. llvm-svn: 149447
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/interface/SBType.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBType.i b/lldb/scripts/Python/interface/SBType.i
index f072da8..64a9574 100644
--- a/lldb/scripts/Python/interface/SBType.i
+++ b/lldb/scripts/Python/interface/SBType.i
@@ -131,6 +131,8 @@ find_type.py:
class SBType
{
public:
+ SBType ();
+
SBType (const lldb::SBType &rhs);
~SBType ();