Name Description Size
certificatecheck.cpp Checks to see if a file stored at filePath matches the specified info. @param filePath The PE file path to check @param infoToMatch The acceptable information to match @return ERROR_SUCCESS if successful, ERROR_NOT_FOUND if the info does not match, or the last error otherwise. 7923
certificatecheck.h 691
commonupdatedir.cpp This file does not use many of the features Firefox provides such as nsAString and nsIFile because code in this file will be included not only in Firefox, but also in the Mozilla Maintenance Service, the Mozilla Maintenance Service installer, and TestAUSHelper. 71433
commonupdatedir.h 1274
moz.build 1835
pathhash.cpp Converts a binary sequence into a hex string @param hash The binary data sequence @param hashSize The size of the binary data sequence @param hexString A buffer to store the hex string, must be of size 2 * @hashSize 3898
pathhash.h Converts a file path into a unique registry location for cert storage @param filePath The input file path to get a registry path from @param registryPath A buffer to write the registry path to, must be of size in WCHARs MAX_PATH + 1 @return TRUE if successful 716
readstrings.cpp Find a key in a keyList containing zero-delimited keys ending with "\0\0". Returns a zero-based index of the key in the list, or -1 if the key is not found. 10673
readstrings.h This function reads in localized strings from updater.ini 3028
registrycertificates.cpp Verifies if the file path matches any certificate stored in the registry. @param filePath The file path of the application to check if allowed. @param allowFallbackKeySkip when this is TRUE the fallback registry key will be used to skip the certificate check. This is the default since the fallback registry key is located under HKEY_LOCAL_MACHINE which can't be written to by a low integrity process. Note: the maintenance service binary can be used to perform this check for testing or troubleshooting. @return TRUE if the binary matches any of the allowed certificates. 5610
registrycertificates.h 512
uachelper.cpp Opens a user token for the given session ID @param sessionID The session ID for the token to obtain @return A handle to the token to obtain which will be primary if enough permissions exist. Caller should close the handle. 6695
uachelper.h 734
updatecommon.cpp Determine if a path contains symlinks or junctions to disallowed locations @param fullPath The full path to check. @return true if the path contains invalid links or on errors, false if the check passes and the path can be used 14455
updatecommon.h 1166
updatedefines.h 4235
updatehelper.cpp Obtains the path of a file in the same directory as the specified file. @param destinationBuffer A buffer of size MAX_PATH + 1 to store the result. @param siblingFilePath The path of another file in the same directory @param newFileName The filename of another file in the same directory @return TRUE if successful 23555
updatehelper.h 1746
updatererrors.h 4280
updateutils_win.cpp Note: The reason that these functions are separated from those in updatehelper.h/updatehelper.cpp is that those functions are strictly used within the updater, whereas changing functions in updateutils_win will have effects reaching beyond application update. 4935
updateutils_win.h Note: The reason that these functions are separated from those in updatehelper.h/updatehelper.cpp is that those functions are strictly used within the updater, whereas changing functions in updateutils_win will have effects reaching beyond application update. 1333