test-dwarf.c 197 B

1234567891011
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <dwarf.h>
  3. #include <elfutils/libdw.h>
  4. #include <elfutils/version.h>
  5. int main(void)
  6. {
  7. Dwarf *dbg = dwarf_begin(0, DWARF_C_READ);
  8. return (long)dbg;
  9. }