[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-dev] exceptions



This is a question for Xuejun, but I thought I'd ask it publicly.

How hard would it be to add exceptions to Csmith's output? I assume this could be handled simply by adding a control flow edge from every throw to every catch that it might possibly reach.

I realize we do not currently focus on C++, but if we're going to add a single feature that would stress-test C++ implementations in a useful way, this might be the one to add. In contrast, adding meaningful use of classes sounds difficult.

John