Name Description Size Coverage
DynamicBlocklist.h 10186 78 %
DynamicBlocklistWriter.cpp 4043 72 %
ModuleEvaluator.cpp static 7909 83 %
ModuleEvaluator.h This class performs trustworthiness evaluation for incoming DLLs. 1265 -
ModuleVersionInfo.cpp Gets a string value from a version info block with the specified translation and field name. @param aBlock [in] The binary version resource block @param aTranslation [in] The translation ID as obtained in the version translation list. @param aFieldName [in] Null-terminated name of the desired field @param aResult [out] Receives the string value, if successful. @return true if successful. aResult is unchanged upon failure. 4265 96 %
ModuleVersionInfo.h 1893 100 %
moz.build 914 -
mozglue 77 %
tests 80 %
UntrustedModulesData.cpp 14273 86 %
UntrustedModulesData.h The set of modules a child process wants trust information for. The child asks about each distinct module once per batch, identifying it by a duplicate of the handle the loader opened the module's file with, taken by the DLL blocklist's NtCreateSection hook. 17166 14 %
UntrustedModulesProcessor.cpp Gets the path of the file that aFile refers to, in the form that aFlags selects (see GetFinalPathNameByHandleW). 40671 63 %
UntrustedModulesProcessor.h Decides whether a file handle a child process sent us is one we should evaluate and, if so, derives the module's path from it. We require the handle to refer to a file, on a local disk, that is not low-integrity. The requirements reconstruct, on the parent side, the limits the sandbox mitigations MITIGATION_IMAGE_LOAD_NO_REMOTE and MITIGATION_IMAGE_LOAD_NO_LOW_LABEL enforce, since the file handle can be obtained even if the child process isn't permitted to load it as a module. Declared here so that gtest can exercise it directly. Nothing outside of the UntrustedModules implementation and tests should call it. 7354 60 %
WinDllServices.cpp static 3992 85 %
WinDllServices.h 1642 100 %