dawn-cmake/fuzzers
Shiyu Liu 0c22b1aaea Update node_id_map & FindMutators structure
Added function in node_id_map to check a given id is valid and fresh.

Currently, the structure of FindMutators declares node_id_map as const, which causes issues when we want to call `GetFreshId` from the argument that is passed by reference. A simple work around is to pass a non-const node_id_map as argument directly. That way `GetFreshId` function in node_id_map can continue to be non-const and conveniently update next fresh id whenever a fresh id has been taken.

Change-Id: Ia7e1d247cf92dfefd2ef7e7c1b4bf32363d9ce3f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/61100
Reviewed-by: Paul Thomson <paulthomson@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Paul Thomson <paulthomson@google.com>
2021-08-10 16:43:15 +00:00
..
tint_ast_fuzzer Update node_id_map & FindMutators structure 2021-08-10 16:43:15 +00:00
tint_regex_fuzzer Regex fuzzer: replace the value of an integer with 2021-08-05 22:24:20 +00:00
tint_spirv_tools_fuzzer Revert "Update SPIR-V Tools fuzzer" 2021-08-02 11:13:49 +00:00
BUILD.gn Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
CMakeLists.txt Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
cli.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
cli.h Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
dictionary.txt Implement texture_depth_multisampled_2d 2021-07-26 22:19:48 +00:00
generate_spirv_corpus.py Add explanatory comment to fuzzer build files 2021-07-14 13:04:31 +00:00
generate_wgsl_corpus.py Remove stray print in generate_wgsl_corpus.py 2021-07-20 11:14:50 +00:00
tint_all_transforms_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_ast_clone_fuzzer.cc fuzzers: Switch fuzzers to new generator API 2021-07-12 21:07:41 +00:00
tint_binding_remapper_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_common_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_common_fuzzer.h Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_first_index_offset_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_init_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_init_fuzzer.h Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_inspector_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_renamer_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_robustness_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_single_entry_point_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_spv_reader_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_spv_reader_hlsl_writer_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_spv_reader_msl_writer_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_spv_reader_spv_writer_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_spv_reader_wgsl_writer_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_vertex_pulling_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_wgsl_reader_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_wgsl_reader_hlsl_writer_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_wgsl_reader_msl_writer_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_wgsl_reader_spv_writer_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
tint_wgsl_reader_wgsl_writer_fuzzer.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00