1- use super :: helpers :: detect_language ;
1+ /// Run LLM static analysis phase (Phase 4/24)
22use crate :: context:: callee_walker:: extract_call_sites;
33use crate :: context:: pacvd_extractor:: { self , AbstractionLevel } ;
44use crate :: context:: semantic_path;
@@ -97,7 +97,7 @@ pub async fn run_llm_static_analysis(
9797
9898 // Capture base position for intra-phase progress
9999 let base = pb. position ( ) ;
100- pb. set_message ( "Phase 3/20 : LLM static analysis (analyzing files for vulnerabilities)..." ) ;
100+ pb. set_message ( "Phase 4/24 : LLM static analysis (analyzing files for vulnerabilities)..." ) ;
101101
102102 let index = crate :: indexer:: FileIndex :: index_project (
103103 target_path. to_str ( ) . unwrap_or ( "." ) ,
@@ -165,15 +165,15 @@ pub async fn run_llm_static_analysis(
165165 let progress_pct = ( ( i as f64 / file_count as f64 ) * 100.0 ) as u64 ;
166166 pb. set_position ( base + progress_pct) ;
167167 pb. set_message ( format ! (
168- "Phase 3/20 : Skipping already analyzed [{}]: {}" ,
168+ "Phase 4/24 : Skipping already analyzed [{}]: {}" ,
169169 i + 1 ,
170170 file_info. path. display( )
171171 ) ) ;
172172 continue ;
173173 }
174174 let progress_pct = ( ( i as f64 / file_count as f64 ) * 100.0 ) as u64 ;
175175 let msg = format ! (
176- "Phase 3/20 : LLM analyzing [{}/{}] ({:.0}%): {}" ,
176+ "Phase 4/24 : LLM analyzing [{}/{}] ({:.0}%): {}" ,
177177 i + 1 ,
178178 file_count,
179179 progress_pct,
@@ -300,7 +300,7 @@ pub async fn run_llm_static_analysis(
300300 llm_findings. extend ( file_findings) ;
301301 new_analyzed_files. push ( file_path_str) ;
302302 let msg = format ! (
303- "Phase 3/20 : LLM analyzing [{}/{}] ({:.0}%): {} - {} findings total" ,
303+ "Phase 4/24 : LLM analyzing [{}/{}] ({:.0}%): {} - {} findings total" ,
304304 i + 1 ,
305305 file_count,
306306 progress_pct,
@@ -318,7 +318,7 @@ pub async fn run_llm_static_analysis(
318318 let error_lines: Vec < & str > = e. lines ( ) . take ( 3 ) . collect ( ) ;
319319 let error_summary = error_lines. join ( " | " ) ;
320320 let msg = format ! (
321- "Phase 3/20 : {} - {} - FAILED: {}" ,
321+ "Phase 4/24 : {} - {} - FAILED: {}" ,
322322 file_info. path. display( ) ,
323323 error_summary,
324324 if i + 1 < file_count {
@@ -340,7 +340,7 @@ pub async fn run_llm_static_analysis(
340340
341341 findings. extend ( llm_findings. clone ( ) ) ;
342342 pb. set_message ( format ! (
343- "Phase 3/20 : LLM static analysis complete - {} findings discovered" ,
343+ "Phase 4/24 : LLM static analysis complete - {} findings discovered" ,
344344 llm_findings. len( )
345345 ) ) ;
346346 } else {
0 commit comments