* Removed obsolete option: `CLICON_MODULE_LIBRARY_RFC7895' * Obsolete config options given in the confi file are considered an error * Added section in CONTRIBUTING relating to optimzation * Changed reset merge to implicit default values. * This avoids a potential overwriting of explicitly set default values in the existing config * Adapted some code to [Make cligen_* functions const ](https://github.com/clicon/cligen/pull/83) * Test: fixed test for * Fixed: [datamodel tree generated from basemodel tree is not proper when a list has more than one key and key is of enum type](https://github.com/clicon/clixon/issues/417) |
||
|---|---|---|
| .. | ||
| input | ||
| README.md | ||
| runfuzz.sh | ||
| xml.dict | ||
Clixon fuzzing
This dir contains code for fuzzing clixon netconf.
Prereqs
Install AFL, see ..
Build and install a clixon system (in particular the backend, the netconf will be replaced)
Build
Build clixon netconf statically with the afl-clang compiler:
CC=/usr/bin/afl-clang-fast LINKAGE=static ./configure # Dont care about restconf
make clean
cd apps/netconf
make clixon_netconf
sudo make install
Run tests
Run the script runfuzz.sh to run one test with a cli spec and an input string, eg:
./runfuzz.sh
After (or during) the test, investigate results in the output dir.