master
1pub const Header = packed struct {
2 magic: u16,
3 version: u8,
4 flags: u8,
5 hdr_len: u32,
6
7 /// All offsets are in bytes relative to the end of this header
8 func_info_off: u32,
9 func_info_len: u32,
10 line_info_off: u32,
11 line_info_len: u32,
12};
13
14pub const InfoSec = packed struct {
15 sec_name_off: u32,
16 num_info: u32,
17 // TODO: communicate that there is data here
18 //data: [0]u8,
19};