Explorar o código

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.
Idan Horowitz %!s(int64=3) %!d(string=hai) anos
pai
achega
6c8f1e62db
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Userland/Libraries/LibELF/DynamicObject.cpp

+ 0 - 1
Userland/Libraries/LibELF/DynamicObject.cpp

@@ -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;
         }
     });