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