~/talk

A Study of Inline Assembly in Solidity Smart Contracts

Talkat OOPSLA 2022 · 2022-12-05..12-10· [security, ethereum]
links:none on file
links:none on file
links:none on file
slides:none on file

A large-scale code audit of 6.8M contracts finds 23% of 6.8M contracts contain inline assembly, typically with up to three fragments per contract and 9–10 instructions per fragment. Only about ~5k unique fragments appear repeatedly across many deployments. Common uses are low-level optimizations, access to opcodes missing from Solidity (e.g., contract existence checks), and library core code written in Yul after 2017. Static analyzers often ignore these fragments (Slither flags them), and many assembler uses are now redundant because the compiler gains equivalent optimizations.

AI-written summary · about

  1. 0:00Inline assembly in Solidity
  2. 1:02Advantages of inline assembly
  3. 3:52Research motivation
  4. 5:38Data collection method
  5. 7:48Inline assembly usage findings
  6. 9:39Assembly in smart contracts
  7. 11:48Assembly adoption trends
  8. 12:53Inline assembly instructions
  9. 15:47Assembly patterns and uses
  10. 16:51Necessary vs unnecessary assembly
  11. 18:16Future research and security
  12. 19:03Q&A 1
  13. 21:31Q&A 2
  14. 24:42Q&A 3
~/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.