├── .gitignore ├── .pre-commit-config.yaml ├── README.md ├── TitanFuzz-PyTorch-confirmed-issues.csv ├── TitanFuzz-TensorFlow-confirmed-issues.csv ├── compress_trace.py ├── data ├── api_def_tf.txt ├── api_def_torch.txt ├── codex_prompt │ ├── docstring_steps.txt │ └── docstring_steps_wo_sig.txt ├── tf_apis.txt ├── tf_apis_100sample.txt ├── tf_apis_demo.txt ├── tf_skip_prefix_all_deprecated.json ├── tf_valid_apis.txt ├── tf_valid_apis_100sample.txt ├── torch_apis.txt ├── torch_apis_100sample.txt ├── torch_apis_demo.txt ├── torch_valid_apis.txt └── torch_valid_apis_100sample.txt ├── driver.py ├── ev_generation.py ├── model.py ├── mycoverage ├── README.md ├── __init__.py ├── fuzztest.py ├── mp_executor.py ├── test_programs │ ├── check_tf_state.py │ ├── check_torch_state.py │ ├── corrupt_state.py │ ├── crash.py │ ├── exception.py │ ├── largemodel.py │ ├── loopforever.py │ ├── set_memory_growth.py │ ├── test.py │ ├── tf1.py │ ├── tf2.py │ ├── torch1.py │ ├── torch2.py │ ├── torch_crash.py │ ├── torch_cuda_fail.py │ ├── torch_internal_assert_fail.py │ ├── torch_largemodel.py │ ├── torch_mem.py │ └── torch_timeout.py └── tracer.py ├── process_file.py ├── readme_old.md ├── requirements.txt ├── scripts ├── ablation_run_tf.sh ├── ablation_run_torch.sh ├── copyfile.sh ├── demo_run_tf.sh ├── demo_run_torch.sh ├── docker │ ├── dockerfile │ │ ├── titanfuzz.dockerfile │ │ └── unparser.patch │ ├── initdocker.sh │ └── testdocker.sh ├── dockerrun.sh ├── draw_trend.py ├── local_run.sh └── run.sh ├── test ├── __init__.py ├── dump_file.py ├── test_crash_detection.py ├── tf_crash_example.py └── tf_status_bug.py ├── torch2cuda.py ├── util ├── Logger.py ├── Seed_pool.py ├── apidefs.py ├── astpasses.py ├── clean_code.py ├── example.py ├── instrumentor.py └── util.py └── validate.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/README.md -------------------------------------------------------------------------------- /TitanFuzz-PyTorch-confirmed-issues.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/TitanFuzz-PyTorch-confirmed-issues.csv -------------------------------------------------------------------------------- /TitanFuzz-TensorFlow-confirmed-issues.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/TitanFuzz-TensorFlow-confirmed-issues.csv -------------------------------------------------------------------------------- /compress_trace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/compress_trace.py -------------------------------------------------------------------------------- /data/api_def_tf.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/api_def_tf.txt -------------------------------------------------------------------------------- /data/api_def_torch.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/api_def_torch.txt -------------------------------------------------------------------------------- /data/codex_prompt/docstring_steps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/codex_prompt/docstring_steps.txt -------------------------------------------------------------------------------- /data/codex_prompt/docstring_steps_wo_sig.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/codex_prompt/docstring_steps_wo_sig.txt -------------------------------------------------------------------------------- /data/tf_apis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/tf_apis.txt -------------------------------------------------------------------------------- /data/tf_apis_100sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/tf_apis_100sample.txt -------------------------------------------------------------------------------- /data/tf_apis_demo.txt: -------------------------------------------------------------------------------- 1 | tf.nn.conv2d 2 | tf.experimental.numpy.remainder -------------------------------------------------------------------------------- /data/tf_skip_prefix_all_deprecated.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/tf_skip_prefix_all_deprecated.json -------------------------------------------------------------------------------- /data/tf_valid_apis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/tf_valid_apis.txt -------------------------------------------------------------------------------- /data/tf_valid_apis_100sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/tf_valid_apis_100sample.txt -------------------------------------------------------------------------------- /data/torch_apis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/torch_apis.txt -------------------------------------------------------------------------------- /data/torch_apis_100sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/torch_apis_100sample.txt -------------------------------------------------------------------------------- /data/torch_apis_demo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/torch_apis_demo.txt -------------------------------------------------------------------------------- /data/torch_valid_apis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/torch_valid_apis.txt -------------------------------------------------------------------------------- /data/torch_valid_apis_100sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/data/torch_valid_apis_100sample.txt -------------------------------------------------------------------------------- /driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/driver.py -------------------------------------------------------------------------------- /ev_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/ev_generation.py -------------------------------------------------------------------------------- /model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/model.py -------------------------------------------------------------------------------- /mycoverage/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/README.md -------------------------------------------------------------------------------- /mycoverage/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mycoverage/fuzztest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/fuzztest.py -------------------------------------------------------------------------------- /mycoverage/mp_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/mp_executor.py -------------------------------------------------------------------------------- /mycoverage/test_programs/check_tf_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/check_tf_state.py -------------------------------------------------------------------------------- /mycoverage/test_programs/check_torch_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/check_torch_state.py -------------------------------------------------------------------------------- /mycoverage/test_programs/corrupt_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/corrupt_state.py -------------------------------------------------------------------------------- /mycoverage/test_programs/crash.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/crash.py -------------------------------------------------------------------------------- /mycoverage/test_programs/exception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/exception.py -------------------------------------------------------------------------------- /mycoverage/test_programs/largemodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/largemodel.py -------------------------------------------------------------------------------- /mycoverage/test_programs/loopforever.py: -------------------------------------------------------------------------------- 1 | import tensorflow as tf 2 | 3 | while True: 4 | pass 5 | -------------------------------------------------------------------------------- /mycoverage/test_programs/set_memory_growth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/set_memory_growth.py -------------------------------------------------------------------------------- /mycoverage/test_programs/test.py: -------------------------------------------------------------------------------- 1 | import tensorflow as tf 2 | 3 | print(tf.add(2, 3)) 4 | -------------------------------------------------------------------------------- /mycoverage/test_programs/tf1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/tf1.py -------------------------------------------------------------------------------- /mycoverage/test_programs/tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/tf2.py -------------------------------------------------------------------------------- /mycoverage/test_programs/torch1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/torch1.py -------------------------------------------------------------------------------- /mycoverage/test_programs/torch2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/torch2.py -------------------------------------------------------------------------------- /mycoverage/test_programs/torch_crash.py: -------------------------------------------------------------------------------- 1 | exit(-6) 2 | -------------------------------------------------------------------------------- /mycoverage/test_programs/torch_cuda_fail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/torch_cuda_fail.py -------------------------------------------------------------------------------- /mycoverage/test_programs/torch_internal_assert_fail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/torch_internal_assert_fail.py -------------------------------------------------------------------------------- /mycoverage/test_programs/torch_largemodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/torch_largemodel.py -------------------------------------------------------------------------------- /mycoverage/test_programs/torch_mem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/torch_mem.py -------------------------------------------------------------------------------- /mycoverage/test_programs/torch_timeout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/test_programs/torch_timeout.py -------------------------------------------------------------------------------- /mycoverage/tracer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/mycoverage/tracer.py -------------------------------------------------------------------------------- /process_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/process_file.py -------------------------------------------------------------------------------- /readme_old.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/readme_old.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow 2 | torch 3 | transformers 4 | astunparse==1.6.3 5 | -------------------------------------------------------------------------------- /scripts/ablation_run_tf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/ablation_run_tf.sh -------------------------------------------------------------------------------- /scripts/ablation_run_torch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/ablation_run_torch.sh -------------------------------------------------------------------------------- /scripts/copyfile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/copyfile.sh -------------------------------------------------------------------------------- /scripts/demo_run_tf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/demo_run_tf.sh -------------------------------------------------------------------------------- /scripts/demo_run_torch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/demo_run_torch.sh -------------------------------------------------------------------------------- /scripts/docker/dockerfile/titanfuzz.dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/docker/dockerfile/titanfuzz.dockerfile -------------------------------------------------------------------------------- /scripts/docker/dockerfile/unparser.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/docker/dockerfile/unparser.patch -------------------------------------------------------------------------------- /scripts/docker/initdocker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/docker/initdocker.sh -------------------------------------------------------------------------------- /scripts/docker/testdocker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/docker/testdocker.sh -------------------------------------------------------------------------------- /scripts/dockerrun.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/dockerrun.sh -------------------------------------------------------------------------------- /scripts/draw_trend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/draw_trend.py -------------------------------------------------------------------------------- /scripts/local_run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/local_run.sh -------------------------------------------------------------------------------- /scripts/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/scripts/run.sh -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dump_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/test/dump_file.py -------------------------------------------------------------------------------- /test/test_crash_detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/test/test_crash_detection.py -------------------------------------------------------------------------------- /test/tf_crash_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/test/tf_crash_example.py -------------------------------------------------------------------------------- /test/tf_status_bug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/test/tf_status_bug.py -------------------------------------------------------------------------------- /torch2cuda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/torch2cuda.py -------------------------------------------------------------------------------- /util/Logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/util/Logger.py -------------------------------------------------------------------------------- /util/Seed_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/util/Seed_pool.py -------------------------------------------------------------------------------- /util/apidefs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/util/apidefs.py -------------------------------------------------------------------------------- /util/astpasses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/util/astpasses.py -------------------------------------------------------------------------------- /util/clean_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/util/clean_code.py -------------------------------------------------------------------------------- /util/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/util/example.py -------------------------------------------------------------------------------- /util/instrumentor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/util/instrumentor.py -------------------------------------------------------------------------------- /util/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/util/util.py -------------------------------------------------------------------------------- /validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ise-uiuc/TitanFuzz/HEAD/validate.py --------------------------------------------------------------------------------