| 19 | }; |
| 20 | |
| 21 | static void print_string_hex(unsigned char *str, size_t len) |
| 22 | { |
| 23 | unsigned char *c; |
| 24 | |
| 25 | printf("Code: "); |
| 26 | for (c = str; c < str + len; c++) { |
| 27 | printf("0x%02x ", *c & 0xff); |
| 28 | } |
| 29 | printf("\n"); |
| 30 | } |
| 31 | |
| 32 | static void test() |
| 33 | { |
no test coverage detected
searching dependent graphs…