mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-25 07:15:19 +00:00
cleanup elf and fix #3774
This commit is contained in:
parent
35860ebd5e
commit
0537a72e9b
File diff suppressed because it is too large
Load Diff
@ -81,6 +81,7 @@ struct Elf_(r_bin_elf_obj_t) {
|
||||
|
||||
Elf_(Dyn) *dyn_buf;
|
||||
int dyn_entries;
|
||||
int is_rela;
|
||||
|
||||
RBinImport **imports_by_ord;
|
||||
size_t imports_by_ord_size;
|
||||
|
@ -50,7 +50,7 @@ static int load(RBinFile *arch) {
|
||||
const ut8 *bytes = arch ? r_buf_buffer (arch->buf) : NULL;
|
||||
ut64 sz = arch ? r_buf_size (arch->buf): 0;
|
||||
if (!arch || !arch->o) return false;
|
||||
arch->o->bin_obj = load_bytes (arch, bytes, sz,
|
||||
arch->o->bin_obj = load_bytes (arch, bytes, sz,
|
||||
arch->o->loadaddr, arch->sdb);
|
||||
return arch->o->bin_obj != NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user