mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-24 23:06:36 +00:00
Fix missing exported symbols in ELF ##bin
This commit is contained in:
parent
ebfc39ddee
commit
04dc09cbf3
@ -2962,7 +2962,7 @@ static int Elf_(fix_symbols)(ELFOBJ *bin, int nsym, int type, RBinElfSymbol **sy
|
||||
while (!p->last) {
|
||||
if (p->offset && d->offset == p->offset) {
|
||||
p->in_shdr = true;
|
||||
if (*p->name && strcmp (d->name, p->name)) {
|
||||
if (*p->name && *d->name && (r_str_startswith (d->name, p->name) || r_str_startswith (d->name, "$"))) {
|
||||
strcpy (d->name, p->name);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user