(
#[case] test_case: &AllocationTestCase,
)
| 127 | #[case(&STACK_TEST_CASES[2])] |
| 128 | #[test_log::test] |
| 129 | fn test_stack_capture_disabled( |
| 130 | #[case] test_case: &AllocationTestCase, |
| 131 | ) -> Result<(), Box<dyn std::error::Error>> { |
| 132 | assert_stack_snapshot( |
| 133 | test_case, |
| 134 | false, |
| 135 | &format!("{}_stack_capture_disabled", test_case.name), |
| 136 | ) |
| 137 | } |
| 138 | |
| 139 | /// A hooked allocator calling another hooked allocator (`operator new` → |
| 140 | /// `malloc`) must restore the return address that the uretprobe trampoline |
nothing calls this directly
no test coverage detected