一句话:提出 CLIFuzzer,通过挖掘命令行文法生成多样化参数配置,以系统测试命令行工具。
命令行工具的行为会因传入的选项和参数配置而显著改变,这些配置可启用、禁用或影响代码执行路径。因此,要对命令行工具进行系统化测试,必须用多样化的受支持选项组合来构造测试输入。论文提出 CLIFuzzer,其核心思路是从命令行调用中挖掘文法(grammar),并利用该文法生成多样化的命令行调用以进行模糊测试。摘要未提供实现细节与实验数据,但标题表明该方法将文法挖掘与命令行模糊测试结合,以提升配置空间的覆盖。
The behavior of command-line utilities can be very much influenced by passing command-line options and arguments—configuration settings that enable, disable, or otherwise influence parts of the code to be executed. Hence, systematic testing of command-line utilities requires testing them with diverse configurations of supported command-line options.