mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Merge pull request #743 from hvitved/csharp/dataflow-splitting
C#: Teach data flow library about CFG splitting
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Web;
|
||||
|
||||
public class StackTraceHandler : IHttpHandler
|
||||
{
|
||||
|
||||
bool b;
|
||||
public void ProcessRequest(HttpContext ctx)
|
||||
{
|
||||
try
|
||||
@@ -54,7 +54,8 @@ public class StackTraceHandler : IHttpHandler
|
||||
// Method that may throw an exception
|
||||
public void doSomeWork()
|
||||
{
|
||||
throw new Exception();
|
||||
if (b)
|
||||
throw new Exception();
|
||||
}
|
||||
|
||||
public void log(string s, Exception e)
|
||||
|
||||
Reference in New Issue
Block a user