The memory map and sizes of various things are in libsa/memory.h.