diff --git a/src/cwe_checker_lib/benches/benchmarks.rs b/src/cwe_checker_lib/benches/benchmarks.rs index ff7ceba11..d1fe793a4 100644 --- a/src/cwe_checker_lib/benches/benchmarks.rs +++ b/src/cwe_checker_lib/benches/benchmarks.rs @@ -212,7 +212,7 @@ mod checkers { |pcode_projects: &[&str], binaries: &[&str], mut group: BenchmarkGroup| { for (pcode_project_json, binary) in iter::zip(pcode_projects, binaries) { let (mut project, binary) = get_project_and_binary(pcode_project_json, binary); - let _ = project.normalize(); + let _ = project.optimize(); let cfg = graph::get_program_cfg(&project.program); let analysis_results = AnalysisResults::new(&binary, &cfg, &project); @@ -343,7 +343,7 @@ mod core_analyses { |pcode_projects: &[&str], binaries: &[&str], mut group: BenchmarkGroup| { for (pcode_project_json, binary) in iter::zip(pcode_projects, binaries) { let (mut project, binary) = get_project_and_binary(pcode_project_json, binary); - let _ = project.normalize(); + let _ = project.optimize(); let cfg = graph::get_program_cfg(&project.program); let analysis_results = AnalysisResults::new(&binary, &cfg, &project); @@ -384,7 +384,7 @@ mod core_analyses { let config = get_config(); for (pcode_project_json, binary) in iter::zip(pcode_projects, binaries) { let (mut project, binary) = get_project_and_binary(pcode_project_json, binary); - let _ = project.normalize(); + let _ = project.optimize(); let cfg = graph::get_program_cfg(&project.program); let analysis_results = AnalysisResults::new(&binary, &cfg, &project); @@ -428,7 +428,7 @@ mod core_analyses { let config = get_config(); for (pcode_project_json, binary) in iter::zip(pcode_projects, binaries) { let (mut project, binary) = get_project_and_binary(pcode_project_json, binary); - let _ = project.normalize(); + let _ = project.optimize(); let cfg = graph::get_program_cfg(&project.program); let analysis_results = AnalysisResults::new(&binary, &cfg, &project); @@ -623,7 +623,7 @@ mod cfg { let _ = project.normalize_basic(); let program_unoptimized = project.program.clone(); - let _ = project.normalize_optimize(); + let _ = project.optimize(); let program_optimized = project.program.clone(); group.bench_with_input(