~/talk

Random Testing of a Higher-Order Blockchain Language (Experience Report)

Talkat ICFP 2022 · 2022-09-11..09-16· [testing]
links:none on file
links:none on file
slides:none on file

Integrates QuickChick on Coq with an OCaml implementation of a higher‑order smart‑contract language and builds a semantic harness by turning the monadic reference interpreter into a state‑collection trace reporter. Implements generators for well‑typed System F fragments using type‑sigma instantiation and frequency control. Finds ~11 confirmed bugs across interpreter, cost model and compiler, with 7 of 10 bugs new and one control‑flow analysis case that makes the compiler take cubic time, causing denial‑of‑service. OCaml reference interpreter

AI-written summary · about

  1. 0:00Intro
  2. 0:47Getting Your Code on a Blockchain
  3. 1:48Using Your Code on a Blockchain
  4. 3:11Static Semantics Bug
  5. 4:52Cost Semantics Bug
  6. 6:23A Compiler Exploit
  7. 6:40Scenario 3: A Replicated Compiler Exploit
  8. 7:15Language-Layer Bugs
  9. 9:35Property-Based Testing
  10. 9:59Testing Language Properties
  11. 12:17Generating System F Terms
  12. 13:58Testing Control- and Type-Flow Analysis in Scilla Compiler
  13. 14:43Monadic Interpreters to the Rescue
  14. 16:38Type Variable Shadowing Bug (#2)
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.