Proofline

`not-pe.tar.gz` has both invalid `MZ` bytes and an out-of-range PE offset.

khan-dev-labs/cli#1Reviewed commit 9a007f2

Warning · Test quality

`Must-Throw` accepts the offset rejection even if the `MZ` check is removed.

Impact

The offline validator test would still pass if the installer stopped checking `MZ` magic.

Recommended action

Change only the `MZ` bytes in the otherwise valid fixture and assert the specific `MZ` rejection.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed