代码拉取完成,页面将自动刷新
This directory holds tests for gensio. Note that there are also extensive tests in ser2net. These tests are more basic and functional. These tests require the linux serial simulation module in linux-serialsim in this package. You must load that module and the user running the test must be able to access the serial ports (generally you must be in the dialout group). Fuzz testing is also available for some of the filter gensios, see the makefile for details on what is available. These tests work by running a standard scenario and saving the data written to the accepting gensio, then using that as input for the afl fuzz tester. There's quite a bit of setup involved, but the afl program will tell you what is wrong and how to fix it. To compile for fuzzing, you have to configure it to use the afl compiler, and you have to use static binaries. To do this, make a separate build directory in the mai directory, then cd into it and run: ../configure --disable-shared CC=afl-gcc Then "make". After that, in the tests directory, you can run the individual fuzzers for the filters. See Makefile.am for details on them.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。