From fbf1b6417314553d44ae16ab2d9eb1200d17316d Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Tue, 31 Jan 2012 23:19:33 +0000 Subject: 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 --- lldb/scripts/Python/interface/SBType.i | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/scripts/Python') 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 (); -- cgit v1.1