Following my question about manually generating a core dump file, I decided to dive into it and get my hands dirty.
I am able to build the basic core dump structure
Can someone give me directions on how is structured the Notes section?
The notes section is a concatenation of variable-sized note records. Each note record begins with ElfW(Nhdr)
structure, followed by (variable sized) name (of length .n_namesz
, padded so total size of name on disk is divisible by 4) and data (of length .n_descsz
, similarly padded).