| 2631 | } |
| 2632 | |
| 2633 | static bool ptr_canary(const unsigned char *bytes, size_t begin, size_t end) { |
| 2634 | for (size_t i = begin; i < end; i++) |
| 2635 | if (bytes[i] != 0xa5) |
| 2636 | return false; |
| 2637 | return true; |
| 2638 | } |
| 2639 | |
| 2640 | static bool ptr_read_ok(pt_fixture *fx, cbm_pinned_tree_t *tree, size_t index, size_t capacity, |
| 2641 | bool ancestor) { |