| 109 | } |
| 110 | |
| 111 | void* explicit_memset (void* s, int c, std::size_t n) |
| 112 | { |
| 113 | volatile unsigned char* p = reinterpret_cast<unsigned char*>(s); |
| 114 | |
| 115 | while (n--) { |
| 116 | *p++ = c; |
| 117 | } |
| 118 | |
| 119 | return s; |
| 120 | } |
| 121 | |
| 122 | static bool leakless_equals_char (const unsigned char* a, const unsigned char* b, std::size_t len) |
| 123 | { |
no outgoing calls
no test coverage detected