Print this page
12166 resync smatch to 0.6.1-rc1-il-3

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/smatch_data/db/create_db.sh
          +++ new/usr/src/tools/smatch/src/smatch_data/db/create_db.sh
↓ open down ↓ 44 lines elided ↑ open up ↑
  45   45  
  46   46  ${bin_dir}/copy_function_pointers.pl $db_file
  47   47  ${bin_dir}/remove_mixed_up_pointer_params.pl $db_file
  48   48  ${bin_dir}/delete_too_common_fn_ptr.sh $db_file
  49   49  ${bin_dir}/mark_function_ptrs_searchable.pl $db_file
  50   50  
  51   51  # delete duplicate entrees and speed things up
  52   52  echo "delete from function_ptr where rowid not in (select min(rowid) from function_ptr group by file, function, ptr, searchable);" | sqlite3 $db_file
  53   53  
  54   54  ${bin_dir}/apply_return_fixes.sh -p=${PROJ} $db_file
       55 +${bin_dir}/insert_manual_states.pl ${PROJ} $db_file
  55   56  
  56   57  mv $db_file smatch_db.sqlite
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX