Background

Stuff to cover… binary format / elf etc.

The C ABI

Notes on these things.

Function calls

  • stdcall

Data Types

  • Endianess

Derived Types

  • Struct

  • Union

  • Bit-field

FFI-impact

Memory Layout

With the variance presented above, how can C be utilized for specifying memory layout?