Collect InstalledWindowsProgram installed files #2615 - #2623
Merged
pombredanne merged 6 commits intoAug 5, 2021
Conversation
* Update tests Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
* The root prefix will be passed into get_installed_packages instead of assuming that the root_prefix is always "Files"
* Update win_pe extensions
* Update test files
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
pombredanne
deleted the
2615-installedwindowsprogram-installed-files-paths
branch
August 5, 2021 21:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces more file extensions that can be detected using the WinPE package parser. We also check the registry location
\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstallfor installed programs.populate_installed_fileshas also been updated to include aroot_prefixargument. This argument allows us to set a root directory to the relative package file paths generated bypopulate_installed_files. This helps us in the case when analyzing Windows Docker images because the rootfs for Windows is stored in theFilessubdirectory of the layer directory rather than the layer directory itself.