Skip to content

Commit

Permalink
Clean up unused function
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler committed Aug 2, 2023
1 parent 003bac2 commit 8696ab5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/mm_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ TEST_CASE("IoAllocateMdl", "[mm]")
ExFreePoolWithTag(buffer, tag);
}

int
test_probe_for_read_exception_filter(ULONG code, _In_ struct _EXCEPTION_POINTERS *ep)
{
return EXCEPTION_EXECUTE_HANDLER;
}

ULONG
test_probe_for_read(_In_ const volatile void* address, SIZE_T length, ULONG alignment)
{
Expand Down Expand Up @@ -116,4 +110,4 @@ TEST_CASE("ProbeForWrite", "[mm]")

// Verify a write past end of memory results in STATUS_ACCESS_VIOLATION.
REQUIRE(test_probe_for_write(&x, 65536, 8) == STATUS_ACCESS_VIOLATION);
}
}

0 comments on commit 8696ab5

Please sign in to comment.