invalid_str
static int invalid_str(char *str, void *end)
static int invalid_str(char *str, size_t size)