| 588 | } |
| 589 | |
| 590 | template <typename T> bool test_zero_bytes(const BYTE *buf, size_t len) |
| 591 | { |
| 592 | return *((T *)buf) == 0 && !memcmp(buf, buf + sizeof(T), len - sizeof(T)); |
| 593 | } |
| 594 | |
| 595 | #define TESTZERO(T) \ |
| 596 | if ((UINT_PTR)buf % sizeof(T) == 0) { \ |
nothing calls this directly
no outgoing calls
no test coverage detected