helper: fix segfault parsing invalid code
[smatch.git] / smatch_data / db / fixup_all.sh
blob5a3032ed78812cfb01d6cdaff8e65af859dd2c47
1 #!/bin/bash
3 db_file=$1
4 cat << EOF | sqlite3 $db_file
6 delete from return_states where function = 'strlen';
7 delete from return_states where function = 'strnlen';
8 delete from return_states where function = 'sprintf';
9 delete from return_states where function = 'snprintf';
11 EOF