Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically created rules produce errors when loading #15

Open
GoogleCodeExporter opened this issue Mar 27, 2015 · 0 comments
Open

Automatically created rules produce errors when loading #15

GoogleCodeExporter opened this issue Mar 27, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Parse the kernel symbols along with the source code
2. Auto-write the rules with "symbols writerules /path/to/dir/"
3. Load the rules with "rules load -a /path/to/dir/"
4. Several rules show errors as the following:

Error: Rule 7203 (flex_array.parts) defined in 
rules/Linux_3.8.13-19-generic-dbg_x86_64_20130618-155531_moomgc/type_struct_flex
_array.xml line 9 raised a TypeEvaluatorException at 
src/asttypeevaluator.cpp:2139: Could not resolve member "flex_array.parts" at 
:1:44                                               
Error: Rule 7193 (compat_sysinfo.loads) defined in 
rules/Linux_3.8.13-19-generic-dbg_x86_64_20130618-155531_moomgc/type_struct_comp
at_sysinfo.xml line 41 raised a TypeEvaluatorException at 
src/asttypeevaluator.cpp:2139: Could not resolve member "compat_sysinfo.loads" 
at :1:48                                  
Error: Rule 7192 (compat_sysinfo.loads) defined in 
rules/Linux_3.8.13-19-generic-dbg_x86_64_20130618-155531_moomgc/type_struct_comp
at_sysinfo.xml line 25 raised a TypeEvaluatorException at 
src/asttypeevaluator.cpp:2139: Could not resolve member "compat_sysinfo.loads" 
at :1:48                                  
Error: Rule 7191 (compat_sysinfo.loads) defined in 
rules/Linux_3.8.13-19-generic-dbg_x86_64_20130618-155531_moomgc/type_struct_comp
at_sysinfo.xml line 9 raised a TypeEvaluatorException at 
src/asttypeevaluator.cpp:2139: Could not resolve member "compat_sysinfo.loads" 
at :1:48                                   
Error: Rule 7143 (scsi_cmnd.sense_buffer) defined in 
rules/Linux_3.8.13-19-generic-dbg_x86_64_20130618-155531_moomgc/type_struct_scsi
_cmnd.xml line 92 raised a TypeEvaluatorException at 
src/asttypeevaluator.cpp:2139: Could not resolve member 
"scsi_cmnd.sense_buffer" at :1:43                                   
Error: Rule 7072 (Scsi_Host.hostdata) defined in 
rules/Linux_3.8.13-19-generic-dbg_x86_64_20130618-155531_moomgc/type_struct_Scsi
_Host.xml line 7672 raised a TypeEvaluatorException at 
src/asttypeevaluator.cpp:2139: Could not resolve member "Scsi_Host.hostdata" at 
:1:43                                         
Error: Rule 7059 (Scsi_Host.hostdata) defined in 
rules/Linux_3.8.13-19-generic-dbg_x86_64_20130618-155531_moomgc/type_struct_Scsi
_Host.xml line 7450 raised a TypeEvaluatorException at 
src/asttypeevaluator.cpp:2139: Could not resolve member "Scsi_Host.hostdata" at 
:1:43                                         
Error: Rule 7049 (Scsi_Host.hostdata) defined in 
rules/Linux_3.8.13-19-generic-dbg_x86_64_20130618-155531_moomgc/type_struct_Scsi
_Host.xml line 7276 raised a TypeEvaluatorException at 
src/asttypeevaluator.cpp:2139: Could not resolve member "Scsi_Host.hostdata" at 
:1:43    


Original issue reported on code.google.com by [email protected] on 24 Jun 2013 at 1:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant