1 from collections
import defaultdict
3 # location of kernel.implicit_dependencies
4 IMPL_DEP_FILE_STR
= "../../smatch_data/kernel.implicit_dependencies"
5 OUTPUT_FILE_STR
= "implicit_dependencies"
7 # struct fields to ignore, because they are too common
12 # here we can manually add struct fields that smatch missed
13 hardcode_syscall_write_fields
= {}
15 # here we can manually add struct fields that smatch missed
16 hardcode_syscall_read_fields
= {
17 "msync": [("vm_area_struct", "vm_flags"), ("vm_area_struct", "vm_file")]
26 class ListType(object):