@@ -40,9 +40,7 @@ class DateStructModifiedFieldAccess extends LeapYearFieldAccess {
4040 */
4141class SafeTimeGatheringFunction extends Function {
4242 SafeTimeGatheringFunction ( ) {
43- this .getQualifiedName ( ) = "GetFileTime" or
44- this .getQualifiedName ( ) = "GetSystemTime" or
45- this .getQualifiedName ( ) = "NtQuerySystemTime"
43+ this .getQualifiedName ( ) = [ "GetFileTime" , "GetSystemTime" , "NtQuerySystemTime" ]
4644 }
4745}
4846
@@ -51,15 +49,11 @@ class SafeTimeGatheringFunction extends Function {
5149 */
5250class TimeConversionFunction extends Function {
5351 TimeConversionFunction ( ) {
54- this .getQualifiedName ( ) = "FileTimeToSystemTime" or
55- this .getQualifiedName ( ) = "SystemTimeToFileTime" or
56- this .getQualifiedName ( ) = "SystemTimeToTzSpecificLocalTime" or
57- this .getQualifiedName ( ) = "SystemTimeToTzSpecificLocalTimeEx" or
58- this .getQualifiedName ( ) = "TzSpecificLocalTimeToSystemTime" or
59- this .getQualifiedName ( ) = "TzSpecificLocalTimeToSystemTimeEx" or
60- this .getQualifiedName ( ) = "RtlLocalTimeToSystemTime" or
61- this .getQualifiedName ( ) = "RtlTimeToSecondsSince1970" or
62- this .getQualifiedName ( ) = "_mkgmtime"
52+ this .getQualifiedName ( ) =
53+ [ "FileTimeToSystemTime" , "SystemTimeToFileTime" , "SystemTimeToTzSpecificLocalTime" ,
54+ "SystemTimeToTzSpecificLocalTimeEx" , "TzSpecificLocalTimeToSystemTime" ,
55+ "TzSpecificLocalTimeToSystemTimeEx" , "RtlLocalTimeToSystemTime" ,
56+ "RtlTimeToSecondsSince1970" , "_mkgmtime" ]
6357 }
6458}
6559
0 commit comments