Owee_elf_notes.Stapsdtval iter : Owee_buf.t -> Owee_elf.section array -> f:(t -> unit) -> unititer buf sections ~f applies f to each stapsdt note, in order of appearance in .notes.stapsdt section. Expects buf to point to the beginning of an elf file. Raises Section_not_found if .note.stapsdt section is not found. Raises if .note.stapsdt is found but .stapsdt.base is not. Raises if the owner is not "stapsdt" or the type is not 3 for version 3 of probes. Raises if parsing of notes fails for other reasons.
val find_base_address : Owee_elf.section array -> int64 optionReturns the start address of the .stapsdt.base section in ELF file, or None if the section is not present.
Adjust an address from a note for the prelink effect. actual_base is the start address of the .stapsdt.base section in ELF file, as returned by find_base_address and recorded_base is the address of that section as it appears in the note. They may be different if there is prelink, because prelink does not adjust notes' content for address offsets.