mirror of https://github.com/google/oss-fuzz.git
libdwarf: do not call internal functions (#6789)
* libdwarf: do not call internal functions * libdwarf: follow upstream calls
This commit is contained in:
parent
0206e7c501
commit
b32479f00f
|
@ -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) {
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue