Pārlūkot izejas kodu

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 3 gadi atpakaļ
vecāks
revīzija
6c8f1e62db
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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;
         }
     });