^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #include <dwarf.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #include <elfutils/libdw.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #include <elfutils/version.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) int main(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Dwarf *dbg = dwarf_begin(0, DWARF_C_READ);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) return (long)dbg;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) }