Skip to content

Validate each pydisassemble input - #526

Open
dajiaohuang wants to merge 1 commit into
rocky:masterfrom
dajiaohuang:fix/pydisassemble-multiple-files
Open

dajiaohuang wants to merge 1 commit into
rocky:masterfrom
dajiaohuang:fix/pydisassemble-multiple-files

Conversation

@dajiaohuang

Copy link
Copy Markdown

When multiple files are provided, validate each path independently before disassembly. The command currently checks only the first argument, which can send missing paths to the loader or skip valid later inputs.

Added a regression test covering an existing first file followed by a missing second file.

Validation:

  • python -m compileall -q uncompyle6 pytest/test_pydisassemble_cli.py
  • git diff --check

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