Merge all changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Buffers.Binary;
|
||||
using System.Buffers.Binary;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
@@ -32,7 +32,7 @@ public class BinaryReachabilityLifterTests
|
||||
var builder = new ReachabilityGraphBuilder();
|
||||
var lifter = new BinaryReachabilityLifter();
|
||||
|
||||
await lifter.LiftAsync(context, builder, CancellationToken.None);
|
||||
await lifter.LiftAsync(context, builder, TestContext.Current.CancellationToken);
|
||||
var graph = builder.ToUnionGraph(SymbolId.Lang.Binary);
|
||||
|
||||
var node = Assert.Single(graph.Nodes);
|
||||
@@ -69,7 +69,7 @@ public class BinaryReachabilityLifterTests
|
||||
var builder = new ReachabilityGraphBuilder();
|
||||
var lifter = new BinaryReachabilityLifter();
|
||||
|
||||
await lifter.LiftAsync(context, builder, CancellationToken.None);
|
||||
await lifter.LiftAsync(context, builder, TestContext.Current.CancellationToken);
|
||||
var graph = builder.ToUnionGraph(SymbolId.Lang.Binary);
|
||||
|
||||
// Should have binary node + entry point node
|
||||
@@ -106,7 +106,7 @@ public class BinaryReachabilityLifterTests
|
||||
var builder = new ReachabilityGraphBuilder();
|
||||
var lifter = new BinaryReachabilityLifter();
|
||||
|
||||
await lifter.LiftAsync(context, builder, CancellationToken.None);
|
||||
await lifter.LiftAsync(context, builder, TestContext.Current.CancellationToken);
|
||||
var graph = builder.ToUnionGraph(SymbolId.Lang.Binary);
|
||||
|
||||
var node = Assert.Single(graph.Nodes);
|
||||
@@ -133,7 +133,7 @@ public class BinaryReachabilityLifterTests
|
||||
var builder = new ReachabilityGraphBuilder();
|
||||
var lifter = new BinaryReachabilityLifter();
|
||||
|
||||
await lifter.LiftAsync(context, builder, CancellationToken.None);
|
||||
await lifter.LiftAsync(context, builder, TestContext.Current.CancellationToken);
|
||||
var graph = builder.ToUnionGraph(SymbolId.Lang.Binary);
|
||||
|
||||
// Should only have the binary node, no entry point
|
||||
@@ -159,7 +159,7 @@ public class BinaryReachabilityLifterTests
|
||||
var builder = new ReachabilityGraphBuilder();
|
||||
var lifter = new BinaryReachabilityLifter();
|
||||
|
||||
await lifter.LiftAsync(context, builder, CancellationToken.None);
|
||||
await lifter.LiftAsync(context, builder, TestContext.Current.CancellationToken);
|
||||
var graph = builder.ToUnionGraph(SymbolId.Lang.Binary);
|
||||
|
||||
var binaryNode = Assert.Single(graph.Nodes, n => n.Kind == "binary");
|
||||
@@ -193,7 +193,7 @@ public class BinaryReachabilityLifterTests
|
||||
var builder = new ReachabilityGraphBuilder();
|
||||
var lifter = new BinaryReachabilityLifter();
|
||||
|
||||
await lifter.LiftAsync(context, builder, CancellationToken.None);
|
||||
await lifter.LiftAsync(context, builder, TestContext.Current.CancellationToken);
|
||||
var union = builder.ToUnionGraph(SymbolId.Lang.Binary);
|
||||
|
||||
var rich = RichGraphBuilder.FromUnion(union, "test-analyzer", "1.0.0");
|
||||
@@ -222,7 +222,7 @@ public class BinaryReachabilityLifterTests
|
||||
var builder = new ReachabilityGraphBuilder();
|
||||
var lifter = new BinaryReachabilityLifter();
|
||||
|
||||
await lifter.LiftAsync(context, builder, CancellationToken.None);
|
||||
await lifter.LiftAsync(context, builder, TestContext.Current.CancellationToken);
|
||||
var union = builder.ToUnionGraph(SymbolId.Lang.Binary);
|
||||
|
||||
var rich = RichGraphBuilder.FromUnion(union, "test-analyzer", "1.0.0");
|
||||
|
||||
Reference in New Issue
Block a user