This commit is contained in:
John Doe
2023-12-08 02:55:12 +00:00
2 changed files with 5 additions and 1 deletions

View File

@@ -6,7 +6,6 @@ OBJECTS=$(SOURCES:.cc=.o)
CFLAGS=-g -O0
INCLUDES=-I/usr/include/elf
LIBS=-lunwind-x86_64 -lunwind -lelf
#-ldwarf -ldw
%.o: %.cc

View File

@@ -8,6 +8,8 @@
#include <sys/utsname.h>
#include <unistd.h>
// #include <dwarf.h>
// #include <elfutils/libdw.h>
// #include <dwarf.h>
// #include <elfutils/libdw.h>
@@ -271,6 +273,9 @@ static void get_all_symbols(std::set<symbol> &ss, symbol_sections_ctx *si,
// }
// } while (dwarf_siblingof(&die, &die) == 0);
// die_offset = next_offset;
// }
// }
// die_offset = next_offset;
// }
// }