dump: add API to write elf notes to buffer
the function can be used by write_elf32_notes/write_elf64_notes to write notes to a buffer. If fd_write_vmcore is used, write_elf32_notes/write_elf64_notes will write elf notes to vmcore directly. Instead, if buf_write_note is used, elf notes will be written to opaque->note_buf at first. Signed-off-by:Qiao Nuohan <qiaonuohan@cn.fujitsu.com> Reviewed-by:
Laszlo Ersek <lersek@redhat.com> Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com>
Please register or sign in to comment