File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,12 @@ namespace {
3535        for  (const  auto  &key: keys) {
3636            if  (!CollectionUtils::containsKey (parsedCSV, key)) {
3737                LOG_S (WARNING) << StringUtils::stringFormat (" Key %s not found in klee-stats report" 
38+                 return  {};
3839            }
3940            std::chrono::milliseconds totalTime ((int )(1000  * std::stof (parsedCSV[key].back ())));
4041            timeValues.emplace_back (totalTime);
4142        }
42-         return  StatsUtils::KleeStats ( timeValues[0 ], timeValues[1 ], timeValues[2 ]) ;
43+         return  {  timeValues[0 ], timeValues[1 ], timeValues[2 ] } ;
4344    }
4445
4546    StatsUtils::KleeStats writeKleeStats (const  fs::path &kleeOut) {
@@ -50,6 +51,7 @@ namespace {
5051        if  (status != 0 ) {
5152            LOG_S (ERROR) << " klee-stats call failed:" 
5253            LOG_S (ERROR) << out;
54+             return  {};
5355        } else  {
5456            LOG_S (DEBUG) << " klee-stats report:" 
5557            LOG_S (DEBUG) << ' \n ' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments