Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic metadata on chunks & extracted files #327

Closed
martonilles opened this issue Apr 5, 2022 · 0 comments · Fixed by #357
Closed

Basic metadata on chunks & extracted files #327

martonilles opened this issue Apr 5, 2022 · 0 comments · Fixed by #357
Assignees

Comments

@martonilles
Copy link
Contributor

As limited meta-data report, we want to report on chunks & extracted files to represent the layers of a firmware image.
We need to represent the relationship between files & chunks, but do not need details like file permission/owner, additional details from chunks etc. Those can be added later in #16.

Our goal is to export the following as a first milestone:

FilesystemObject

  • parent (Chunk, null for root)
  • children (list of Chunk, could be zero)
  • path
  • type (File, Directory, Device, Symlink etc.)
  • size
  • file magic (if available)

Chunk

  • parent (File)
  • children (list of Files, could be zero)
  • start/end offset
  • length
  • type (handler)

Include any extraction/processing error.
Store the result in a json (or similar machine readable file, which can be later extended with additional meta-data)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants