瀏覽代碼

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 年之前
父節點
當前提交
6c8f1e62db
共有 1 個文件被更改,包括 0 次插入1 次删除
  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;
         }
     });