Utility catalogue
Paths and files
pathchk
Check portable pathname components
Open3,000 seeds
Proof brief
- Invocation
pathchk -p NAME- Input domain
- Use a single relative pathname with nonempty slash-separated components and no NUL. Pass -- before the operand when invoking the GNU binary.
- Proof obligation
- Exit 0 exactly when all component bytes are portable and the total pathname and component lengths meet the portable limits. Otherwise return nonzero, without changing files.
- Test cases
- Length boundaries, spaces, non-ASCII bytes, and punctuation.
- Outside this profile
- Host-specific path limits, empty components, absolute paths, and diagnostic wording.
Subtasks and prerequisites
Read obligations JSONThis target needs root.io (proved).
Task bundle
Read bundle JSONA formal Rocq statement has yet to be published for this profile.
This target has no verifier yet. Add targets/pathchk/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/pathchk/verify.sh.
GitHub submissions
See the review queueView GitHub pull requests for the current status.