Skip to main content

Module session

Module session 

Source
Expand description

ChiselSession

This module contains the ChiselSession struct, which is the top-level wrapper for a serializable REPL session.

Structs§

ChiselSession
A Chisel REPL Session

Functions§

validate_session_id 🔒
Rejects a session id that would let chisel-<id>.json escape the cache directory when concatenated into a path (e.g. ../../etc/cron.d/evil, which yields the literal path component chisel-.., followed by a real .. component once the id itself contains a /). Also rejects : to prevent targeting Windows Alternate Data Streams (ADS).