Home
last modified time | relevance | path

Searched refs:bfdParams (Results 1 – 1 of 1) sorted by relevance

/external/honggfuzz/linux/
Dbfd.c59 static bool arch_bfdInit(pid_t pid, bfd_t* bfdParams) { in arch_bfdInit() argument
62 if ((bfdParams->bfdh = bfd_openr(fname, 0)) == NULL) { in arch_bfdInit()
67 if (!bfd_check_format(bfdParams->bfdh, bfd_object)) { in arch_bfdInit()
72 int storage_needed = bfd_get_symtab_upper_bound(bfdParams->bfdh); in arch_bfdInit()
78 bfdParams->syms = (asymbol**)util_Malloc(storage_needed); in arch_bfdInit()
79 bfd_canonicalize_symtab(bfdParams->bfdh, bfdParams->syms); in arch_bfdInit()
81 if ((bfdParams->section = bfd_get_section_by_name(bfdParams->bfdh, ".text")) == NULL) { in arch_bfdInit()
89 static void arch_bfdDestroy(bfd_t* bfdParams) { in arch_bfdDestroy() argument
90 if (bfdParams->syms) { in arch_bfdDestroy()
91 free(bfdParams->syms); in arch_bfdDestroy()
[all …]