dwarf_reset_section_bytes(3)

dwarf_reset_section_bytes3

Reset the internal state of a producer instance

Usage

#include <libdwarf.h>

void

dwarf_reset_section_bytes(Dwarf_P_Debug dbg);

Library

library “libdwarf”

Overview

Function dwarf_reset_section_bytes() resets the internal state of a DWARF producer instance, so that the next call to the function dwarf_get_section_bytes(3) will return the byte stream for the first generated section, and the next call to the function dwarf_get_relocation_info(3) will return the first relocation array for the DWARF producer instance.

Argument dbg should reference a DWARF producer instance allocated using dwarf_producer_init(3) or dwarf_producer_init_b(3).

Return values

Function dwarf_reset_section_bytes() has no return value.

Releases

25 releases since FreeBSD 11.0-RELEASE; the text changed 1 time.

  1. 11.0–12.0
  2. 12.1–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.