Core dump note section

前端 未结 3 1022
逝去的感伤
逝去的感伤 2020-12-31 23:49

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

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-01 00:47

    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).

提交回复
热议问题