File tree Expand file tree Collapse file tree 3 files changed +441
-436
lines changed
src/drivers/general/queries/AnnotationSyntax Expand file tree Collapse file tree 3 files changed +441
-436
lines changed Original file line number Diff line number Diff line change 4646 </example >
4747 <semmleNotes >
4848 <p >
49- TODO notes
5049 </p >
5150 </semmleNotes >
5251 <references >
Original file line number Diff line number Diff line change 2121import cpp
2222import drivers.libraries.SAL
2323
24- from SALAnnotation sa , SALParameter sp
24+ from SALAnnotation sa
2525where
2626 // restoreIRQLGlobal was not on the whole function
27- // saveIRQLGlobalL was not on the whole function
27+ // saveIRQLGlobal was not on the whole function
2828 (
2929 sa .toString ( ) .matches ( "%restoresIRQLGlobal%" ) or //restoreIRQLGlobal //__drv_restoresIRQLGlobal //_IRQL_restores_global_
3030 sa .toString ( ) .matches ( "%_IRQL_saves_global_%" ) or //restoreIRQLGlobal //__drv_restoresIRQLGlobal //_IRQL_restores_global_
3131 sa .toString ( ) .matches ( "%savesIRQLGlobal%" ) or //saveIRQLGlobal //__drv_savesIRQLGlobal //_IRQL_saves_global_
3232 sa .toString ( ) .matches ( "%_IRQL_restores_global_%" )
3333 ) and
34- sp .getAnnotation ( ) = sa
34+ exists ( SALParameter sp | sp .getAnnotation ( ) = sa )
3535 or
3636 (
3737 sa .toString ( ) .matches ( "%_When_%" ) or
You can’t perform that action at this time.
0 commit comments