Add App Inventory module for parsing-coverage analysis#1680
Merged
Conversation
…y in LAVA Three new artifacts write machine-readable coverage data into _lava_artifacts.db so batch tooling can diff installed apps against what the tooling parsed: - extractionInfo: LEAPP version, input path/name, extraction type, iOS version and device identifiers (data_ark.plist, iTunes Info.plist) - installedAppInventory: one row per app container (bundle/data/group/ plugin) with bundle ID, container path and UUID, from applicationState.db and container metadata plists - appFileInventory (lava_only): every file in the extraction with size, modified time and the app container it belongs to, enumerated from the seeker listings without extracting anything
The inventory artifacts are meant for developer tooling (batch-leapp coverage analysis), not the main user base. Moved the module to scripts/alternate_artifacts/, which is only loaded when the CLI is run with --custom_artifacts_path scripts/alternate_artifacts. The GUI and default CLI runs are unaffected (598 plugins as before; 601 with the flag). Added a README documenting usage.
This was referenced Jul 8, 2026
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.
Summary
Adds
scripts/alternate_artifacts/appInventory.py— three developer-only artifacts that write machine-readable coverage data into the LAVA SQLite output (_lava_artifacts.db), so downstream tooling (batch-leapp) can determine which installed apps were NOT parsed by iLEAPP. Artifact-level only; no core/framework changes.Not part of normal runs. The module lives in
scripts/alternate_artifacts/, which is only loaded with the existing CLI option:The GUI and default CLI runs are unaffected (598 plugins load as before; 601 with the flag).
Artifacts
paths: None, always runs when loaded): LEAPP name/version, input path/name, extraction type, report folder, iOS version, device name/time zone (data_ark.plist) and iTunes backup Info.plist identifiers. Fills the gap that device identifiers were previously HTML-only.compatibilityInfoblobs +.com.apple.mobile_container_manager.metadata.plistfiles. Bundle containers matched with[Cc]ontainerssince they live under lowercase/private/var/containers/on device.lava_onlydue to size): every file in the extraction with size and modified time, mapped to its app container (GUID→bundle map for FFS; AppDomain prefixes for iTunes backups). Enumerates the seeker's existing listings (zip/tar central directory, dir walk, iTunes manifest) — no extraction/copying.Modified Time is stored as text, not LAVA datetime: zip archives carry zone-less DOS timestamps, so UTC coercion would be wrong. Tar/dir/iTunes values are UTC.
Testing
PYTHONPATH=. pylint --disable=C,R→ 10.00