[PATCH] D44225: Fix identification of COFF executable files

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 7 13:38:11 PST 2018


rnk added a comment.

Does anyone know why we bother with the "PE\0\0" validation instead of just relying on the "MZ" magic check? File magic checks are supposed to be heuristic anyway.


https://reviews.llvm.org/D44225





More information about the llvm-commits mailing list