├── Dockerfile ├── INSTALL.md ├── LICENSE ├── README.md ├── demo ├── demo.cast └── demo.gif ├── fffc ├── __init__.py ├── dwarf_to_c.py ├── generate.py ├── template.py ├── templates │ ├── array_mutator.c │ ├── base_mutators.c │ ├── do_nothing_mutator.c │ ├── enum_mutator.c │ ├── env_adjuster.c │ ├── fffc_runner.c │ ├── fffc_runtime.c │ ├── fffc_runtime.h │ ├── function_mutator.c │ ├── modifier_mutator.c │ ├── pointer_mutator.c │ ├── structure_mutator.c │ ├── typedef_mutator.c │ └── union_mutator.c └── utilities.py ├── install_debian.sh ├── scripts ├── fffc_crashtool ├── fffc_dedup_crashes ├── fffc_internal_crashtool └── fffc_log_inspector ├── setup.py └── tests ├── c_testsuite └── Makefile ├── doctest ├── Makefile ├── test.c └── test2.c ├── run_benchmark.sh ├── run_bignum.sh ├── run_cppsmith.sh ├── run_crash.sh ├── run_csmith.sh ├── run_doctest.sh ├── run_doctest2.sh ├── run_multicall.sh ├── run_multicrash.sh ├── run_multiprint.sh ├── run_samples.sh ├── run_smoke.sh ├── run_sotest.sh ├── run_strings.sh ├── run_testsuite.sh ├── run_tinn.sh ├── sample_programs ├── Makefile ├── alloca_test.c ├── anon_enum.c ├── anon_member_test.c ├── anonymous_struct.c ├── array_args_test.c ├── array_test.c ├── atomic_return.c ├── bitfield_test.c ├── const_callback_container.c ├── const_test.c ├── dependent_struct_test.c ├── enum_test.c ├── forward_decl_struct_test.c ├── func_ptr.c ├── global_var.c ├── if_test.c ├── int_array_test.c ├── locals_test.c ├── main_test.c ├── nested_enum.c ├── old_style_function.c ├── packed_struct_test.c ├── pointer_test.c ├── prototype_test.c ├── recursive_struct.c ├── simple.c ├── sleep_test.c ├── struct_test.c ├── typedef_test.c ├── union_test.c ├── varargs.c ├── void_func.c └── void_pointer.c └── sotest ├── Makefile ├── test_constructor.c ├── test_exe.c ├── test_so.c ├── test_so.h └── test_so_interceptor.c /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/Dockerfile -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/INSTALL.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/README.md -------------------------------------------------------------------------------- /demo/demo.cast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/demo/demo.cast -------------------------------------------------------------------------------- /demo/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/demo/demo.gif -------------------------------------------------------------------------------- /fffc/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fffc/dwarf_to_c.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/dwarf_to_c.py -------------------------------------------------------------------------------- /fffc/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/generate.py -------------------------------------------------------------------------------- /fffc/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/template.py -------------------------------------------------------------------------------- /fffc/templates/array_mutator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/array_mutator.c -------------------------------------------------------------------------------- /fffc/templates/base_mutators.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/base_mutators.c -------------------------------------------------------------------------------- /fffc/templates/do_nothing_mutator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/do_nothing_mutator.c -------------------------------------------------------------------------------- /fffc/templates/enum_mutator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/enum_mutator.c -------------------------------------------------------------------------------- /fffc/templates/env_adjuster.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/env_adjuster.c -------------------------------------------------------------------------------- /fffc/templates/fffc_runner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/fffc_runner.c -------------------------------------------------------------------------------- /fffc/templates/fffc_runtime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/fffc_runtime.c -------------------------------------------------------------------------------- /fffc/templates/fffc_runtime.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/fffc_runtime.h -------------------------------------------------------------------------------- /fffc/templates/function_mutator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/function_mutator.c -------------------------------------------------------------------------------- /fffc/templates/modifier_mutator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/modifier_mutator.c -------------------------------------------------------------------------------- /fffc/templates/pointer_mutator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/pointer_mutator.c -------------------------------------------------------------------------------- /fffc/templates/structure_mutator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/structure_mutator.c -------------------------------------------------------------------------------- /fffc/templates/typedef_mutator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/typedef_mutator.c -------------------------------------------------------------------------------- /fffc/templates/union_mutator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/templates/union_mutator.c -------------------------------------------------------------------------------- /fffc/utilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/fffc/utilities.py -------------------------------------------------------------------------------- /install_debian.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/install_debian.sh -------------------------------------------------------------------------------- /scripts/fffc_crashtool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/scripts/fffc_crashtool -------------------------------------------------------------------------------- /scripts/fffc_dedup_crashes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/scripts/fffc_dedup_crashes -------------------------------------------------------------------------------- /scripts/fffc_internal_crashtool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/scripts/fffc_internal_crashtool -------------------------------------------------------------------------------- /scripts/fffc_log_inspector: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/scripts/fffc_log_inspector -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/setup.py -------------------------------------------------------------------------------- /tests/c_testsuite/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/c_testsuite/Makefile -------------------------------------------------------------------------------- /tests/doctest/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/doctest/Makefile -------------------------------------------------------------------------------- /tests/doctest/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/doctest/test.c -------------------------------------------------------------------------------- /tests/doctest/test2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/doctest/test2.c -------------------------------------------------------------------------------- /tests/run_benchmark.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_benchmark.sh -------------------------------------------------------------------------------- /tests/run_bignum.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_bignum.sh -------------------------------------------------------------------------------- /tests/run_cppsmith.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_cppsmith.sh -------------------------------------------------------------------------------- /tests/run_crash.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_crash.sh -------------------------------------------------------------------------------- /tests/run_csmith.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_csmith.sh -------------------------------------------------------------------------------- /tests/run_doctest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_doctest.sh -------------------------------------------------------------------------------- /tests/run_doctest2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_doctest2.sh -------------------------------------------------------------------------------- /tests/run_multicall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_multicall.sh -------------------------------------------------------------------------------- /tests/run_multicrash.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_multicrash.sh -------------------------------------------------------------------------------- /tests/run_multiprint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_multiprint.sh -------------------------------------------------------------------------------- /tests/run_samples.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_samples.sh -------------------------------------------------------------------------------- /tests/run_smoke.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_smoke.sh -------------------------------------------------------------------------------- /tests/run_sotest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_sotest.sh -------------------------------------------------------------------------------- /tests/run_strings.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_strings.sh -------------------------------------------------------------------------------- /tests/run_testsuite.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_testsuite.sh -------------------------------------------------------------------------------- /tests/run_tinn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/run_tinn.sh -------------------------------------------------------------------------------- /tests/sample_programs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/Makefile -------------------------------------------------------------------------------- /tests/sample_programs/alloca_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/alloca_test.c -------------------------------------------------------------------------------- /tests/sample_programs/anon_enum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/anon_enum.c -------------------------------------------------------------------------------- /tests/sample_programs/anon_member_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/anon_member_test.c -------------------------------------------------------------------------------- /tests/sample_programs/anonymous_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/anonymous_struct.c -------------------------------------------------------------------------------- /tests/sample_programs/array_args_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/array_args_test.c -------------------------------------------------------------------------------- /tests/sample_programs/array_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/array_test.c -------------------------------------------------------------------------------- /tests/sample_programs/atomic_return.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/atomic_return.c -------------------------------------------------------------------------------- /tests/sample_programs/bitfield_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/bitfield_test.c -------------------------------------------------------------------------------- /tests/sample_programs/const_callback_container.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/const_callback_container.c -------------------------------------------------------------------------------- /tests/sample_programs/const_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/const_test.c -------------------------------------------------------------------------------- /tests/sample_programs/dependent_struct_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/dependent_struct_test.c -------------------------------------------------------------------------------- /tests/sample_programs/enum_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/enum_test.c -------------------------------------------------------------------------------- /tests/sample_programs/forward_decl_struct_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/forward_decl_struct_test.c -------------------------------------------------------------------------------- /tests/sample_programs/func_ptr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/func_ptr.c -------------------------------------------------------------------------------- /tests/sample_programs/global_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/global_var.c -------------------------------------------------------------------------------- /tests/sample_programs/if_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/if_test.c -------------------------------------------------------------------------------- /tests/sample_programs/int_array_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/int_array_test.c -------------------------------------------------------------------------------- /tests/sample_programs/locals_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/locals_test.c -------------------------------------------------------------------------------- /tests/sample_programs/main_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/main_test.c -------------------------------------------------------------------------------- /tests/sample_programs/nested_enum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/nested_enum.c -------------------------------------------------------------------------------- /tests/sample_programs/old_style_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/old_style_function.c -------------------------------------------------------------------------------- /tests/sample_programs/packed_struct_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/packed_struct_test.c -------------------------------------------------------------------------------- /tests/sample_programs/pointer_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/pointer_test.c -------------------------------------------------------------------------------- /tests/sample_programs/prototype_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/prototype_test.c -------------------------------------------------------------------------------- /tests/sample_programs/recursive_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/recursive_struct.c -------------------------------------------------------------------------------- /tests/sample_programs/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/simple.c -------------------------------------------------------------------------------- /tests/sample_programs/sleep_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/sleep_test.c -------------------------------------------------------------------------------- /tests/sample_programs/struct_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/struct_test.c -------------------------------------------------------------------------------- /tests/sample_programs/typedef_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/typedef_test.c -------------------------------------------------------------------------------- /tests/sample_programs/union_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/union_test.c -------------------------------------------------------------------------------- /tests/sample_programs/varargs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/varargs.c -------------------------------------------------------------------------------- /tests/sample_programs/void_func.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/void_func.c -------------------------------------------------------------------------------- /tests/sample_programs/void_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sample_programs/void_pointer.c -------------------------------------------------------------------------------- /tests/sotest/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sotest/Makefile -------------------------------------------------------------------------------- /tests/sotest/test_constructor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sotest/test_constructor.c -------------------------------------------------------------------------------- /tests/sotest/test_exe.c: -------------------------------------------------------------------------------- 1 | #include "test_so.h" 2 | 3 | int main() { 4 | f(10); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /tests/sotest/test_so.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sotest/test_so.c -------------------------------------------------------------------------------- /tests/sotest/test_so.h: -------------------------------------------------------------------------------- 1 | int f(int x); -------------------------------------------------------------------------------- /tests/sotest/test_so_interceptor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/fffc/HEAD/tests/sotest/test_so_interceptor.c --------------------------------------------------------------------------------