For this deconstruction, we will be researching fib.so
, a hand-rolled sBPF assembly program that calculates the fibonacci number based upon a u8
input.
The structure of an sBPF program has 4 sections:
The starting point of the file, describing the overall file format, target environment, and offsets for program and section headers.
Define the memory segments and their attributes (readable, writable, executable) for runtime execution.