mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
feat: Support Verus verification (#759)
Support for Verus verification. Also add a verus github workflow. Signed-off-by: Jay Lorch <jaylorch@gmail.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -115,6 +115,10 @@ public class MemoryGrowthTests
|
||||
|
||||
if (i % LogEvery == 0)
|
||||
{
|
||||
// Collect transient managed garbage so the working-set delta reflects
|
||||
// retained (leaked) memory rather than uncollected allocations. A real
|
||||
// native leak from a missed Dispose() would survive GC and still be caught.
|
||||
ForceFullGc();
|
||||
process.Refresh();
|
||||
var workingSet = process.WorkingSet64;
|
||||
var managed = GC.GetTotalMemory(false);
|
||||
@@ -228,6 +232,10 @@ public class MemoryGrowthTests
|
||||
|
||||
if (i % LogEvery == 0)
|
||||
{
|
||||
// Collect transient managed garbage so the working-set delta reflects
|
||||
// retained (leaked) memory rather than uncollected allocations. A real
|
||||
// native leak from a missed Dispose() would survive GC and still be caught.
|
||||
ForceFullGc();
|
||||
process.Refresh();
|
||||
var workingSet = process.WorkingSet64;
|
||||
var managed = GC.GetTotalMemory(false);
|
||||
|
||||
Reference in New Issue
Block a user