Searched refs:gen_policy (Results 1 – 5 of 5) sorted by relevance
/base/startup/init/services/modules/seccomp/scripts/tools/ |
D | merge_policy.py | 22 import generate_code_from_policy as gen_policy namespace 33 if item in gen_policy.supported_parse_item: 48 arches = gen_policy.supported_architecture 56 for arch in gen_policy.supported_architecture: 67 for arch in gen_policy.supported_architecture: 114 gen_policy.gen_syscall_nr_table(file_name, function_name_nr_table_dict) 116 for arch in gen_policy.supported_architecture: 118 {arch: gen_policy.SeccompPolicyParam(arch, function_name_nr_table_dict.get(arch))}) 130 for arch in gen_policy.supported_architecture:
|
D | strace_log_analysis.py | 23 import generate_code_from_policy as gen_policy namespace 68 gen_policy.gen_syscall_nr_table(file_name, function_name_nr_table_dict) 105 if args.target_cpu not in gen_policy.supported_architecture: 106 raise ValueError("target_cpu must int {}".format(gen_policy.supported_architecture))
|
D | libc_static_analysis.py | 22 import generate_code_from_policy as gen_policy namespace 67 nr_tmp, is_digit = gen_policy.str_convert_to_int(line[line.find('0x'):]) 69 nr_tmp, is_digit = gen_policy.str_convert_to_int(line[line.rfind('#') + 1:]) 154 nr, is_digit = gen_policy.str_convert_to_int(line[line.find('0x'):]) 156 nr, is_digit = gen_policy.str_convert_to_int(line[line.rfind('#') + 1:]) 248 gen_policy.gen_syscall_nr_table(file_name, function_name_nr_table_dict)
|
D | audit_log_analysis.py | 23 import generate_code_from_policy as gen_policy namespace 38 syscall, _ = gen_policy.str_convert_to_int(line[pos + 9: line.find(' compat')]) 103 …function_name_nr_table_dict_tmp = gen_policy.gen_syscall_nr_table(file_name, function_name_nr_tabl…
|
D | collect_elf_syscall.py | 27 import generate_code_from_policy as gen_policy namespace 277 gen_policy.gen_syscall_nr_table(file_name, function_name_nr_table_dict) 340 if args.target_cpu not in gen_policy.supported_architecture: 341 raise ValueError("target_cpu must int {}".format(gen_policy.supported_architecture))
|