LibELF: Ignore unknown dynamic tags instead of asserting

Some programs (like wine) add custom dynamic tags to their binaries
that are used internally by them, so we can just ignore them.
This commit is contained in:
Idan Horowitz 2021-12-17 00:39:11 +02:00 committed by Brian Gianforcaro
parent 7b24fc6fb8
commit 6c8f1e62db
Notes: sideshowbarker 2024-07-17 22:23:44 +09:00

View file

@ -167,7 +167,6 @@ void DynamicObject::parse()
break;
default:
dbgln("DynamicObject: DYNAMIC tag handling not implemented for DT_{} ({})", name_for_dtag(entry.tag()), entry.tag());
VERIFY_NOT_REACHED(); // FIXME: Maybe just break out here and return false?
break;
}
});