[PATCH] D139184: [LLD][Windows]Feature "checksum" for Windows PE

Qfrost via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 4 03:32:58 PST 2022


Qfrost911 added a comment.

I have reviewed the source code of `imagehlp.CheckSumMappedFile`, which was leaked in nt5src <https://github.com/tongzx/nt5src>, it is indeed rounding up.

And the `oldCheckSum `,  it was preserved in Windows source code also. Although it is useless now, I think it is reserved for future, because it is very easy to add checks internally, so I copied this part of the code.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139184/new/

https://reviews.llvm.org/D139184



More information about the llvm-commits mailing list