Skip to content

Let the GUI open a raw disk image - #170

Merged
abrignoni merged 1 commit into
mainfrom
feat/gui-raw-input
Aug 30, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/gui-raw-input

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

The GUI picks the input type from the file extension, so a raw image selected there arrived as img or bin, matched no branch in crunch_artifacts, and produced an empty report rather than an error.

Two changes, both in vleappGUI.py, 17 lines:

  • the conventional raw image extensions (img, bin, dd, raw) map onto the raw input type
  • the file picker offers them, so an image can be selected at all

The seeker dispatch is shared with vleapp.py, so nothing else was needed. An image named anything else is still reachable from the command line with -t raw.

The GUI decides the input type from the file extension, so a raw image picked
there arrived as 'img' or 'bin', which matches no branch in crunch_artifacts. The
run then produced a report with nothing in it rather than an error, which reads as
though the image held no data.

Two changes, both in vleappGUI.py. The conventional raw image extensions map onto
the raw input type, and the file picker offers them so an image can be selected at
all. The seeker dispatch is shared with vleapp.py, so nothing else was needed.

An image named something else is still reachable from the command line with -t raw.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit 00c76f5 into main Aug 30, 2026
7 checks passed
@abrignoni
abrignoni deleted the feat/gui-raw-input branch August 30, 2026 22:42
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 this pull request may close these issues.

1 participant