diff --git a/projects/libdwarf/fuzz_init_binary.c b/projects/libdwarf/fuzz_init_binary.c index b155aa51f..6c2b75673 100644 --- a/projects/libdwarf/fuzz_init_binary.c +++ b/projects/libdwarf/fuzz_init_binary.c @@ -43,7 +43,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { Dwarf_Ptr errarg = 0; Dwarf_Handler errhand = 0; Dwarf_Error *errp = NULL; - Dwarf_Debug dbg = _dwarf_get_debug(); + Dwarf_Debug dbg = 0; my_init_fd = open(filename, O_RDONLY); if (my_init_fd != -1) { diff --git a/projects/libdwarf/fuzz_init_path.c b/projects/libdwarf/fuzz_init_path.c index 7049a2b6c..382c1879a 100644 --- a/projects/libdwarf/fuzz_init_path.c +++ b/projects/libdwarf/fuzz_init_path.c @@ -37,7 +37,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { fclose(fp); Dwarf_Ptr errarg = 0; Dwarf_Handler errhand = 0; - Dwarf_Debug dbg = _dwarf_get_debug(); + Dwarf_Debug dbg = 0; Dwarf_Error *errp = NULL; #define MACHO_PATH_LEN 2000 char macho_real_path[2000];