Owee_elf_notesval read_header : Owee_buf.cursor -> headerval read_desc_size :
Owee_buf.cursor ->
expected_owner:string ->
expected_type:int ->
intReads the header and returns the size of the note's descriptor. Raises if the expected_owner or expected_type does not match the header.
val find_notes_section : Owee_elf.section array -> string -> Owee_elf.sectionWrapper around Owee_elf.find_section that checks section type is SHT_NOTE.
module Stapsdt : sig ... endval read_buildid : Owee_buf.t -> Owee_elf.section array -> stringget_buildid buf sections Reads ".note.gnu.build-id" section, checks that the owner is "GNU" and that the type is NT_GNU_BUILD_ID=3 and returns the content. Expects buf to point to the beginning of an elf file.