Przeglądaj źródła

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 lat temu
rodzic
commit
6c8f1e62db
1 zmienionych plików z 0 dodań i 1 usunięć
  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;
         }
     });