mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-30 08:30:53 +00:00
Those whose offset are 0 are skipped to avoid overlapping
This commit is contained in:
parent
ba6dce4d73
commit
64c11b5de8
@ -2638,7 +2638,7 @@ static int Elf_(fix_symbols)(ELFOBJ *bin, int nsym, int type, RBinElfSymbol **sy
|
||||
/* find match in phdr */
|
||||
p = phdr_symbols;
|
||||
while (!p->last) {
|
||||
if (d->offset == p->offset) {
|
||||
if (p->offset && d->offset == p->offset) {
|
||||
p->in_shdr = true;
|
||||
if (*p->name && strcmp (d->name, p->name)) {
|
||||
strcpy (d->name, p->name);
|
||||
|
Loading…
Reference in New Issue
Block a user