mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 17:27:18 +00:00
7 lines
190 B
Clojure
7 lines
190 B
Clojure
# Unmarshal garbage.
|
|
(def v (unmarshal (slurp ((dyn :args) 1)) load-image-dict))
|
|
# Trigger leaks or use after free.
|
|
(gccollect)
|
|
# Attempt to use generated value.
|
|
(marshal v make-image-dict)
|