~/talk

sub0 Asia 2024 - Martin Hloska (HydraDX)

Talkat sub0 Asia 2024 · 2024-03-12..03-13· [testing, security]
links:none on file
slides:none on file

Uses Ziggy + AFL++/hongfuzz to fuzz Substrate runtimes and shares concrete hacks: a snapshot tool seeds a realistic Omni-pool state, special input bytes choose origin/skip blocks, and helpers constrain asset IDs so fuzzing reaches relevant paths. Adds invariant checks in runtime (and a try-runtime hook) to catch logic errors; a deliberately introduced rounding bug in the Omni-pool yields 11 crashes in ~10 minutes and a coverage report that pinpoints unreached pallet branches.

AI-written summary · about

  1. 0:00Introduction
  2. 0:41What is fuzzing
  3. 3:11Substrate runtime fuzzing with Ziggy
  4. 7:12How fuzzing works
  5. 10:48Initial state setup
  6. 12:11Ziggy fuzzer details
  7. 17:33Optimizing with structured inputs
  8. 19:47Live demo setup
  9. 21:33OmniPool rounding issue
  10. 25:13Defining fuzzing invariants
  11. 27:01Adding runtime assertions
  12. 28:07try-runtime hooks for invariants
  13. 29:33Running fuzzer and crash detection
  14. 31:01Investigating Ziggy crashes
  15. 33:05Coverage reports
~/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.