ソースを参照

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