~/talk

Bluff your way in x64 assembler

Talkat ACCU 2017 · 2017-04-24..04-29· [c-and-cpp]
name:Roger Orr
links:none on file
slides:none on file

Quick practical guide to reading x64: common instructions are mostly mov, lea, call and test so learning 20 covers 90–95% and the top three cover ~50–60%; Linux passes six args in registers while Windows reserves four stack slots for debugging; use Compiler Explorer to inspect optimizations, force a function pointer via volatile to prevent inlining, and spot tail-call elimination. Look for leaq used as arithmetic instead of multiplies, rely on .eh_frame or PDATA unwind info and tools like libunwind or RtlVirtualUnwind to walk stacks.

AI-written summary · about

  1. 0:00Bluff your way in x64 assembler
  2. 2:19Where does assembler fit in?
  3. 8:18x86 introduction
  4. 17:15Don't Panic!!
  5. 18:01The stack frame
  6. 19:45The ideal stack frame
  7. 22:17A real (Linux) stack frame
  8. 25:38A real (Windows) stack frame
  9. 31:01Top three instructions
  10. 32:41Two different dialects
  11. 35:10mov addressing
  12. 37:23Other popular instructions
  13. 42:33Assembler from source
  14. 44:34Assembler from binary
  15. 58:23Compiler Explorer - locally
~/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.