{'fraction_non_alphanumeric': 0.029490616621983913, 'fraction_numerical': 0.004021447721179625, 'mean_word_length': 5.122950819672131, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Automated development tools for linux USB drivers

USB devices are widely used in consumer electronics. Writing device drivers has always been a tedious and error-prone job. This paper presents assisting tools for developing USB drivers under Linux OS. The tool kit includes (1) a generic-skeleton generator that can automatically generate generic USB driver code skeleton according to user-specified configuration, (2) a flattened-HID-driver generator that can merge stacked HID drivers to a monolithic driver and prune C codes to reduce size and response time for embedded applications, and (3) an ECP (Extended C Preprocessor) compiler that provides type-checking capability for low-level I/O operation and makes the driver code more readable.